Пользователь:
anatol1983IP-адрес скрыт
Дата: 05.06.2009 19:45
Re: Подключение Asterisk к OXO
а вот дебаг h323 c *
trixbox1*CLI>
-- Executing [83101@from-internal:1] Macro("SIP/1102-0828dea0", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1102-0828dea0", "AMPUSER=1102") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1102-0828dea0", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1102-0828dea0", "1|Set|REALCALLERIDNUM=1102") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/1102-0828dea0", "AMPUSER=1102") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1102-0828dea0", "AMPUSERCIDNAME=1102") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1102-0828dea0", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1102-0828dea0", "AMPUSERCID=1102") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/1102-0828dea0", "CALLERID(all)="1102" <1102>") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/1102-0828dea0", "REALCALLERIDNUM=1102") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/1102-0828dea0", "1|Set|CHANNEL(language)=ru") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/1102-0828dea0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/1102-0828dea0", "Using CallerID "1102" <1102>") in new stack
-- Executing [83101@from-internal:2] Set("SIP/1102-0828dea0", "_NODEST=") in new stack
-- Executing [83101@from-internal:3] Macro("SIP/1102-0828dea0", "record-enable|1102|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/1102-0828dea0", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/1102-0828dea0", "recordingcheck|20090605-140018|1244196018.4") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090605-140018|1244196018.4: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/1102-0828dea0", "") in new stack
-- Executing [83101@from-internal:4] Macro("SIP/1102-0828dea0", "dialout-trunk|21|3101||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1102-0828dea0", "DIAL_TRUNK=21") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1102-0828dea0", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1102-0828dea0", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1102-0828dea0", "DIAL_NUMBER=3101") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1102-0828dea0", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1102-0828dea0", "OUTBOUND_GROUP=OUT_21") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1102-0828dea0", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1102-0828dea0", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1102-0828dea0", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1102-0828dea0", "outbound-callerid|21") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1102-0828dea0", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1102-0828dea0", "0|Set|REALCALLERIDNUM=1102") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1102-0828dea0", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/1102-0828dea0", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1102-0828dea0", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/1102-0828dea0", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1102-0828dea0", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1102-0828dea0", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1102-0828dea0", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1102-0828dea0", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1102-0828dea0", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1102-0828dea0", "OUTNUM=3101") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1102-0828dea0", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1102-0828dea0", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/1102-0828dea0", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1102-0828dea0", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1102-0828dea0", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1102-0828dea0", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,21)
-- Executing [s@macro-dialout-trunk:21] Set("SIP/1102-0828dea0", "pre_num=AMP:OOH323/") in new stack
-- Executing [s@macro-dialout-trunk:22] Set("SIP/1102-0828dea0", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/1102-0828dea0", "post_num=@10.163.119.248") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1102-0828dea0", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,25)
-- Executing [s@macro-dialout-trunk:25] Set("SIP/1102-0828dea0", "the_num=3101") in new stack
-- Executing [s@macro-dialout-trunk:26] Dial("SIP/1102-0828dea0", "OOH323/3101@10.163.119.248|300|") in new stack
--- ooh323_request - data 3101@10.163.119.248 format 0x4 (ulaw)
--- ooh323_alloc
+++ ooh323_alloc
--- find_peer "10.163.119.248"
comparing with ""
+++ find_peer "10.163.119.248"
--- ooh323_new - 10.163.119.248
+++ h323_new
+++ ooh323_request
--- ooh323_call- 3101@10.163.119.248
--- onNewCallCreated ooh323c_o_2
--- find_call
+++ find_call
+++ ooh323_call
-- Called 3101@10.163.119.248
setting callid number 1102
Outgoing call 10.163.119.248(ooh323c_o_2) - Codec prefs - (ulaw|alaw)
trixbox1Adding capabilities to call(outgoing, ooh323c_o_2)
trixbox1Adding g711 ulaw capability to call(outgoing, ooh323c_o_2)
trixbox1Adding g711 alaw capability to call(outgoing, ooh323c_o_2)
--- configure_local_rtp
+++ configure_local_rtp
+++ onNewCallCreated ooh323c_o_2
--- onAlerting ooh323c_o_2
--- find_call
+++ find_call
+++ onAlerting ooh323c_o_2
-- OOH323/10.163.119.248-a4e7 is ringing
--- setup_rtp_connection
--- find_call
+++ find_call
+++ setup_rtp_connection
--- onCallEstablished ooh323c_o_2
--- find_call
+++ find_call
+++ onCallEstablished ooh323c_o_2
-- OOH323/10.163.119.248-a4e7 answered SIP/1102-0828dea0
----- ooh323_indicate 20 on call ooh323c_o_2
++++ ooh323_indicate 20 on ooh323c_o_2
--- close_rtp_connection
--- find_call
+++ find_call
+++ close_rtp_connection
--- onCallCleared ooh323c_o_2
--- find_call
+++ find_call
--- ooh323_hangup
hanging 10.163.119.248
+++ ooh323_hangup
== Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/1102-0828dea0' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/1102-0828dea0'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/1102-0828dea0", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/1102-0828dea0", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/1102-0828dea0", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/1102-0828dea0", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/1102-0828dea0", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/1102-0828dea0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/1102-0828dea0", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1102-0828dea0' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1102-0828dea0'
--- ooh323_destroy
Destroying 10.163.119.248
+++ ooh323_destroy
trixbox1*CLI>