Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
3rd Party CNAM Lookup Integration
Author Message
tranquilnet
Brekeke Talented


Joined: 18 May 2010
Posts: 54
Location: San Diego, CA

PostPosted: Wed Nov 24, 2010 12:59 am    Post subject: 3rd Party CNAM Lookup Integration Reply with quote

1. Brekeke Product Name and version:

Brekeke PBX, Version 2.4.3.9 , Multi-Tenant

2. Java version:

N/A

3. OS type and the version:

Windows 2008 R2 Server


4. UA (phone), gateway or other hardware/software involved:

N/A

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :

Pattern 9

6. Your problem:

I would like to integrate a 3rd party vendors CNAM lookup services. What this does it match a caller's Name to the callers Number and then injects that callers name into the SIP Header for the call.

I am not an expert in this field but I have been told that the following 3 options are available to integrate these services into our Brekeke PBX/SIP Server:

1) SIP subscribe/notify
2) SIP invite/response
3) CNAM query for ENUM

My question is:

1) Does the Brekeke PBX/SIP server support these methods?
2) If so, which option above would you recommend to use?
3) Can you provide more information on how I would configure/modify Brekeke to integrate this CNAM lookup service into our Brekeke PBX/SIP system?

Thanks,

-Will

_________________
------
William Traenkle
www.tranquilnet.com
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Wed Nov 24, 2010 3:41 pm    Post subject: Reply with quote

You need to use $webget or $soapget in DialPlan for using CNAM.

Here is a sample DialPlan rule.

Matching Patterns
$request = ^INVITE
$geturi( From ) = (.+)
"%1" = sip:(.+)@
$webget("http://CNAM-lookup.com/number=%2") = (.+)
Deploy Patterns
From = "%3" <%1>
$replaceuri.from = true


Use the HTTP URI which provided from your CNAM vendor in the above sample.
Note $webget and $soapget are available only in Advanced Edition.
Back to top
View user's profile
tranquilnet
Brekeke Talented


Joined: 18 May 2010
Posts: 54
Location: San Diego, CA

PostPosted: Thu Nov 25, 2010 3:37 pm    Post subject: Reply with quote

Thanks for the info! Is there a list of these "special" variables documented anywhere?

Thanks,

-Will

_________________
------
William Traenkle
www.tranquilnet.com
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Mon Nov 29, 2010 11:28 am    Post subject: Reply with quote

http://www.brekeke-sip.com/download/bss/v2_x/bss_admin_en.pdf
page 64..
Back to top
View user's profile
tranquilnet
Brekeke Talented


Joined: 18 May 2010
Posts: 54
Location: San Diego, CA

PostPosted: Fri Dec 03, 2010 6:37 pm    Post subject: Reply with quote

Thanks!
_________________
------
William Traenkle
www.tranquilnet.com
Back to top
View user's profile
tranquilnet
Brekeke Talented


Joined: 18 May 2010
Posts: 54
Location: San Diego, CA

PostPosted: Wed Dec 22, 2010 12:07 pm    Post subject: Reply with quote

I have not gotten around to testing this yet. I will keep you posted. Thanks!
_________________
------
William Traenkle
www.tranquilnet.com
Back to top
View user's profile
TIDS
Brekeke Newbie


Joined: 16 Apr 2011
Posts: 1

PostPosted: Sat Apr 23, 2011 8:56 am    Post subject: CNAM Reply with quote

We offer an API for this that is plug and go...


$webget("http://api.tirs.us/1/simple/?apikey=your-API-key-here")
= (.+)


(Make sure there are no line breaks, of course.)

_________________
www.tirs.us
Back to top
View user's profile Send e-mail
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Tue Apr 26, 2011 10:16 am    Post subject: Reply with quote

TIDS,
it seems cool.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1