I have an asterisk server connected to an Alcatel 4400 via an E1 connection.
I can make outbound calls through the Alcatel from SIP extensions connected to Asterisk so I know the link works.
The Alcatel is configured to pass the last four digits of an inbound regional DDI down the E1 trunk to the Asterisk server. Asterisk sees the last four digits of the DDI being passed to it from the Alcatel but then the call drops without ringing the SIP extension.
The numbers are as follows
UK Regional DDI = XXXXXXX5002
Alcatel Presents = 5002
Asterisk Extension = SIP/5002 (Which is a working SIP extension)
Here’s the incoming context I have set up in zapata.conf. I’ve copied the structure from others I’ve read on the forum, but could well have messed it up.
exten => 5002,1,Set(CALLERID(name)=Name)
exten => 5002,2,Set(CALLERID(number)=5002)
exten => 5002,3,Dial(SIP/5002,120,o)
exten => 5002,4,Hangup
Has anyone any suggestions?