Hello
I've got problem with creating call between two mobile phones. In freeswitch console mode I'm writting something like this:
originate
sofia/gateway/voipdiscount.com/0048xxxxxxxxx1@sip.voipdiscount.com
&bridge(
sofia/gateway/voipdiscount.com/0048xxxxxxxx2@sip.voipdiscount.com
)
Console output:
2008-05-15 15:55:25 [NOTICE] switch_channel.c:531 switch_channel_set_name() New Channel
sofia/outbound/0048xxxxxx@sip.voipdiscount.com
[91e866c4-2286-11dd-b71a-d1af1d3a3d85]
2008-05-15 15:55:26 [NOTICE] switch_channel.c:1380 switch_channel_perform_mark_pre_answered() Ring-Ready
sofia/outbound/004833xxxxxx@sip.voipdiscount.com
!
2008-05-15 15:55:26 [NOTICE] sofia_glue.c:1758 sofia_glue_tech_media() Pre-Answer
sofia/outbound/0048xxxxxxx@sip.voipdiscount.com
!
API CALL [originate(
sofia/gateway/voipdiscount.com/0048xxxxxx@sip.voipdiscount.com
&bridge(
sofia/gateway/voipdiscount.com/0048yyyyy@sip.voipdiscount.com
))] output:
+OK 91e866c4-2286-11dd-b71a-d1af1d3a3d85
2008-05-15 15:55:26 [NOTICE] switch_channel.c:531 switch_channel_set_name() New Channel
sofia/outbound/0048yyyyy@sip.voipdiscount.com
[9279a044-2286-11dd-b71a-d1af1d3a3d85]
freeswitch@m9
> 2008-05-15 15:55:27 [NOTICE] switch_channel.c:1380 switch_channel_perform_mark_pre_answered() Ring-Ready
sofia/outbound/0048yyyyyy@sip.voipdiscount.com
!
2008-05-15 15:55:27 [NOTICE] sofia_glue.c:1758 sofia_glue_tech_media() Pre-Answer
sofia/outbound/0048yyyyy@sip.voipdiscount.com
!
2008-05-15 15:55:32 [NOTICE] sofia.c:1894 sofia_handle_sip_i_state() Channel [sofia/outbound/0048xxxxx@sip.voipdiscount.com] has been answered
2008-05-15 15:55:32 [NOTICE] sofia.c:1898 sofia_handle_sip_i_state() Channel [sofia/outbound/0048yyyyyy@sip.voipdiscount.com] has been answered
2008-05-15 15:55:39 [NOTICE] sofia.c:1992 sofia_handle_sip_i_state() Hangup
sofia/outbound/0048yyyyy@sip.voipdiscount.com
[CS_LOOPBACK] [NORMAL_CLEARING]
2008-05-15 15:55:39 [NOTICE] switch_core_state_machine.c:156 switch_core_standard_on_execute() Hangup
sofia/outbound/0048xxxxxx@sip.voipdiscount.com
[CS_EXECUTE] [NORMAL_CLEARING]
2008-05-15 15:55:39 [NOTICE] switch_core_session.c:748 switch_core_session_thread() Session 4 (
sofia/outbound/0048yyyyyyy@sip.voipdiscount.com
) Ended
2008-05-15 15:55:39 [NOTICE] switch_core_session.c:750 switch_core_session_thread() Close Channel
sofia/outbound/0048yyyyyy@sip.voipdiscount.com
[CS_HANGUP]
2008-05-15 15:55:39 [NOTICE] switch_core_session.c:748 switch_core_session_thread() Session 3 (
sofia/outbound/0048xxxxxx@sip.voipdiscount.com
) Ended
2008-05-15 15:55:39 [NOTICE] switch_core_session.c:750 switch_core_session_thread() Close Channel
sofia/outbound/0048xxxxxxx@sip.voipdiscount.com
[CS_HANGUP]
After receive calls I speake to one phone but in the second I hear nothing (silence).
When I try to take a call from local account evertyhing was ok:
originate sofia/default/1001%192.168.2.113 &bridge(
sofia/gateway/voipdiscount.com/0048xxxxxxxx2@sip.voipdiscount.com
)
Where is the problem. Can anyone help me ?
Thanks