[asterisk-users] Call forward at telco

Gunnar Schaller linux at nowin.de
Sun Aug 12 06:17:32 CDT 2007


Hello Gordon,

Thursday, August 9, 2007, 4:39:44 PM, you wrote:

> This doesn't work?

>    exten => _*21*X.,1,Dial(Zap/1/*21*${EXTEN:4})

> Then you can dial

>    *21*destination#


No that doesn't work. You can't dial this number. You have to send
special "facility keypads" to telco switch. Normal dialing would
signalling as "called number", not as "facility keypads".

pri debug span with "called number" (5 here):
4 < Protocol Discriminator: Q.931 (8)  len=8
4 < Call Ref: len= 1 (reference 4/0x4) (Originator)
4 < Message type: INFORMATION (123)
4 < [70 02 81 35]
4 < Called Number (len= 4) [ Ext: 1  TON: Unknown Number Type (0)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '5' ]
4 -- Processing IE 112 (cs0, Called Party Number)

pri debug span with "facility keypad" (a * in this case):
4 < Protocol Discriminator: Q.931 (8)  len=7
4 < Call Ref: len= 1 (reference 1/0x1) (Originator)
4 < Message type: INFORMATION (123)
4 < [2c 01 2a]
4 < Keypad Facility (len= 1) [ *DÏÈN ]
4 -- Processing IE 44 (cs0, Keypad Facility)

ZapSendKeypadFacility in Asterisk 1.4 does this IN a call. But I do
not have a call. I have to pick up the line and send the information.
After # at the and a voice is telling me "service activated" or "try
again".


Gunnar




More information about the asterisk-users mailing list