Brekeke SIP Server Wiki

CNAM lookup

Dial Plan for using CNAM Lookup

 

The following dial plan will get caller sipID and send it to CNAM lookup
then set returned value from CNAM in From header as callerID

----------------------------------------------------------
[Matching Patterns]
$request = ^INVITE
$geturi( From ) = (.+)
"%1" = sip:(.+)@
$webget("http://CNAM-lookup.com/number=%2") = (.+)

[Deploy Patterns]
From = "%3" <%1>
$replaceuri.from = true
----------------------------------------------------------
Note:

$webget method is available in the Advanced Edition only.

 

Related link:
Yes No
Suggest Edit