Post by m***@o2.plhttp://img300.imageshack.us/my.php?image=outboundroutesvn2.jpg
0X. ma byc jescze kropka po X. Domyslnie 9| oznaczlo ze miales dzwonic
9numer wiec nie 06027514 itd tylko 906027514. Zmiana na 0X. spowoduje
ze dzwoniac 06027514... wyjdziesz normalnie "na miasto"
Kurcze ten mój asterisk chyba jest jakiś "inny" dodałem brakującą
kropkę, jednak dalej nie mogę wyjść na miasto otrzymuję wciąż
informacje "all services are busy now...", sprawdziłem co teraz
pokazuje verbose, tym razem wyrzuca znacznie więcej. Poniżej to co
otrzymałem z verbose
-- Executing [***@from-internal:1] Macro("SIP/
200-0a00cd88", "user-callerid|SKIPTTL|") in new stack
-- Executing [***@macro-user-callerid:1] NoOp("SIP/200-0a00cd88",
"user-callerid: device 200") in new stack
-- Executing [***@macro-user-callerid:2] Set("SIP/200-0a00cd88",
"AMPUSER=200") in new stack
-- Executing [***@macro-user-callerid:3] GotoIf("SIP/200-0a00cd88",
"0?report") in new stack
-- Executing [***@macro-user-callerid:4] ExecIf("SIP/200-0a00cd88",
"1|Set|REALCALLERIDNUM=200") in new stack
-- Executing [***@macro-user-callerid:5] NoOp("SIP/200-0a00cd88",
"REALCALLERIDNUM is 200") in new stack
-- Executing [***@macro-user-callerid:6] Set("SIP/200-0a00cd88",
"AMPUSER=200") in new stack
-- Executing [***@macro-user-callerid:7] Set("SIP/200-0a00cd88",
"AMPUSERCIDNAME=testy2a") in new stack
-- Executing [***@macro-user-callerid:8] GotoIf("SIP/200-0a00cd88",
"0?report") in new stack
-- Executing [***@macro-user-callerid:9] Set("SIP/200-0a00cd88",
"AMPUSERCID=200") in new stack
-- Executing [***@macro-user-callerid:10] Set("SIP/200-0a00cd88",
"CALLERID(all)="testy2a" <200>") in new stack
-- Executing [***@macro-user-callerid:11] Set("SIP/200-0a00cd88",
"REALCALLERIDNUM=200") in new stack
-- Executing [***@macro-user-callerid:12] ExecIf("SIP/200-0a00cd88",
"0|Set|CHANNEL(language)=") in new stack
-- Executing [***@macro-user-callerid:13] NoOp("SIP/200-0a00cd88",
"TTL: ARG1: SKIPTTL") in new stack
-- Executing [***@macro-user-callerid:14] GotoIf("SIP/200-0a00cd88",
"1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [***@macro-user-callerid:23] NoOp("SIP/200-0a00cd88",
"Using CallerID "testy2a" <200>") in new stack
-- Executing [***@from-internal:2] Set("SIP/200-0a00cd88",
"_NODEST=") in new stack
-- Executing [***@from-internal:3] Macro("SIP/
200-0a00cd88", "record-enable|200|OUT|") in new stack
-- Executing [***@macro-record-enable:1] GotoIf("SIP/200-0a00cd88",
"0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [***@macro-record-enable:4] AGI("SIP/200-0a00cd88",
"recordingcheck|20081129-215549|1227992149.8") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20081129-215549|1227992149.8: Outbound recording not
enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [***@macro-record-enable:5] NoOp("SIP/200-0a00cd88",
"No recording needed") in new stack
-- Executing [***@from-internal:4] Macro("SIP/
200-0a00cd88", "dialout-trunk|2|0602751445||") in new stack
-- Executing [***@macro-dialout-trunk:1] Set("SIP/200-0a00cd88",
"DIAL_TRUNK=2") in new stack
-- Executing [***@macro-dialout-trunk:2] ExecIf("SIP/200-0a00cd88",
"0|Authenticate|") in new stack
-- Executing [***@macro-dialout-trunk:3] GotoIf("SIP/200-0a00cd88",
"0?disabletrunk|1") in new stack
-- Executing [***@macro-dialout-trunk:4] Set("SIP/200-0a00cd88",
"DIAL_NUMBER=0602751445") in new stack
-- Executing [***@macro-dialout-trunk:5] Set("SIP/200-0a00cd88",
"DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [***@macro-dialout-trunk:6] Set("SIP/200-0a00cd88",
"GROUP()=OUT_2") in new stack
-- Executing [***@macro-dialout-trunk:7] GotoIf("SIP/200-0a00cd88",
"1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [***@macro-dialout-trunk:9] GotoIf("SIP/200-0a00cd88",
"0?skipoutcid") in new stack
-- Executing [***@macro-dialout-trunk:10] Set("SIP/200-0a00cd88",
"DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [***@macro-dialout-trunk:11] Macro("SIP/200-0a00cd88",
"outbound-callerid|2") in new stack
-- Executing [***@macro-outbound-callerid:1] GotoIf("SIP/
200-0a00cd88", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [***@macro-outbound-callerid:3] NoOp("SIP/
200-0a00cd88", "REALCALLERIDNUM is 200") in new stack
-- Executing [***@macro-outbound-callerid:4] GotoIf("SIP/
200-0a00cd88", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [***@macro-outbound-callerid:9] Set("SIP/200-0a00cd88",
"USEROUTCID=") in new stack
-- Executing [***@macro-outbound-callerid:10] Set("SIP/
200-0a00cd88", "EMERGENCYCID=") in new stack
-- Executing [***@macro-outbound-callerid:11] Set("SIP/
200-0a00cd88", "TRUNKOUTCID=") in new stack
-- Executing [***@macro-outbound-callerid:12] GotoIf("SIP/
200-0a00cd88", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [***@macro-outbound-callerid:16] GotoIf("SIP/
200-0a00cd88", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing [***@macro-outbound-callerid:18] GotoIf("SIP/
200-0a00cd88", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [***@macro-outbound-callerid:22] NoOp("SIP/
200-0a00cd88", "CallerID set to "testy2a" <200>") in new stack
-- Executing [***@macro-dialout-trunk:12] AGI("SIP/200-0a00cd88",
"fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Using pattern 0X
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [***@macro-dialout-trunk:13] Set("SIP/200-0a00cd88",
"OUTNUM=0602751445") in new stack
-- Executing [***@macro-dialout-trunk:14] Set("SIP/200-0a00cd88",
"custom=SIP/freeconet") in new stack
-- Executing [***@macro-dialout-trunk:15] GotoIf("SIP/200-0a00cd88",
"1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [***@macro-dialout-trunk:17] Macro("SIP/200-0a00cd88",
"dialout-trunk-predial-hook|") in new stack
-- Executing [***@macro-dialout-trunk:18] GotoIf("SIP/200-0a00cd88",
"0?bypass|1") in new stack
-- Executing [***@macro-dialout-trunk:19] GotoIf("SIP/200-0a00cd88",
"0?customtrunk") in new stack
-- Executing [***@macro-dialout-trunk:20] Dial("SIP/200-0a00cd88",
"SIP/freeconet/0602751445|300|") in new stack
-- Called freeconet/0602751445
-- SIP/freeconet-0a02fdb0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [***@macro-dialout-trunk:21] Goto("SIP/200-0a00cd88",
"s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-***@macro-dialout-trunk:1] GotoIf("SIP/
200-0a00cd88", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-***@macro-dialout-trunk:3] NoOp("SIP/
200-0a00cd88", "TRUNK Dial failed due to CONGESTION - failing through
to other trunks") in new stack
-- Executing [***@from-internal:5] Macro("SIP/
200-0a00cd88", "outisbusy|") in new stack
-- Executing [***@macro-outisbusy:1] Playback("SIP/200-0a00cd88",
"all-circuits-busy-now|noanswer") in new stack
-- <SIP/200-0a00cd88> Playing 'all-circuits-busy-now' (language
'en')
-- Executing [***@macro-outisbusy:2] Playback("SIP/200-0a00cd88",
"pls-try-call-later|noanswer") in new stack
-- <SIP/200-0a00cd88> Playing 'pls-try-call-later' (language 'en')
-- Executing [***@macro-outisbusy:3] Macro("SIP/200-0a00cd88",
"hangupcall") in new stack
-- Executing [***@macro-hangupcall:1] ResetCDR("SIP/200-0a00cd88",
"w") in new stack
-- Executing [***@macro-hangupcall:2] NoCDR("SIP/200-0a00cd88", "")
in new stack
-- Executing [***@macro-hangupcall:3] GotoIf("SIP/200-0a00cd88", "1?
skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [***@macro-hangupcall:6] GotoIf("SIP/200-0a00cd88", "1?
skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [***@macro-hangupcall:9] GotoIf("SIP/200-0a00cd88", "1?
theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [***@macro-hangupcall:11] Hangup("SIP/200-0a00cd88",
"") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/
200-0a00cd88' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/
200-0a00cd88' in macro 'outisbusy'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/
200-0a00cd88'
W pewnym momencie czytając to co wyrzuciło verbose natrafiam na
-- SIP/freeconet-0a02fdb0 is circuit-busy
może to wina łącza że nie moge dzwonić, chociaż jak skonfiguruje x-
lite aby komunikował się bezpośrednio z freeconet to dzwoni bez
problemu...