[Freeswitch-users] (no subject)

Adeel Ansari adeel.gnome at gmail.com
Tue Aug 19 22:05:00 PDT 2008


I am running my Java program using dial plan below,

====
      <extension name="Test2" continue="true">
          <condition field="destination_number" expression="^1002$">
              <action application="java"
data="/home/adeel/programs/freeswitch/scripts/freeswitch.jar
net.digitalapps.freeswitch.CallTest"/>
          </condition>
      </extension>
====

Thanks.


On Tue, Aug 19, 2008 at 4:30 PM, Adeel Ansari <adeel.gnome at gmail.com> wrote:

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



-- 
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080820/13f5fb81/attachment-0002.html 


More information about the FreeSWITCH-users mailing list