[Asterisk-Users] Call forwarding
albertoocdc at mundo-r.com
albertoocdc at mundo-r.com
Wed Sep 29 23:40:53 MST 2004
Hi. I´m trying to make call forwarding in Asterisk.
I set it up calling *21*<Extension> (My extension are 4 digits long)
I have this in extensions.conf
[context]
exten => *21*X.,1,DBPut(CFIM/${CALLERIDNUM}=${EXTEN:4})
exten => *21*X.,2,Hangup
exten => _XXXX,1,DBGet(temp=CFIM/${EXTEN})
exten => _XXXX,2,Dial(SIP/${temp},15,tr)
exten => _XXXX,102,Dial(SIP/${EXTEN},15,tr)
I´m making a call like *21*1516 from the 1530 extension
Then when I call 1530 from the 1426 extension, I have:
-- Executing DBget("SIP/1426-ca06", "temp=CFIM/1530") in new stack
-- DBget: varname=temp, family=CFIM, key=1530
-- DBget: set variable temp to 1516
-- Executing NoOp("SIP/1426-ca06", "Marcamos el desvio") in new stack
-- Executing Dial("SIP/1426-ca06", "SIP/1516|15|tr") in new stack Sep 30 08:38:56 NOTICE[1257868208]: app_dial.c:696 dial_exec: Unable to create channel of type 'SIP'
== Everyone is busy/congested at this tim
What am I doing wrong?
Thanks in advance
More information about the asterisk-users
mailing list