[asterisk-users] Newbie trying to make calls outside via digium card and POTS line
Bruce Thayre
bruce at mipscomputation.com
Mon Mar 30 16:16:09 CDT 2009
Hello,
This is my first asterisk installation, and having read up on the
documentation, and trying several tutorials i'm unable to get my
outbound route working. I'm certain it's an issue with my configuration
and my inexperience with asterisk. So i have my POTS phone connected to
my digium card, and when i make a call, I receive the "cannot be
completed as dialed" message. The log for the event in question is:
[Mar 30 10:51:22] VERBOSE[1944] logger.c: -- Starting simple switch
on 'Zap/3-1'
[Mar 30 10:51:30] VERBOSE[1944] logger.c: -- Executing
[18585300400 at from-internal:1] ResetCDR("Zap/3-1", "") in new stack
[Mar 30 10:51:30] VERBOSE[1944] logger.c: -- Executing
[18585300400 at from-internal:2] NoCDR("Zap/3-1", "") in new stack
[Mar 30 10:51:30] VERBOSE[1944] logger.c: -- Executing
[18585300400 at from-internal:3] Wait("Zap/3-1", "1") in new stack
[Mar 30 10:51:31] VERBOSE[1944] logger.c: -- Executing
[18585300400 at from-internal:4] Playback("Zap/3-1",
"silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer")
in new stack
[Mar 30 10:51:31] VERBOSE[1944] logger.c: -- <Zap/3-1> Playing
'silence/1' (language 'en')
[Mar 30 10:51:32] VERBOSE[1944] logger.c: -- <Zap/3-1> Playing
'cannot-complete-as-dialed' (language 'en')
[Mar 30 10:51:34] VERBOSE[1944] logger.c: -- <Zap/3-1> Playing
'check-number-dial-again' (language 'en')
[Mar 30 10:51:37] VERBOSE[1944] logger.c: -- Executing
[18585300400 at from-internal:5] Wait("Zap/3-1", "1") in new stack
[Mar 30 10:51:38] VERBOSE[1944] logger.c: -- Executing
[18585300400 at from-internal:6] Congestion("Zap/3-1", "20") in new stack
[Mar 30 10:51:39] VERBOSE[1944] logger.c: == Spawn extension
(from-internal, 18585300400, 6) exited non-zero on 'Zap/3-1'
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Executing
[h at from-internal:1] Macro("Zap/3-1", "hangupcall") in new stack
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Executing
[s at macro-hangupcall:1] ResetCDR("Zap/3-1", "w") in new stack
[Mar 30 10:51:39] DEBUG[1944] app_macro.c: Executed application: ResetCDR
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Executing
[s at macro-hangupcall:2] NoCDR("Zap/3-1", "") in new stack
[Mar 30 10:51:39] DEBUG[1944] app_macro.c: Executed application: NoCDR
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Executing
[s at macro-hangupcall:3] GotoIf("Zap/3-1", "1?skiprg") in new stack
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Goto (macro-hangupcall,s,6)
[Mar 30 10:51:39] DEBUG[1944] app_macro.c: Executed application: GotoIf
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Executing
[s at macro-hangupcall:6] GotoIf("Zap/3-1", "1?skipblkvm") in new stack
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Goto (macro-hangupcall,s,9)
[Mar 30 10:51:39] DEBUG[1944] app_macro.c: Executed application: GotoIf
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Executing
[s at macro-hangupcall:9] GotoIf("Zap/3-1", "1?theend") in new stack
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Goto
(macro-hangupcall,s,11)
[Mar 30 10:51:39] DEBUG[1944] app_macro.c: Executed application: GotoIf
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Executing
[s at macro-hangupcall:11] Hangup("Zap/3-1", "") in new stack
[Mar 30 10:51:39] VERBOSE[1944] logger.c: == Spawn extension
(macro-hangupcall, s, 11) exited non-zero on 'Zap/3-1' in macro 'hangupcall'
[Mar 30 10:51:39] VERBOSE[1944] logger.c: == Spawn extension
(macro-hangupcall, s, 11) exited non-zero on 'Zap/3-1'
[Mar 30 10:51:39] VERBOSE[1944] logger.c: -- Hungup 'Zap/3-1'
[Mar 30 10:51:43] DEBUG[2857] chan_zap.c: Message status for
4321 at default changed from -1 to 0 on 3
Up to this point, all i have set up are two SIP phones, my POTS phone,
and 1 ring group. My POTS line is connected to channel 1, and my POTS
phone is connected on channel 3. Perhaps my understanding of how the
calls are handled is flawed, but it seems to me that:
1. I dial a number on my POTS phone
2. Using the number, asterisk should match it against the dialing rules
i have set
3. Having matched the number to an outbound dialing rule, it routes the
call to the outside trunk and bingo bango i'm talking on the phone with
someone outside my office
However in this situation, it doesn't seem to work. And lines like
"[18585300400 at from-internal:6] Congestion("Zap/3-1", "20") in new stack"
are a mystery to me. If any additional information is needed just let
me know what, and i'll post it. Any help would be greatly appreciated
as i'm kind of stuck on at this point. Thanks!!!!
More information about the asterisk-users
mailing list