support

Bandwidth.com Incoming Context Update (Asterisk 1.4)

thecleanpc
Posts: 2
Member Since:
2007-01-21

We use bandwidth.com for SIP trunking. Recently we updated to Asterisk 1.4 and had some issues with the extension.conf incoming context we were using to strip the +1 from the DID and Caller ID. The function and variable we were using related to Caller ID were depreciated in version 1.4. I included our context below in-case anyone else needs it.

Also check out my blog on this issue:
http://mark.recek.com/2007/11/24/bandwidthcom-sip-trunk-asterisk-...

NEW "from-bandwidth" context (insert in extensions.conf or extensions_custom.conf):


[from-bandwidth]
exten => _+1.,1,Set(DID=${EXTEN:2})
exten => _+1.,2,Set(CALLERID(num)=${CALLERID(num):2})
exten => _+1.,n,Goto(from-trunk,${DID},1)