[Freeswitch-users] Call thru external gate released before INVITE (NORMAL_UNSPECIFIED)

Oz Mortimer omortimer at gmail.com
Wed Jul 15 12:49:57 MSD 2015


Should be 

originate {ignore_early_media=true}sofia/gateway/sipnet.ru/919262417024 <mailto:919262417024 at sipnet.ru> &bridge(sofia/gateway/sipnet.ru/00294539100)

You seem to be doubling up the signet.ru by having as a gateway then  again @sipnet.ru <http://sipnet.ru/> - either is valid but both at the same time is wrong.
After the destination number you had % - not sure why, but wouldn’t have thought it should be there.
Additionally you are using 2 different number formats (with and without 00 prefix) - I would check with provider what format you should be sending.



> On 15 Jul 2015, at 08:27, Dmitry Mordovin <dm at dwide.com> wrote:
> 
> Sergey, Peter,
> 
> originate {ignore_early_media=true}sofia/gateway/sipnet.ru/919262417024 at sipnet.ru <mailto:919262417024 at sipnet.ru> &bridge(sofia/internal/00294539100%)
> 
> If i change like this - call established fine, but fail if first call to internal 00294539100
> 
> New trace
> 
> 
> 2015-07-15 11:17:57.115208 [NOTICE] switch_channel.c:1075 New Channel sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> [4c3ee575-4f0f-4ebd-b4ec-0e5357469690]
> 2015-07-15 11:17:57.115208 [DEBUG] mod_sofia.c:4701 (sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru>) State Change CS_NEW -> CS_INIT
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_session.c:1396 Send signal sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> [BREAK]
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_state_machine.c:472 (sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru>) Running State Change CS_INIT
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_state_machine.c:512 (sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru>) State INIT
> 2015-07-15 11:17:57.115208 [DEBUG] mod_sofia.c:87 sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> SOFIA INIT
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
> 2015-07-15 11:17:57.115208 [DEBUG] sofia_glue.c:1236 sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> sending invite version: 1.5.15b git acdb1ca 2015-05-17 18:45:52Z 32bit
> Local SDP:
> v=0
> o=FreeSWITCH 1436923599 1436923600 IN IP4 194.87.7.17
> s=FreeSWITCH
> c=IN IP4 194.87.7.17
> t=0 0
> m=audio 21078 RTP/AVP 9 0 8 3 101 13
> a=rtpmap:9 G722/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:3 GSM/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=ptime:20
> a=sendrecv
> m=video 20298 RTP/AVP 103
> a=rtpmap:103 VP8/90000
> 
> nua.c:633 nua_invite() nua: nua_invite: entering
> nua_stack.c:529 nua_signal() nua(0xb6d54b10): sent signal r_invite
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_state_machine.c:40 sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> Standard INIT
> nua_stack.c:569 nua_stack_signal() nua(0xb6d54b10): recv signal r_invite
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_state_machine.c:48 (sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru>) State Change CS_INIT -> CS_ROUTING
> soa.c:280 soa_clone() soa_clone(static::0x8a45980, 0x8a547e8, 0xb6d54b10) called
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_session.c:1396 Send signal sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> [BREAK]
> soa.c:403 soa_set_params() soa_set_params(static::0x8a4cbb0, ...) called
> soa.c:403 soa_set_params() soa_set_params(static::0x8a4cbb0, ...) called
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_state_machine.c:512 (sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru>) State INIT going to sleep
> soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x8a4cbb0, (nil), 0xb6d831a4, -1) called
> soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x8a4cbb0, (nil), 0xb6d831a4, -1) called
> nua_stack.c:271 nua_stack_event() nua(0xb6d54b10): event r_invite 900 Internal error at nua_client.c:552
> nua_session.c:4139 signal_call_state_change() nua(0xb6d54b10): call state changed: init -> terminated
> nua_stack.c:271 nua_stack_event() nua(0xb6d54b10): event i_state 900 Internal error at nua_client.c:552
> nua_stack.c:271 nua_stack_event() nua(0xb6d54b10): event i_terminated 900 Internal error at nua_client.c:552
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_session.c:1061 Send signal sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> [BREAK]
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_session.c:1061 Send signal sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> [BREAK]
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_state_machine.c:472 (sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru>) Running State Change CS_ROUTING
> 2015-07-15 11:17:57.115208 [DEBUG] switch_core_session.c:1061 Send signal sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> [BREAK]
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> 2015-07-15 11:17:57.115208 [DEBUG] sofia.c:6627 Channel sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> entering state [terminated][900]
> 2015-07-15 11:17:57.115208 [NOTICE] sofia.c:7543 Hangup sofia/external/919262417024 at sipnet.ru <mailto:sofia/external/919262417024 at sipnet.ru> [CS_ROUTING] [NORMAL_UNSPECIFIED]
> 
> 
> 
> 
> On 07/15/2015 11:14 AM, Sergey Safarov wrote:
>> What is "voip_provider"?
>> Please enable
>> 1) sofia global siptrace on
>> 2) sofia loglevel all 9
>> 
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: 
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150715/7cbf1bb4/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list