Greetings *`s, I am manually creating call files and dropping them into /var/spool/asterisk/outgoing to be picked up by *. Presently, when I use local/internal parameters using SIP it works..ie I make an internal call from device to device. However, when I try dial an outside number which I have set up in a custom conf file, it bombs out with the following message : ============================-- Attempting call on ZAP/4/6007 for 6007@clients:1 (Retry 1) -- Executing Macro("Zap/4-1", "dialout-default|0827751492") in new stack -- Executing GotoIf("Zap/4-1", "1?4") in new stack -- Goto (macro-dialout-default,s,4) -- Executing GotoIf("Zap/4-1", "1?6") in new stack -- Goto (macro-dialout-default,s,6) -- Executing Dial("Zap/4-1", "ZAP/g0/0827751492") in new stack == Everyone is busy/congested at this time -- Executing Macro("Zap/4-1", "outisbusy") in new stack -- Executing Playback("Zap/4-1", "allison7/all-circuits-busy-now") in new stack -- Playing 'allison7/all-circuits-busy-now' (language 'en') -- Executing Playback("Zap/4-1", "allison7/pls-try-call-later") in new stack -- Playing 'allison7/pls-try-call-later' (language 'en') -- Executing Macro("Zap/4-1", "hangupcall") in new stack -- Executing ResetCDR("Zap/4-1", "w") in new stack -- Executing NoCDR("Zap/4-1", "") in new stack -- Executing Wait("Zap/4-1", "5") in new stack -- Executing Hangup("Zap/4-1", "") in new stack ====================== Here is the call file that is getting dropped in /var/spool/asterisk/outgoing : Channel: ZAP/4/6007 MaxRetries: 0 RetryTime: 60 WaitTime: 15 Context: clients Extension: 6007 Priority: 1 And here is how my custom file looks : [clients] exten => _6001,1,Macro(dialout-default,0111111111) exten => _6001,2,Congestion exten => _6002,1,Macro(dialout-default,0112222222) exten => _6002,2,Congestion exten => _6003,1,Macro(dialout-default,0113333333) exten => _6003,2,Congestion exten => _6004,1,Macro(dialout-default,0114444444) exten => _6004,2,Congestion exten => _6005,1,Macro(dialout-default,0115555555) exten => _6005,2,Congestion exten => _6006,1,SetVar(CALLFILENAME=${EXTEN}-${TIMESTAMP}) exten => _6006,2,Monitor(wav,${CALLFILENAME},m) exten => _6006,3,Macro(dialout-default,0893459635) exten => _6006,4,Congestion exten => _6007,1,Macro(dialout-default,0827751492) exten => _6007,2,Congestion I have tried and changed many things in these files but it keeps going straight to telling me that all lines are busy. Any ideas/pointers/links muchly appreciated. -- Chris Blake Cell: 082 775 1492 Work: +27 11 782 0840 Fax : +27 11 782 0841 Mail: chris@pixcel.co.za The late rebellion in Massachusetts has given more alarm than I think it should have done. Calculate that one rebellion in 13 states in the course of 11 years, is but one for each state in a century and a half. No country should be so long without one. -- Thomas Jefferson in letter to James Madison, 20 December 1787
Greetings *`s, I am manually creating call files and dropping them into /var/spool/asterisk/outgoing to be picked up by *. Presently, when I use local/internal parameters using SIP it works..ie I make an internal call from device to device. However, when I try dial an outside number which I have set up in a custom conf file, it bombs out with the following message : ============================-- Attempting call on ZAP/4/6007 for 6007@clients:1 (Retry 1) -- Executing Macro("Zap/4-1", "dialout-default|0827751492") in new stack -- Executing GotoIf("Zap/4-1", "1?4") in new stack -- Goto (macro-dialout-default,s,4) -- Executing GotoIf("Zap/4-1", "1?6") in new stack -- Goto (macro-dialout-default,s,6) -- Executing Dial("Zap/4-1", "ZAP/g0/0827751492") in new stack == Everyone is busy/congested at this time -- Executing Macro("Zap/4-1", "outisbusy") in new stack -- Executing Playback("Zap/4-1", "allison7/all-circuits-busy-now") in new stack -- Playing 'allison7/all-circuits-busy-now' (language 'en') -- Executing Playback("Zap/4-1", "allison7/pls-try-call-later") in new stack -- Playing 'allison7/pls-try-call-later' (language 'en') -- Executing Macro("Zap/4-1", "hangupcall") in new stack -- Executing ResetCDR("Zap/4-1", "w") in new stack -- Executing NoCDR("Zap/4-1", "") in new stack -- Executing Wait("Zap/4-1", "5") in new stack -- Executing Hangup("Zap/4-1", "") in new stack ====================== Here is the call file that is getting dropped in /var/spool/asterisk/outgoing : Channel: ZAP/4/6007 MaxRetries: 0 RetryTime: 60 WaitTime: 15 Context: clients Extension: 6007 Priority: 1 And here is how my custom file looks : [clients] exten => _6001,1,Macro(dialout-default,0111111111) exten => _6001,2,Congestion exten => _6002,1,Macro(dialout-default,0112222222) exten => _6002,2,Congestion exten => _6003,1,Macro(dialout-default,0113333333) exten => _6003,2,Congestion exten => _6004,1,Macro(dialout-default,0114444444) exten => _6004,2,Congestion exten => _6005,1,Macro(dialout-default,0115555555) exten => _6005,2,Congestion exten => _6006,1,SetVar(CALLFILENAME=${EXTEN}-${TIMESTAMP}) exten => _6006,2,Monitor(wav,${CALLFILENAME},m) exten => _6006,3,Macro(dialout-default,0893459635) exten => _6006,4,Congestion exten => _6007,1,Macro(dialout-default,0827751492) exten => _6007,2,Congestion I have tried and changed many things in these files but it keeps going straight to telling me that all lines are busy. Any ideas/pointers/links muchly appreciated. -- Chris Blake Cell: 082 775 1492 Work: +27 11 782 0840 Fax : +27 11 782 0841 Mail: chris@pixcel.co.za The late rebellion in Massachusetts has given more alarm than I think it should have done. Calculate that one rebellion in 13 states in the course of 11 years, is but one for each state in a century and a half. No country should be so long without one. -- Thomas Jefferson in letter to James Madison, 20 December 1787