Asterisk with PABX

Hi everybody,

I’m trying to match my IPBX asterisk with my PEABX alcatel. The extentions.conf file contains the context work and the context trunk which are set like that:

exten => _12xx,1,Set(CALLERID{NUM}=1515)
exten => _12xx,2,Dial(SIP/Alcatel/${EXTEN},20,r,t)
exten => _1XXXX,1,Dial(SIP/${EXTEN},50,rt

In my users.conf file I have:


When I try a call from a softphone (registered in asterisk) to an IP phone (set in the PEABX) the call fails. The debug file has those lines:

Executing [1291@work:1] Set(“SIP/1792-00000002”, “CALLERID{NUM}=1515”) in new stack
Executing [1291@work:2] Dial(“SIP/1792-00000002”, “SIP/Alcatel/1291,20,r,t”) in new stack

I don’t know how to figure it out.

Thank you for you interest.

Alcatel’s can have radically different SIP setups, so I will assume that you have it properly configured as a back to back user agent.

You need to turn up your verbosity, and you may need to enable debugging and SIP debugging. Verbosity should be at least 3.

I don’t think any of these are the actual cause of your problem, but should be addressed.

insecur is mis-spelled and shouldn’t be needed.
nat should not be needed.
canreivnite has been deprecated in favour of directmedia.
type=friend is not needed; type=peer is more secure.
You have the wrong sort of brackets on CALLERID. Also, it is possible that the parameter is case sensitive.
“t” is not a valid URL (Dial parameters)