[Freeswitch-users] DESTINATION_OUT_OF_ORDER calls to mobile and fixed line not working

vidhya sagar dixit vids.cs at gmail.com
Sat Nov 5 08:33:45 MSK 2016


Hi Michael,

Thank you for replying , can you please explain what I am doing wrong and
how can I fix it.

Thanks and Regards
Vidhya Sagar Dixit


On Fri, Nov 4, 2016 at 8:10 PM, Michael Jerris <mike at jerris.com> wrote:

>
> On Nov 3, 2016, at 12:19 AM, vidhya sagar dixit <vids.cs at gmail.com> wrote:
>
> Hi Guys,
>
> I am using FreeSWITCH (Version 1.6.12  64bit) I am able to register sip
> softphone  and able to make peer to peer calls without any problem.
>
> But I am not able to dial any mobile or fixed line number.
>
> External gateway is showing registered. Any help will be highly
> appreciated.
>
> Following is the log i get in cli :
>
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_codec.c:111 sofia/internal/
> 3000 at 5.250.179.173:5090 Original read codec set to GSM:3
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_media.c:4572 Set
> telephone-event payload to 101 at 8000
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_media.c:4631 sofia/internal/
> 3000 at 5.250.179.173:5090 Set 2833 dtmf send payload to 101 recv payload to
> 101
> 2016-11-03 05:56:54.995540 [DEBUG] sofia.c:7364 (sofia/internal/
> 3000 at 5.250.179.173:5090) State Change CS_NEW -> CS_INIT
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/3000 at 5.250.179.173:5090) Running State Change CS_INIT
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:627
> (sofia/internal/3000 at 5.250.179.173:5090) State INIT
> 2016-11-03 05:56:54.995540 [DEBUG] mod_sofia.c:90 sofia/internal/
> 3000 at 5.250.179.173:5090 SOFIA INIT
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:40
> sofia/internal/3000 at 5.250.179.173:5090 Standard INIT
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:48
> (sofia/internal/3000 at 5.250.179.173:5090) State Change CS_INIT ->
> CS_ROUTING
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:627
> (sofia/internal/3000 at 5.250.179.173:5090) State INIT going to sleep
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/3000 at 5.250.179.173:5090) Running State Change CS_ROUTING
> 2016-11-03 05:56:54.995540 [DEBUG] switch_channel.c:2249 (sofia/internal/
> 3000 at 5.250.179.173:5090) Callstate Change DOWN -> RINGING
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:643
> (sofia/internal/3000 at 5.250.179.173:5090) State ROUTING
> 2016-11-03 05:56:54.995540 [DEBUG] mod_sofia.c:143 sofia/internal/
> 3000 at 5.250.179.173:5090 SOFIA ROUTING
> 2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:236
> sofia/internal/3000 at 5.250.179.173:5090 Standard ROUTING
> 2016-11-03 05:56:54.995540 [INFO] mod_dialplan_xml.c:637 Processing 3000
> <3000>->00919971931166 in context 5.250.179.173
> 2016-11-03 05:56:55.015522 [DEBUG] freeswitch_lua.cpp:365 DBH handle
> 0x7f0cc4041120 Connected.
> 2016-11-03 05:56:55.255553 [DEBUG] freeswitch_lua.cpp:382 DBH handle
> 0x7f0cc4041120 released.
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 parsing
> [5.250.179.173->gateway1.00d1220] continue=false
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 Regex (FAIL)
> [gateway1.00d1220] destination_number(00919971931166) =~
> /00^(\d{12,20})$/ break=on-false
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 parsing
> [5.250.179.173->gateway1.00d1220] continue=false
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 Regex (PASS)
> [gateway1.00d1220] destination_number(00919971931166) =~ /^(\d{12,20})$/
> break=on-false
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 Action ()
>
>
> This ^^^^^
>
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 Action
> set(sip_h_X-accountcode=${accountcode})
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 Action
> set(call_direction=outbound)
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 Action
> set(hangup_after_bridge=true)
> Dialplan: sofia/internal/3000 at 5.250.179.173:5090 Action
> set(effective_caller_id_name=${outbound_caller_id_name})
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:286
> (sofia/internal/3000 at 5.250.179.173:5090) State Change CS_ROUTING ->
> CS_EXECUTE
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:643
> (sofia/internal/3000 at 5.250.179.173:5090) State ROUTING going to sleep
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/3000 at 5.250.179.173:5090) Running State Change CS_EXECUTE
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:650
> (sofia/internal/3000 at 5.250.179.173:5090) State EXECUTE
> 2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:198 sofia/internal/
> 3000 at 5.250.179.173:5090 SOFIA EXECUTE
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:328
> sofia/internal/3000 at 5.250.179.173:5090 Standard EXECUTE
> 2016-11-03 05:56:55.275562 [ERR] switch_core_session.c:2604 Invalid
> Application
>
>
> Causes this ^^^^
>
>
> 2016-11-03 05:56:55.275562 [NOTICE] switch_core_session.c:2605 Hangup
> sofia/internal/3000 at 5.250.179.173:5090 [CS_EXECUTE]
> [DESTINATION_OUT_OF_ORDER]
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:650
> (sofia/internal/3000 at 5.250.179.173:5090) State EXECUTE going to sleep
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/3000 at 5.250.179.173:5090) Running State Change CS_HANGUP
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:850
> (sofia/internal/3000 at 5.250.179.173:5090) Callstate Change RINGING ->
> HANGUP
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:852
> (sofia/internal/3000 at 5.250.179.173:5090) State HANGUP
> 2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:438 Channel sofia/internal/
> 3000 at 5.250.179.173:5090 hanging up, cause: DESTINATION_OUT_OF_ORDER
> 2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:577 Responding to INVITE
> with: 502
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:60
> sofia/internal/3000 at 5.250.179.173:5090 Standard HANGUP, cause:
> DESTINATION_OUT_OF_ORDER
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:852
> (sofia/internal/3000 at 5.250.179.173:5090) State HANGUP going to sleep
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:619
> (sofia/internal/3000 at 5.250.179.173:5090) State Change CS_HANGUP ->
> CS_REPORTING
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/3000 at 5.250.179.173:5090) Running State Change CS_REPORTING
> 2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:938
> (sofia/internal/3000 at 5.250.179.173:5090) State REPORTING
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:174
> sofia/internal/3000 at 5.250.179.173:5090 Standard REPORTING, cause:
> DESTINATION_OUT_OF_ORDER
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:938
> (sofia/internal/3000 at 5.250.179.173:5090) State REPORTING going to sleep
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:610
> (sofia/internal/3000 at 5.250.179.173:5090) State Change CS_REPORTING ->
> CS_DESTROY
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_session.c:1647 Session 8023
> (sofia/internal/3000 at 5.250.179.173:5090) Locked, Waiting on external
> entities
> 2016-11-03 05:56:55.355544 [NOTICE] switch_core_session.c:1665 Session
> 8023 (sofia/internal/3000 at 5.250.179.173:5090) Ended
> 2016-11-03 05:56:55.355544 [NOTICE] switch_core_session.c:1669 Close
> Channel sofia/internal/3000 at 5.250.179.173:5090 [CS_DESTROY]
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:741
> (sofia/internal/3000 at 5.250.179.173:5090) Running State Change CS_DESTROY
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:751
> (sofia/internal/3000 at 5.250.179.173:5090) State DESTROY
> 2016-11-03 05:56:55.355544 [DEBUG] mod_sofia.c:343 sofia/internal/
> 3000 at 5.250.179.173:5090 SOFIA DESTROY
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:181
> sofia/internal/3000 at 5.250.179.173:5090 Standard DESTROY
> 2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:751
> (sofia/internal/3000 at 5.250.179.173:5090) State DESTROY going to sleep
>
>
>
>
> _________________________________________________________________________
> 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/20161105/6391ba13/attachment-0001.html 


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