[Freeswitch-users] Bridge command with domain, using FS outbound connection API not work [NORMAL_TEMPORARY_FAILURE].

Brian West brian at freeswitch.org
Tue Jul 21 08:03:54 PDT 2009


http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings


"Dialing A Registered User" is what you should refer to

/b



On Jul 21, 2009, at 3:46 AM, Kozak Vladimir wrote:

> Hello,
>
> Problem with bridge command using FS outbound connection API.
> Configuration:
> 1. X-lite: auth/disp/user name: 1001; domain:  
> rantipin.starpoundtech.net;  Register with domain and receive  
> incomming calls: true; proxy: 172.26.200.250:5060
> 2 eyeBeam: auth/disp/user name: 1000; domain:  
> master.agent.rantipin.starpoundtech.net;  Register with domain and  
> receive incomming calls: true; proxy: 172.26.200.250:5060
>
> I start nc -v -l 127.0.0.1 -p 8084
> Make call from eyeBeam, recive connected event.
>
> I execute commands at nc:
> 1.
> sendmsg
> call-command: execute
> execute-app-name: bridge
> execute-app-arg: sofia/internal/1001 at 172.26.200.250
>
> - OK, work.
>
> 2.
> sendmsg
> call-command: execute
> execute-app-name: bridge
> execute-app-arg: sofia/internal/1001 at rantipin.starpoundtech.net
>
> - Not work.
>
> nc response:
>
> Content-Type: command/reply
> Reply-Text: +OK
>
> Content-Type: text/disconnect-notice
> Controlled-Session-UUID: a7e94e62-2c4b-48ba-81c2-019300b420d6
> Content-Disposition: disconnect
>
> FS log:
>
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:706  
> switch_core_session_queue_private_event() Send signal sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  [BREAK]
> 2009-07-21 19:12:24 [DEBUG] switch_ivr.c:540  
> switch_ivr_parse_event() sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  Command Execute bridge(sofia/internal/ 
> 1001 at rantipin.starpoundtech.net)
> 2009-07-21 19:12:24 [NOTICE] switch_channel.c:567  
> switch_channel_set_name() New Channel sofia/internal/1001 at rantipin.starpoundtech.net 
>  [84861d3f-88a5-49c7-82cc-52f7580c44a8]
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:2535  
> sofia_outgoing_channel() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State Change CS_NEW -> CS_INIT
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:820  
> switch_core_session_signal_state_change() Send signal sofia/internal/1001 at rantipin.starpoundtech.net 
>  [BREAK]
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) Running State Change CS_INIT
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:454  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State INIT
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:83 sofia_on_init() sofia/internal/1001 at rantipin.starpoundtech.net 
>  SOFIA INIT
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:111 sofia_on_init() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State Change CS_INIT -> CS_ROUTING
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:820  
> switch_core_session_signal_state_change() Send signal sofia/internal/1001 at rantipin.starpoundtech.net 
>  [BREAK]
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:454  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State INIT going to sleep
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) Running State Change CS_ROUTING
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:457  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State ROUTING
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:130 sofia_on_routing() sofia/internal/1001 at rantipin.starpoundtech.net 
>  SOFIA ROUTING
> 2009-07-21 19:12:24 [DEBUG] switch_ivr_originate.c:63  
> originate_on_routing() (sofia/internal/ 
> 1001 at rantipin.starpoundtech.net) State Change CS_ROUTING ->  
> CS_CONSUME_MEDIA
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:820  
> switch_core_session_signal_state_change() Send signal sofia/internal/1001 at rantipin.starpoundtech.net 
>  [BREAK]
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:457  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State ROUTING going to sleep
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) Running State Change CS_CONSUME_MEDIA
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:476  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State CONSUME_MEDIA
> 2009-07-21 19:12:24 [DEBUG] sofia.c:2728 sofia_handle_sip_i_state()  
> Channel sofia/internal/1001 at rantipin.starpoundtech.net entering  
> state [calling]
> 2009-07-21 19:12:24 [DEBUG] sofia.c:2728 sofia_handle_sip_i_state()  
> Channel sofia/internal/1001 at rantipin.starpoundtech.net entering  
> state [terminated]
> 2009-07-21 19:12:24 [NOTICE] sofia.c:3279 sofia_handle_sip_i_state()  
> Hangup sofia/internal/1001 at rantipin.starpoundtech.net  
> [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
> 2009-07-21 19:12:24 [DEBUG] switch_channel.c:1566  
> switch_channel_perform_hangup() Send signal sofia/internal/1001 at rantipin.starpoundtech.net 
>  [KILL]
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:820  
> switch_core_session_signal_state_change() Send signal sofia/internal/1001 at rantipin.starpoundtech.net 
>  [BREAK]
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:476  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State CONSUME_MEDIA going to sleep
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) Running State Change CS_HANGUP
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:414  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State HANGUP
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:253 sofia_on_hangup() sofia/internal/1001 at rantipin.starpoundtech.net 
>  Overriding SIP cause 503 with 503 from the other leg
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:287 sofia_on_hangup()  
> Channel sofia/internal/1001 at rantipin.starpoundtech.net hanging up,  
> cause: NORMAL_TEMPORARY_FAILURE
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:46  
> switch_core_standard_on_hangup() sofia/internal/1001 at rantipin.starpoundtech.net 
>  Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:414  
> switch_core_session_run() (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) State HANGUP going to sleep
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:952  
> switch_core_session_thread() Session 2 (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) Locked, Waiting on external entities
> 2009-07-21 19:12:24 [DEBUG] switch_ivr_originate.c:2014  
> switch_ivr_originate() Originate Resulted in Error Cause: 41  
> [NORMAL_TEMPORARY_FAILURE]
> 2009-07-21 19:12:24 [INFO] mod_dptools.c:1998  
> audio_bridge_function() Originate Failed.  Cause:  
> NORMAL_TEMPORARY_FAILURE
> 2009-07-21 19:12:24 [NOTICE] mod_dptools.c:2030  
> audio_bridge_function() Hangup sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  [CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE]
> 2009-07-21 19:12:24 [DEBUG] switch_channel.c:1566  
> switch_channel_perform_hangup() Send signal sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  [KILL]
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:820  
> switch_core_session_signal_state_change() Send signal sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  [BREAK]
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:464  
> switch_core_session_run() (sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
> ) State EXECUTE going to sleep
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383  
> switch_core_session_run() (sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
> ) Running State Change CS_HANGUP
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:414  
> switch_core_session_run() (sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
> ) State HANGUP
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:253 sofia_on_hangup() sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  Overriding SIP cause 503 with 503 from the other leg
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:287 sofia_on_hangup()  
> Channel sofia/internal/1000 at master.agent.rantipin.starpoundtech.net  
> hanging up, cause: NORMAL_TEMPORARY_FAILURE
> 2009-07-21 19:12:24 [DEBUG] mod_sofia.c:361 sofia_on_hangup()  
> Responding to INVITE with: 503
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:46  
> switch_core_standard_on_hangup() sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
> 2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:414  
> switch_core_session_run() (sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
> ) State HANGUP going to sleep
> 2009-07-21 19:12:24 [DEBUG] switch_core_session.c:952  
> switch_core_session_thread() Session 1 (sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
> ) Locked, Waiting on external entities
> 2009-07-21 19:12:24 [NOTICE] switch_core_session.c:970  
> switch_core_session_thread() Session 2 (sofia/internal/1001 at rantipin.starpoundtech.net 
> ) Ended
> 2009-07-21 19:12:24 [NOTICE] switch_core_session.c:972  
> switch_core_session_thread() Close Channel sofia/internal/1001 at rantipin.starpoundtech.net 
>  [CS_HANGUP]
> 2009-07-21 19:12:24 [DEBUG] mod_event_socket.c:1979 listener_run()  
> Session complete, waiting for children
> 2009-07-21 19:12:24 [DEBUG] mod_event_socket.c:2012 listener_run()  
> Connection Closed
> 2009-07-21 19:12:24 [NOTICE] switch_core_session.c:970  
> switch_core_session_thread() Session 1 (sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
> ) Ended
> 2009-07-21 19:12:24 [NOTICE] switch_core_session.c:972  
> switch_core_session_thread() Close Channel sofia/internal/1000 at master.agent.rantipin.starpoundtech.net 
>  [CS_HANGUP]
>
> What can be not correct?
> Thank you.
> _______________________________________________
> 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





More information about the FreeSWITCH-users mailing list