Trouble Calling Out

Hi ALl,

I have the following config.

Linux Distro = FC8
Asterisk-1.18.0
Zaptel-1.4.8
FreePBX 2.4.0
Sangoma A102.

Everything installed fine and I could receive call fine, but I can’t call out from the e1 line. My provider does not block outgoing (two ways enabled). I have check and checked my configs several times and nothing seems wrong. When I try dialing out I got hangup with message from Asterisk CLI saying “cause 1”. What does this mean?

Here is a copy of my log file;

[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: GotoIf
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:20] Dial(“SIP/1000-b7b40460”, “ZAP/g0/xxxxxxxxxxx|300|”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Requested transfer capability: 0x00 - SPEECH
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Called g0/xxxxxxxxxxx
[Mar 25 15:31:34] DEBUG[3726] chan_zap.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Zap/1-1 is proceeding passing it to SIP/1000-b7b40460
[Mar 25 15:31:34] DEBUG[3726] chan_zap.c: Queuing frame from PRI_EVENT_PROGRESS on channel 0/1 span 1
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Zap/1-1 is making progress passing it to SIP/1000-b7b40460
[Mar 25 15:31:34] VERBOSE[3726] logger.c: – Channel 0/1, span 1 got hangup request, cause 1
[Mar 25 15:31:34] DEBUG[3966] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/1-1
[Mar 25 15:31:34] DEBUG[3966] chan_zap.c: Not yet hungup… Calling hangup once with icause, and clearing call
[Mar 25 15:31:34] DEBUG[3966] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/1-1
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Hungup ‘Zap/1-1’
[Mar 25 15:31:34] VERBOSE[3966] logger.c: == Everyone is busy/congested at this time (1:0/0/1)
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: Dial
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:21] Goto(“SIP/1000-b7b40460”, “s-CHANUNAVAIL|1”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: Goto
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:1] GotoIf(“SIP/1000-b7b40460”, “1?noreport”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: GotoIf
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:3] NoOp(“SIP/1000-b7b40460”, “TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks”) in new stack
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: Noop
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:5] Macro(“SIP/1000-b7b40460”, “outisbusy|”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:1] Playback(“SIP/1000-b7b40460”, “all-circuits-busy-now|noanswer”) in new stack
[Mar 25 15:31:34] WARNING[3966] file.c: File all-circuits-busy-now does not exist in any format
[Mar 25 15:31:34] WARNING[3966] file.c: Unable to open all-circuits-busy-now (format 0x4 (ulaw)): No such file or directory
[Mar 25 15:31:34] WARNING[3966] app_playback.c: ast_streamfile failed on SIP/1000-b7b40460 for all-circuits-busy-now|noanswer
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: Playback
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:2] Playback(“SIP/1000-b7b40460”, “pls-try-call-later|noanswer”) in new stack
[Mar 25 15:31:34] WARNING[3966] file.c: File pls-try-call-later does not exist in any format
[Mar 25 15:31:34] WARNING[3966] file.c: Unable to open pls-try-call-later (format 0x4 (ulaw)): No such file or directory
[Mar 25 15:31:34] WARNING[3966] app_playback.c: ast_streamfile failed on SIP/1000-b7b40460 for pls-try-call-later|noanswer
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: Playback
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:3] Macro(“SIP/1000-b7b40460”, “hangupcall”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:1] ResetCDR(“SIP/1000-b7b40460”, “w”) in new stack
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: ResetCDR
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:2] NoCDR(“SIP/1000-b7b40460”, “”) in new stack
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: NoCDR
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:3] GotoIf(“SIP/1000-b7b40460”, “1?skiprg”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Goto (macro-hangupcall,s,6)
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: GotoIf
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:6] GotoIf(“SIP/1000-b7b40460”, “1?skipblkvm”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Goto (macro-hangupcall,s,9)
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: GotoIf
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:9] GotoIf(“SIP/1000-b7b40460”, “1?theend”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Goto (macro-hangupcall,s,11)
[Mar 25 15:31:34] DEBUG[3966] app_macro.c: Executed application: GotoIf
[Mar 25 15:31:34] VERBOSE[3966] logger.c: – Executing [[email protected]:11] Hangup(“SIP/1000-b7b40460”, “”) in new stack
[Mar 25 15:31:34] VERBOSE[3966] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1000-b7b40460’ in macro ‘hangupcall’
[Mar 25 15:31:34] VERBOSE[3966] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1000-b7b40460’ in macro ‘outisbusy’
[Mar 25 15:31:34] VERBOSE[3966] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1000-b7b40460’

I use XXXXXXXXXXX as my number for anonymity sake.

Cheers to All.