[Asterisk-Users] Not passing CALLER id on in follow me script
Paul Dracevich
pdracevich at gmail.com
Tue Feb 14 13:28:11 MST 2006
Hello People,
I was wondering if you could take a look at this script,
exten => 505,1,dial(iax2/6311${EXTEN},t,25)
exten => 505,2,playback(pls-wait-connect-call)
exten => 505,3,set(NewCaller=${CALLERID(num)})
exten => 505,4,Set(CALLERID(num)=0${CALLERID(num)})
exten => 505,5,dial(Zap/g1/c/0296389675,20,r)
exten => 505,6,Set(CALLERID(num)=${NewCaller})
exten => 505,7,voicemail(u6311503 at default)
exten => 505,101,voicemail(b6311503 at default)
exten => 505,102,hangup
It looks like it is passing back to the PSTN but it is not showing up as the
correct number I have also copied the log
-- Executing Dial("IAX2/6311503-5", "Zap/g1/6311505") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/6311505
-- Zap/1-1 is proceeding passing it to IAX2/6311503-5
-- Accepting call from '96311503' to '505' on channel 0/2, span 1
-- Executing Dial("Zap/2-1", "iax2/6311505|t|25") in new stack
Feb 13 20:04:51 NOTICE[22962]: app_dial.c:1011 dial_exec_full: Unable to
create channel of type 'iax2'
(cause 3 - No route to destination)
Feb 13 20:04:51 WARNING[22962]: app_dial.c:1144 dial_exec_full: Invalid
timeout specified: 't'
-- Executing Playback("Zap/2-1", "pls-wait-connect-call") in new stack
-- Playing 'pls-wait-connect-call' (language 'nz')
-- Zap/1-1 answered IAX2/6311503-5
-- Executing Set("Zap/2-1", "NewCaller=96311503") in new stack
-- Executing Set("Zap/2-1", "CALLERID(num)=096311503") in new stack
-- Executing Dial("Zap/2-1", "Zap/g1/c/0296389675|20|r") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/c/0296389675
-- Zap/3-1 is proceeding passing it to Zap/2-1
-- Zap/3-1 is making progress passing it to Zap/2-1
HELP PLEASE,
Thanks in advance
Paul Dracevich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060214/44845537/attachment.htm
More information about the asterisk-users
mailing list