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:
[work]
exten => _12xx,1,Set(CALLERID{NUM}=1515)
exten => _12xx,2,Dial(SIP/Alcatel/${EXTEN},20,r,t)
[trunk]
exten => _1XXXX,1,Dial(SIP/${EXTEN},50,rt
In my users.conf file I have:
[Alcatel]
type=friend
host=172.16.100.3
fromdomain=node000000
context=trunk
language=fr
insecur=invite,port
nat=yes
canreinvite=yes
dtmfmode=rfc2833
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.