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/[email protected]

- OK, work.

2.
sendmsg
call-command: execute
execute-app-name: bridge
execute-app-arg: sofia/internal/[email protected]

- 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/[email protected] [BREAK]
2009-07-21 19:12:24 [DEBUG] switch_ivr.c:540 switch_ivr_parse_event() 
sofia/internal/[email protected] Command Execute 
bridge(sofia/internal/[email protected])
2009-07-21 19:12:24 [NOTICE] switch_channel.c:567 switch_channel_set_name() New 
Channel sofia/internal/[email protected] 
[84861d3f-88a5-49c7-82cc-52f7580c44a8]
2009-07-21 19:12:24 [DEBUG] mod_sofia.c:2535 sofia_outgoing_channel() 
(sofia/internal/[email protected]) 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/[email protected] [BREAK]
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383 
switch_core_session_run() (sofia/internal/[email protected]) 
Running State Change CS_INIT
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:454 
switch_core_session_run() (sofia/internal/[email protected]) 
State INIT
2009-07-21 19:12:24 [DEBUG] mod_sofia.c:83 sofia_on_init() 
sofia/internal/[email protected] SOFIA INIT
2009-07-21 19:12:24 [DEBUG] mod_sofia.c:111 sofia_on_init() 
(sofia/internal/[email protected]) 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/[email protected] [BREAK]
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:454 
switch_core_session_run() (sofia/internal/[email protected]) 
State INIT going to sleep
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383 
switch_core_session_run() (sofia/internal/[email protected]) 
Running State Change CS_ROUTING
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:457 
switch_core_session_run() (sofia/internal/[email protected]) 
State ROUTING
2009-07-21 19:12:24 [DEBUG] mod_sofia.c:130 sofia_on_routing() 
sofia/internal/[email protected] SOFIA ROUTING
2009-07-21 19:12:24 [DEBUG] switch_ivr_originate.c:63 originate_on_routing() 
(sofia/internal/[email protected]) 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/[email protected] [BREAK]
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:457 
switch_core_session_run() (sofia/internal/[email protected]) 
State ROUTING going to sleep
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383 
switch_core_session_run() (sofia/internal/[email protected]) 
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/[email protected]) 
State CONSUME_MEDIA
2009-07-21 19:12:24 [DEBUG] sofia.c:2728 sofia_handle_sip_i_state() Channel 
sofia/internal/[email protected] entering state [calling]
2009-07-21 19:12:24 [DEBUG] sofia.c:2728 sofia_handle_sip_i_state() Channel 
sofia/internal/[email protected] entering state [terminated]
2009-07-21 19:12:24 [NOTICE] sofia.c:3279 sofia_handle_sip_i_state() Hangup 
sofia/internal/[email protected] [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/[email protected] [KILL]
2009-07-21 19:12:24 [DEBUG] switch_core_session.c:820 
switch_core_session_signal_state_change() Send signal 
sofia/internal/[email protected] [BREAK]
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:476 
switch_core_session_run() (sofia/internal/[email protected]) 
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/[email protected]) 
Running State Change CS_HANGUP
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:414 
switch_core_session_run() (sofia/internal/[email protected]) 
State HANGUP
2009-07-21 19:12:24 [DEBUG] mod_sofia.c:253 sofia_on_hangup() 
sofia/internal/[email protected] 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/[email protected] 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/[email protected] 
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/[email protected]) 
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/[email protected]) 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/[email protected] [CS_EXECUTE] 
[NORMAL_TEMPORARY_FAILURE]
2009-07-21 19:12:24 [DEBUG] switch_channel.c:1566 
switch_channel_perform_hangup() Send signal 
sofia/internal/[email protected] [KILL]
2009-07-21 19:12:24 [DEBUG] switch_core_session.c:820 
switch_core_session_signal_state_change() Send signal 
sofia/internal/[email protected] [BREAK]
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:464 
switch_core_session_run() 
(sofia/internal/[email protected]) State EXECUTE 
going to sleep
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:383 
switch_core_session_run() 
(sofia/internal/[email protected]) Running State 
Change CS_HANGUP
2009-07-21 19:12:24 [DEBUG] switch_core_state_machine.c:414 
switch_core_session_run() 
(sofia/internal/[email protected]) State HANGUP
2009-07-21 19:12:24 [DEBUG] mod_sofia.c:253 sofia_on_hangup() 
sofia/internal/[email protected] 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/[email protected] 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/[email protected] 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/[email protected]) 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/[email protected]) 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/[email protected]) Ended
2009-07-21 19:12:24 [NOTICE] switch_core_session.c:972 
switch_core_session_thread() Close Channel 
sofia/internal/[email protected] [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/[email protected]) Ended
2009-07-21 19:12:24 [NOTICE] switch_core_session.c:972 
switch_core_session_thread() Close Channel 
sofia/internal/[email protected] [CS_HANGUP]

What can be not correct? 
Thank you.
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to