<div dir="ltr">I am running my Java program using dial plan below,<br><br>====<br> <extension name="Test2" continue="true"><br> <condition field="destination_number" expression="^1002$"><br>
<action application="java" data="/home/adeel/programs/freeswitch/scripts/freeswitch.jar net.digitalapps.freeswitch.CallTest"/><br> </condition><br> </extension><br>
====<br><br>Thanks.<br><br><br><div class="gmail_quote">On Tue, Aug 19, 2008 at 4:30 PM, Adeel Ansari <span dir="ltr"><<a href="mailto:adeel.gnome@gmail.com">adeel.gnome@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br><br>I have made few changes in my program and got the output on the console, as below.<br><br>PROGRAM========<div class="Ih2E3d"><br> session = new JavaSession(uuid);<br><br> newSession1 = new JavaSession();<br>
</div>
newSession2 = new JavaSession();<br><br> int i = session.originate(newSession1, "sofia/gateway/gizmo1/901160176xxxxx");<br> int j = session.originate(newSession2, "sofia/gateway/gizmo1/901160122xxxxx");<br>
<br> freeswitch.console_log("notice", "session i = " + i + "\n");<br> freeswitch.console_log("notice", "session j = " + j + "\n");<br> <br>
newSession1.setHangupHook(this);<br> newSession2.setHangupHook(this);<br><br> freeswitch.bridge(newSession1, newSession2);<br><br>========<br><br><br>OUTPUT===========<br>2008-08-19 16:28:52 [DEBUG] sofia.c:3150 sofia_handle_sip_i_invite() IP <a href="http://192.168.253.101" target="_blank">192.168.253.101</a> Rejected by acl domains. Falling back to Digest auth.<br>
2008-08-19 16:28:52 [DEBUG] sofia.c:3150 sofia_handle_sip_i_invite() IP <a href="http://192.168.253.101" target="_blank">192.168.253.101</a> Rejected by acl domains. Falling back to Digest auth.<br>2008-08-19 16:28:52 [NOTICE] switch_channel.c:535 switch_channel_set_name() New Channel sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> [dacfb350-6dc8-11dd-84f6-f5d393645cf6]<br>
2008-08-19 16:28:52 [DEBUG] sofia.c:3641 sofia_handle_sip_i_invite() Setting NAT mode based on rfc1918<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> Running State Change CS_NEW<br>
2008-08-19 16:28:52 [DEBUG] sofia.c:2145 sofia_handle_sip_i_state() Channel sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> entering state [received]<br>2008-08-19 16:28:52 [DEBUG] sofia.c:2149 sofia_handle_sip_i_state() Remote SDP:<br>
v=0<br>o=twinkle 341685614 1645622953 IN IP4 <a href="http://192.168.253.101" target="_blank">192.168.253.101</a><br>s=-<br>c=IN IP4 <a href="http://192.168.253.101" target="_blank">192.168.253.101</a><br>t=0 0<br>m=audio 8880 RTP/AVP 98 97 96 8 0 3 101<br>
a=rtpmap:98 speex/16000<br>a=rtpmap:97 speex/8000<br>a=rtpmap:96 iLBC/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=ptime:20<br><br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:98:16000]/[G722:9:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:98:16000]/[PCMU:0:8000]<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:98:16000]/[PCMA:8:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:98:16000]/[GSM:3:8000]<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:97:8000]/[G722:9:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:97:8000]/[PCMU:0:8000]<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:97:8000]/[PCMA:8:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [speex:97:8000]/[GSM:3:8000]<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [iLBC:96:8000]/[G722:9:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [iLBC:96:8000]/[PCMU:0:8000]<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [iLBC:96:8000]/[PCMA:8:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [iLBC:96:8000]/[GSM:3:8000]<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [PCMA:8:8000]/[G722:9:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [PCMA:8:8000]/[PCMU:0:8000]<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [PCMA:8:8000]/[PCMA:8:8000]<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:1547 sofia_glue_tech_set_codec() Set Codec sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> PCMA/8000 20 ms 160 samples<br>
2008-08-19 16:28:52 [DEBUG] sofia_glue.c:2260 sofia_glue_negotiate_sdp() Set 2833 dtmf payload to 101<br>2008-08-19 16:28:52 [DEBUG] sofia.c:2286 sofia_handle_sip_i_state() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> State Change CS_NEW -> CS_INIT<br>
2008-08-19 16:28:52 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> [BREAK]<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:369 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State NEW<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> Running State Change CS_INIT<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:415 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State INIT<br>
2008-08-19 16:28:52 [DEBUG] mod_sofia.c:80 sofia_on_init() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> SOFIA INIT<br>2008-08-19 16:28:52 [DEBUG] mod_sofia.c:107 sofia_on_init() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> State Change CS_INIT -> CS_ROUTING<br>
2008-08-19 16:28:52 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> [BREAK]<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:415 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State INIT going to sleep<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> Running State Change CS_ROUTING<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:420 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State ROUTING<br>
2008-08-19 16:28:52 [DEBUG] mod_sofia.c:119 sofia_on_routing() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> SOFIA ROUTING<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:64 switch_core_standard_on_routing() Standard ROUTING sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a><br>
2008-08-19 16:28:52 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing 1001->1002@default<br>2008-08-19 16:28:52 [DEBUG] mod_dialplan_xml.c:107 parse_exten() test conditions destination_number(1002) =~ /^1002$/<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:97 switch_core_standard_on_routing() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> State Change CS_ROUTING -> CS_EXECUTE<br>
2008-08-19 16:28:52 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> [BREAK]<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:420 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State ROUTING going to sleep<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> Running State Change CS_EXECUTE<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:430 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State EXECUTE<br>2008-08-19 16:28:52 [DEBUG] mod_sofia.c:156 sofia_on_execute() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> SOFIA EXECUTE<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:129 switch_core_standard_on_execute() Standard EXECUTE<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:140 switch_core_standard_on_execute() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> Execute java(/home/adeel/programs/freeswitch/scripts/freeswitch.jar net.digitalapps.freeswitch.CallTest)<br>
2008-08-19 16:28:52 [NOTICE] switch_cpp.cpp:1050 console_log()<br><br><br>UUID: dacfb350-6dc8-11dd-84f6-f5d393645cf6 ARGS:<br>2008-08-19 16:28:52 [NOTICE] switch_channel.c:535 switch_channel_set_name() New Channel sofia/external/901160176905074 [dad0b656-6dc8-11dd-84f6-f5d393645cf6]<br>
2008-08-19 16:28:52 [DEBUG] mod_sofia.c:2020 sofia_outgoing_channel() sofia/external/901160176905074 State Change CS_NEW -> CS_INIT<br>2008-08-19 16:28:52 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160176905074 [BREAK]<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160176905074 Running State Change CS_INIT<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:415 switch_core_session_run() (sofia/external/901160176905074) State INIT<br>
2008-08-19 16:28:52 [DEBUG] mod_sofia.c:80 sofia_on_init() sofia/external/901160176905074 SOFIA INIT<br>2008-08-19 16:28:52 [DEBUG] sofia_glue.c:487 sofia_glue_ext_address_lookup() Stun Success [<a href="http://124.82.137.118" target="_blank">124.82.137.118</a>]:[30426]<br>
2008-08-19 16:28:52 [DEBUG] mod_sofia.c:107 sofia_on_init() sofia/external/901160176905074 State Change CS_INIT -> CS_ROUTING<br>2008-08-19 16:28:52 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160176905074 [BREAK]<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:415 switch_core_session_run() (sofia/external/901160176905074) State INIT going to sleep<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160176905074 Running State Change CS_ROUTING<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:420 switch_core_session_run() (sofia/external/901160176905074) State ROUTING<br>2008-08-19 16:28:52 [DEBUG] mod_sofia.c:119 sofia_on_routing() sofia/external/901160176905074 SOFIA ROUTING<br>
2008-08-19 16:28:52 [DEBUG] switch_ivr_originate.c:57 originate_on_routing() sofia/external/901160176905074 State Change CS_ROUTING -> CS_CONSUME_MEDIA<br>2008-08-19 16:28:52 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160176905074 [BREAK]<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:420 switch_core_session_run() (sofia/external/901160176905074) State ROUTING going to sleep<br>2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160176905074 Running State Change CS_CONSUME_MEDIA<br>
2008-08-19 16:28:52 [DEBUG] switch_core_state_machine.c:442 switch_core_session_run() (sofia/external/901160176905074) State CONSUME_MEDIA<br>2008-08-19 16:28:52 [DEBUG] sofia.c:200 sofia_event_callback() event [nua_i_state] status [0][INVITE sent] session: sofia/external/901160176905074<br>
2008-08-19 16:28:52 [DEBUG] sofia.c:2145 sofia_handle_sip_i_state() Channel sofia/external/901160176905074 entering state [calling]<br>2008-08-19 16:28:53 [DEBUG] sofia.c:2145 sofia_handle_sip_i_state() Channel sofia/external/901160176905074 entering state [ready]<br>
2008-08-19 16:28:53 [DEBUG] sofia.c:2149 sofia_handle_sip_i_state() Remote SDP:<br>v=0<br>o=username 0 0 IN IP4 <a href="http://198.65.166.130" target="_blank">198.65.166.130</a><br>s=session<br>c=IN IP4 <a href="http://198.65.166.130" target="_blank">198.65.166.130</a><br>
t=0 0<br>m=audio 1470 RTP/AVP 0<br><br>2008-08-19 16:28:53 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [PCMU:0:8000]/[PCMU:0:8000]<br>2008-08-19 16:28:53 [DEBUG] sofia_glue.c:1547 sofia_glue_tech_set_codec() Set Codec sofia/external/901160176905074 PCMU/8000 20 ms 160 samples<br>
2008-08-19 16:28:53 [DEBUG] sofia_glue.c:1756 sofia_glue_activate_rtp() AUDIO RTP [sofia/external/901160176905074] <a href="http://192.168.253.101" target="_blank">192.168.253.101</a> port 30426 -> <a href="http://198.65.166.130" target="_blank">198.65.166.130</a> port 1470 codec: 0 ms: 20<br>
2008-08-19 16:28:53 [DEBUG] switch_rtp.c:813 switch_rtp_create() Starting timer [soft] 160 bytes per 20000ms<br>2008-08-19 16:28:53 [NOTICE] sofia.c:2507 sofia_handle_sip_i_state() Channel [sofia/external/901160176905074] has been answered<br>
2008-08-19 16:28:53 [DEBUG] switch_ivr_originate.c:1370 switch_ivr_originate() Originate Resulted in Success: [sofia/external/901160176905074]<br>2008-08-19 16:28:53 [DEBUG] switch_cpp.cpp:897 originate() sofia/external/901160176905074 State Change CS_CONSUME_MEDIA -> CS_SOFT_EXECUTE<br>
2008-08-19 16:28:53 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160176905074 [BREAK]<br>2008-08-19 16:28:53 [NOTICE] switch_channel.c:535 switch_channel_set_name() New Channel sofia/external/901160122263828 [db59efca-6dc8-11dd-84f6-f5d393645cf6]<br>
2008-08-19 16:28:53 [DEBUG] mod_sofia.c:2020 sofia_outgoing_channel() sofia/external/901160122263828 State Change CS_NEW -> CS_INIT<br>2008-08-19 16:28:53 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160122263828 [BREAK]<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:442 switch_core_session_run() (sofia/external/901160176905074) State CONSUME_MEDIA going to sleep<br>2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160176905074 Running State Change CS_SOFT_EXECUTE<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:436 switch_core_session_run() (sofia/external/901160176905074) State SOFT_EXECUTE<br>2008-08-19 16:28:53 [DEBUG] mod_sofia.c:371 sofia_on_soft_execute() SOFIA TRANSMIT<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:171 switch_core_standard_on_soft_execute() Standard TRANSMIT<br>2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160122263828 Running State Change CS_INIT<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:415 switch_core_session_run() (sofia/external/901160122263828) State INIT<br>2008-08-19 16:28:53 [DEBUG] mod_sofia.c:80 sofia_on_init() sofia/external/901160122263828 SOFIA INIT<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:436 switch_core_session_run() (sofia/external/901160176905074) State SOFT_EXECUTE going to sleep<br>2008-08-19 16:28:53 [DEBUG] sofia_glue.c:487 sofia_glue_ext_address_lookup() Stun Success [<a href="http://124.82.137.118" target="_blank">124.82.137.118</a>]:[16930]<br>
2008-08-19 16:28:53 [DEBUG] mod_sofia.c:107 sofia_on_init() sofia/external/901160122263828 State Change CS_INIT -> CS_ROUTING<br>2008-08-19 16:28:53 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160122263828 [BREAK]<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:415 switch_core_session_run() (sofia/external/901160122263828) State INIT going to sleep<br>2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160122263828 Running State Change CS_ROUTING<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:420 switch_core_session_run() (sofia/external/901160122263828) State ROUTING<br>2008-08-19 16:28:53 [DEBUG] mod_sofia.c:119 sofia_on_routing() sofia/external/901160122263828 SOFIA ROUTING<br>
2008-08-19 16:28:53 [DEBUG] switch_ivr_originate.c:57 originate_on_routing() sofia/external/901160122263828 State Change CS_ROUTING -> CS_CONSUME_MEDIA<br>2008-08-19 16:28:53 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160122263828 [BREAK]<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:420 switch_core_session_run() (sofia/external/901160122263828) State ROUTING going to sleep<br>2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160122263828 Running State Change CS_CONSUME_MEDIA<br>
2008-08-19 16:28:53 [DEBUG] switch_core_state_machine.c:442 switch_core_session_run() (sofia/external/901160122263828) State CONSUME_MEDIA<br>2008-08-19 16:28:53 [DEBUG] sofia.c:200 sofia_event_callback() event [nua_i_state] status [0][INVITE sent] session: sofia/external/901160122263828<br>
2008-08-19 16:28:53 [DEBUG] sofia.c:2145 sofia_handle_sip_i_state() Channel sofia/external/901160122263828 entering state [calling]<br>2008-08-19 16:28:54 [DEBUG] sofia.c:2145 sofia_handle_sip_i_state() Channel sofia/external/901160122263828 entering state [ready]<br>
2008-08-19 16:28:54 [DEBUG] sofia.c:2149 sofia_handle_sip_i_state() Remote SDP:<br>v=0<br>o=username 0 0 IN IP4 <a href="http://198.65.166.130" target="_blank">198.65.166.130</a><br>s=session<br>c=IN IP4 <a href="http://198.65.166.130" target="_blank">198.65.166.130</a><br>
t=0 0<br>m=audio 1162 RTP/AVP 0<br><br>2008-08-19 16:28:54 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [PCMU:0:8000]/[PCMU:0:8000]<br>2008-08-19 16:28:54 [DEBUG] sofia_glue.c:1547 sofia_glue_tech_set_codec() Set Codec sofia/external/901160122263828 PCMU/8000 20 ms 160 samples<br>
2008-08-19 16:28:54 [DEBUG] sofia_glue.c:1756 sofia_glue_activate_rtp() AUDIO RTP [sofia/external/901160122263828] <a href="http://192.168.253.101" target="_blank">192.168.253.101</a> port 16930 -> <a href="http://198.65.166.130" target="_blank">198.65.166.130</a> port 1162 codec: 0 ms: 20<br>
2008-08-19 16:28:54 [DEBUG] switch_rtp.c:813 switch_rtp_create() Starting timer [soft] 160 bytes per 20000ms<br>2008-08-19 16:28:54 [NOTICE] sofia.c:2507 sofia_handle_sip_i_state() Channel [sofia/external/901160122263828] has been answered<br>
2008-08-19 16:28:54 [DEBUG] switch_ivr_originate.c:1370 switch_ivr_originate() Originate Resulted in Success: [sofia/external/901160122263828]<br>2008-08-19 16:28:54 [DEBUG] switch_cpp.cpp:897 originate() sofia/external/901160122263828 State Change CS_CONSUME_MEDIA -> CS_SOFT_EXECUTE<br>
2008-08-19 16:28:54 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160122263828 [BREAK]<br>2008-08-19 16:28:54 [NOTICE] switch_cpp.cpp:1050 console_log() session i = 0<br>
2008-08-19 16:28:54 [NOTICE] switch_cpp.cpp:1050 console_log() session j = 0<br>2008-08-19 16:28:54 [ERR] switch_cpp.cpp:1018 setHangupHook() session is not initalized<br>2008-08-19 16:28:54 [ERR] switch_cpp.cpp:1018 setHangupHook() session is not initalized<br>
2008-08-19 16:28:54 [DEBUG] switch_cpp.cpp:1061 bridge() bridge called, session_a uuid: uninitialized<br>2008-08-19 16:28:54 [ERR] switch_cpp.cpp:1090 bridge() Channels not ready<br>2008-08-19 16:28:54 [DEBUG] switch_cpp.cpp:462 ~CoreSession() CoreSession::~CoreSession desctructor<br>
2008-08-19 16:28:54 [NOTICE] switch_core_state_machine.c:157 switch_core_standard_on_execute() Hangup sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
2008-08-19 16:28:54 [DEBUG] switch_channel.c:1362 switch_channel_perform_hangup() Kill sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> [KILL]<br>
2008-08-19 16:28:54 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> [BREAK]<br>2008-08-19 16:28:54 [DEBUG] switch_core_state_machine.c:430 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State EXECUTE going to sleep<br>
2008-08-19 16:28:54 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> Running State Change CS_HANGUP<br>2008-08-19 16:28:54 [DEBUG] switch_core_state_machine.c:393 switch_core_session_run() (sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a>) State HANGUP<br>
2008-08-19 16:28:54 [DEBUG] mod_sofia.c:264 sofia_on_hangup() Channel sofia/internal/<a href="mailto:1001@192.168.253.101" target="_blank">1001@192.168.253.101</a> hanging up, cause: NORMAL_CLEARING <br>
===========<br><br>Any help would be appreciated. Thanks.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Tue, Aug 19, 2008 at 1:09 PM, Adeel Ansari <span dir="ltr"><<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Last one in the debug mode.<br><br>=====<br>2008-08-19 13:06:24 [DEBUG] sofia_glue.c:2297 sofia_glue_negotiate_sdp() Audio Codec Compare [PCMU:0:8000]/[PCMU:0:8000]<br>
2008-08-19 13:06:24 [DEBUG] sofia_glue.c:1547 sofia_glue_tech_set_codec() Set Codec sofia/external/901160176905074 PCMU/8000 20 ms 160 samples<br>
2008-08-19 13:06:24 [DEBUG] sofia_glue.c:1756 sofia_glue_activate_rtp() AUDIO RTP [sofia/external/901160176905074] <a href="http://192.168.253.101" target="_blank">192.168.253.101</a> port 18618 -> <a href="http://198.65.166.130" target="_blank">198.65.166.130</a> port 1634 codec: 0 ms: 20<br>
2008-08-19 13:06:24 [DEBUG] switch_rtp.c:813 switch_rtp_create() Starting timer [soft] 160 bytes per 20000ms<br>2008-08-19 13:06:24 [NOTICE] sofia.c:2507 sofia_handle_sip_i_state() Channel [sofia/external/901160176905074] has been answered<div>
<br>
#<br># An unexpected error has been detected by HotSpot Virtual Machine:<br>#<br></div># SIGSEGV (0xb) at pc=0x00007f3f32985390, pid=6173, tid=1128761680<div><br>#<br># Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_15-b04 mixed mode)<br>
# Problematic frame:<br># C [libfreeswitch.so.1+0x4c390] switch_core_session_get_read_codec+0x0<br>#<br></div># An error report file with more information is saved as hs_err_pid6173.log<br>2008-08-19 13:06:24 [DEBUG] switch_ivr_originate.c:1370 switch_ivr_originate() Originate Resulted in Success: [sofia/external/901160176905074]<br>
2008-08-19 13:06:24 [DEBUG] switch_cpp.cpp:897 originate() sofia/external/901160176905074 State Change CS_CONSUME_MEDIA -> CS_SOFT_EXECUTE<br>2008-08-19 13:06:24 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/901160176905074 [BREAK]<br>
2008-08-19 13:06:24 [DEBUG] switch_core_state_machine.c:442 switch_core_session_run() (sofia/external/901160176905074) State CONSUME_MEDIA going to sleep<br>2008-08-19 13:06:24 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/901160176905074 Running State Change CS_SOFT_EXECUTE<br>
2008-08-19 13:06:24 [DEBUG] switch_core_state_machine.c:436 switch_core_session_run() (sofia/external/901160176905074) State SOFT_EXECUTE<br>2008-08-19 13:06:24 [DEBUG] mod_sofia.c:371 sofia_on_soft_execute() SOFIA TRANSMIT<br>
2008-08-19 13:06:24 [DEBUG] switch_core_state_machine.c:171 switch_core_standard_on_soft_execute() Standard TRANSMIT<br>2008-08-19 13:06:24 [DEBUG] switch_core_state_machine.c:436 switch_core_session_run() (sofia/external/901160176905074) State SOFT_EXECUTE going to sleep<div>
<br>
#<br># If you would like to submit a bug report, please visit:<br># <a href="http://java.sun.com/webapps/bugreport/crash.jsp" target="_blank">http://java.sun.com/webapps/bugreport/crash.jsp</a><br>#<br>Aborted (core dumped)<br>
</div>=====<br>
<br>Thank you very much.<div><div></div><div><br><br><br><div class="gmail_quote">On Tue, Aug 19, 2008 at 1:00 PM, Adeel Ansari <span dir="ltr"><<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Will get back to you with dial plan and debug info. Right now, just look at this, seems everything fine and then program crashed. What say you?<br><br>====<br>UUID: 9ea3d9b4-6dab-11dd-9cdb-73a450c2b215 ARGS:<br>
2008-08-19 12:59:36 [NOTICE] switch_channel.c:535 switch_channel_set_name() New Channel sofia/external/901160176905074 [9eadce7e-6dab-11dd-9cdb-73a450c2b215]<br>2008-08-19 12:59:37 [NOTICE] sofia.c:2507 sofia_handle_sip_i_state() Channel [sofia/external/901160176905074] has been answered<br>
#<br># An unexpected error has been detected by HotSpot Virtual Machine:<br>#<br># SIGSEGV (0xb) at pc=0x00007f17a48c0390, pid=6089, tid=1105852752<br>#<br># Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_15-b04 mixed mode)<br>
# Problematic frame:<br># C [libfreeswitch.so.1+0x4c390] switch_core_session_get_read_codec+0x0<br>#<br># An error report file with more information is saved as hs_err_pid6089.log<br>#<br># If you would like to submit a bug report, please visit:<br>
# <a href="http://java.sun.com/webapps/bugreport/crash.jsp" target="_blank">http://java.sun.com/webapps/bugreport/crash.jsp</a><br>#<br>Aborted (core dumped)<br>====<br><br>I just added '9' before the actual number, I was trying. We are using same, '9', in other SIP Server, so I got to remember.<br>
<br>Thanks.<div><div></div><div><br><br><br><div class="gmail_quote">On Tue, Aug 19, 2008 at 12:54 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
show me the dialplan and press F8 for debug log.<br>
<font color="#888888"><br>
/b<br>
</font><div><br>
On Aug 18, 2008, at 11:52 PM, Adeel Ansari wrote:<br>
<br>
> Sound.<br>
> Now the code looks like,<br>
<br>
<br>
</div><div><div></div><div>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari">http://www.linkedin.com/in/adeelansari</a><br>
</div>