<div dir="ltr">It can be suitable, but every SIP server is configured with a list of the codecs it accepts/offers so that list can be different depending on which server you're connecting to.<div><br></div><div>In this case the phone is offering only G729 and your server is only trying to use GSM so they don't have any codecs in common hence the 488 error. Some servers would accept the call and you could too if you reconfigure your codec options.<div><br></div><div>G729 is a licensed codec. Unless you're bridging it directly to another server/phone that accepts G729 or you can reconfigure the phone to use another codec then you'll need the mod_com_g729 commercial module to transcode it to another codec.</div></div><div><br></div><div>GSM will be supported by some servers, but most probably won't support it (there are other better codecs now). You probably want to set your server to use several codecs so it can figure out which one is best for whichever server/phone you're connecting to.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 April 2016 at 14:39, Стас Тельнов <span dir="ltr"><<a href="mailto:stasan89@gmail.com" target="_blank">stasan89@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ahmed, thank you.<br><br><span lang="en"><span>I did not know</span> <span>that the</span> <span>gsm</span> <span>codec</span> <span>is not suitable for</span> <span>VOIP</span> <span>providers.</span></span><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-04-07 15:17 GMT+03:00 Ahmed habiba <span dir="ltr"><<a href="mailto:ahabiba@gmail.com" target="_blank">ahabiba@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">It looks that the profile you are using use only GSM, however the phone is trying to use G729 only <div><br></div><div>look at the colored text.</div><div><br><div><blockquote type="cite"><div>On Apr 7, 2016, at 3:06 PM, <a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a> wrote:</div><br><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>From:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">Стас Тельнов <<a href="mailto:stasan89@gmail.com" target="_blank">stasan89@gmail.com</a>><br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Subject:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif"><b>[Freeswitch-users] Call from SIP server to external SIP provider: 488 INCOMPATIBLE_DESTINATION</b><br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Date:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">April 7, 2016 at 3:06:17 PM GMT+3<br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>To:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Reply-To:<span> </span></b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br></span></div><div><div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div dir="ltr" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Hello.<br>I`am doing external calls via sip provider. And I have internal SIP server (opensips) with users.<br>My case: two my users connecting via my sip server. One of him starting conference and calling to external number (carrier number or mobile phone).<br><br>But when I doing call to external number, I got error 488 INCOMPATIBLE_DESTINATION on call.<br><br>For setup I done next steps:<br>1) create file /etc/freeswitch/sip_profiles/external/freelycall.com.xml with provider-access params<br><br>2) set dialplan extension with my mobile number (hardcoded expression for testing)<br> <extension name="outbound_calls_to_freelycall"> <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br> <condition field="destination_number" expression="^(7906*******)$" break="on-true"> <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br> <action application="set" data="hangup_after_bridge=true"/> <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br> <action application="bridge" data="sofia/gateway/<a href="http://freelycall.com/$1" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com/$1</a>"/> <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br> </condition> <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br> </extension><br> <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br>3) set default provider params and external hosts in vars.xml<br> <X-PRE-PROCESS cmd="set" data="external_rtp_ip=host:<a href="http://freelycall.com/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com</a>"/><br> <X-PRE-PROCESS cmd="set" data="external_sip_ip=host:<a href="http://freelycall.com/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com</a>"/><br> ...<br> <X-PRE-PROCESS cmd="set" data="default_provider=<a href="http://freelycall.com/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com</a>"/><br> <X-PRE-PROCESS cmd="set" data="default_provider_username=MY_ID"/><br> <X-PRE-PROCESS cmd="set" data="default_provider_password=MY_PASS"/><br> <X-PRE-PROCESS cmd="set" data="default_provider_from_domain=<a href="http://freelycall.com/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com</a>"/><br> <!-- true or false --><br> <X-PRE-PROCESS cmd="set" data="default_provider_register=true"/><br> <X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/><br> <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br>I starting debug:<br>freeswitch -c<br><br>command "sofia status" say:<br> Name Type Data State<br>=================================================================================================<br> 172.31.22.124 alias internal ALIASED<br> external profile <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="http://sip:mod_sofia@172.31.22.124:5060/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">sip:mod_sofia@172.31.22.124:5060</a> RUNNING (0)<br> external profile <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="http://sip:mod_sofia@172.31.22.124:5061/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">sip:mod_sofia@172.31.22.124:5061</a> RUNNING (0) (TLS)<br> external::<a href="http://freelycall.com/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com</a> gateway <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="mailto:sip%3AMY_ID@freelycall.com" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">sip:MY_ID@freelycall.com</a> REGED<br> internal profile <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="http://sip:mod_sofia@172.31.22.124:5080/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">sip:mod_sofia@172.31.22.124:5080</a> RUNNING (0)<br> internal profile <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="http://sip:mod_sofia@172.31.22.124:5081/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">sip:mod_sofia@172.31.22.124:5081</a> RUNNING (0) (TLS)<br>=================================================================================================<br>2 profiles 1 alias<br><br>Thats good I think.<br><br>command "sofia status profile external" say:<br>=================================================================================================<br>Name external<br>Domain Name N/A<br>Auto-NAT false<br>DBName sofia_reg_external<br>Pres Hosts <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br>Dialplan XML<br>Context public<br>Challenge Realm auto_to<br>RTP-IP 172.31.22.124<br>SIP-IP 172.31.22.124<br>URL <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="http://sip:mod_sofia@172.31.22.124:5060/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">sip:mod_sofia@172.31.22.124:5060</a><br>BIND-URL <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal">sip:mod_sofia@172.31.22.124:5060;transport=udp,tcp</a><br>TLS-URL <span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="http://sip:mod_sofia@172.31.22.124:5061/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">sip:mod_sofia@172.31.22.124:5061</a><br>TLS-BIND-URL sips:mod_sofia@172.31.22.124:5061;transport=tls<br>HOLD-MUSIC local_stream://moh<br>OUTBOUND-PROXY N/A<br><font color="#ff5d9c">CODECS IN GSM<br>CODECS OUT GSM</font><br>TEL-EVENT 101<br>DTMF-MODE rfc2833<br>CNG 13<br>SESSION-TO 0<br>MAX-DIALOG 0<br>NOMEDIA false<br>LATE-NEG true<br>PROXY-MEDIA false<br>ZRTP-PASSTHRU true<br>AGGRESSIVENAT false<br>CALLS-IN 0<br>FAILED-CALLS-IN 0<br>CALLS-OUT 0<br>FAILED-CALLS-OUT 0<br>REGISTRATIONS 0<br><br>I`am not sure, that all correct, but I don`t know how should look like the right output of this command<br><br><br>When I starting call, I see next row in log:<br>2016-04-07 07:52:09.195582 [NOTICE] switch_ivr.c:2092 Transfer sofia/external/8@MY_OPENSIPS_DOMAIN to XML[7906*******@default]<br><br>I think, that @default is incorrect, I think that domain should be look like as @<a href="http://freelycall.com/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com</a><br><br>What I doing incorrect? Any idea?<br><br>Full log on call:<br>2016-04-07 07:52:09.195582 [NOTICE] switch_channel.c:1101 New Channel sofia/external/8@MY_OPENSIPS_DOMAIN [286b6a34-fcb7-11e5-a94f-99d758825eaf]<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_NEW<br>2016-04-07 07:52:09.195582 [DEBUG] sofia.c:9248 sofia/external/8@MY_OPENSIPS_DOMAIN receiving invite from<span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><a href="http://172.31.0.169:5060/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">172.31.0.169:5060</a><span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span>version: 1.6.6 64bit<br>2016-04-07 07:52:09.195582 [DEBUG] sofia.c:6760 Channel sofia/external/8@MY_OPENSIPS_DOMAIN entering state [received][100]<br>2016-04-07 07:52:09.195582 [DEBUG] sofia.c:6770 Remote SDP:<br>v=0<br>o=- 1460029927 1 IN IP4 MY_CALLER_IP<br>s=<a href="http://portsip.com/" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">portsip.com</a><br>c=IN IP4 MY_OPENSIPS_IP<br>t=0 0<br>m=audio 42386 RTP/AVP 18 3 101<br><font color="#ff9faf">a=rtpmap:18 G729/8000</font><br>a=fmtp:18 annexb=no<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=nortpproxy:yes<br><br>2016-04-07 07:52:09.195582 [DEBUG] sofia.c:7125 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_NEW -> CS_INIT<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:492 (sofia/external/8@MY_OPENSIPS_DOMAIN) State NEW<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_INIT<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/8@MY_OPENSIPS_DOMAIN) State INIT<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:88 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA INIT<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:40 sofia/external/8@MY_OPENSIPS_DOMAIN Standard INIT<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:48 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_INIT -> CS_ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/8@MY_OPENSIPS_DOMAIN) State INIT going to sleep<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_channel.c:2247 (sofia/external/8@MY_OPENSIPS_DOMAIN) Callstate Change DOWN -> RINGING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:141 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:166 sofia/external/8@MY_OPENSIPS_DOMAIN Standard ROUTING<br>2016-04-07 07:52:09.195582 [INFO] mod_dialplan_xml.c:637 Processing 8 <8>->7906******* in context public<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [public->from_opensips] continue=false<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (PASS) [from_opensips] network_addr(172.31.0.169) =~ /^172\.31\.0\.169$/ break=on-false<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Action transfer(${destination_number} XML default)<span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:216 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING going to sleep<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:196 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:258 sofia/external/8@MY_OPENSIPS_DOMAIN Standard EXECUTE<br>EXECUTE sofia/external/8@MY_OPENSIPS_DOMAIN transfer(7906******* XML default)<br>2016-04-07 07:52:09.195582 [DEBUG] switch_ivr.c:2085 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_EXECUTE -> CS_ROUTING<br>2016-04-07 07:52:09.195582 [NOTICE] switch_ivr.c:2092 Transfer sofia/external/8@MY_OPENSIPS_DOMAIN to XML[7906*******@default]<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE going to sleep<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:141 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:166 sofia/external/8@MY_OPENSIPS_DOMAIN Standard ROUTING<br>2016-04-07 07:52:09.195582 [INFO] mod_dialplan_xml.c:637 Processing 8 <8>->7906******* in context default<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [default->unloop] continue=false<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [default->tod_example] continue=true<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Date/TimeMatch (FAIL) [tod_example] break=on-false<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [default->outbound_calls_to_freelycall] continue=false<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (PASS) [outbound_calls_to_freelycall] destination_number(7906*******) =~ /^(7906*******)$/ break=on-true<br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Action set(hangup_after_bridge=true)<span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br>Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Action bridge(sofia/gateway/<a href="http://freelycall.com/7906*******" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com/7906*******</a>)<span style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal"> </span><br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:216 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_ROUTING -> CS_EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING going to sleep<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:196 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA EXECUTE<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:258 sofia/external/8@MY_OPENSIPS_DOMAIN Standard EXECUTE<br>EXECUTE sofia/external/8@MY_OPENSIPS_DOMAIN set(hangup_after_bridge=true)<br>2016-04-07 07:52:09.195582 [DEBUG] mod_dptools.c:1498 SET sofia/external/8@MY_OPENSIPS_DOMAIN [hangup_after_bridge]=[true]<br>EXECUTE sofia/external/8@MY_OPENSIPS_DOMAIN bridge(sofia/gateway/<a href="http://freelycall.com/7906*******" style="font-family:Helvetica;font-size:12px;font-weight:normal;font-style:normal" target="_blank">freelycall.com/7906*******</a>)<br>2016-04-07 07:52:09.195582 [DEBUG] switch_ivr_originate.c:2128 Parsing global variables<br>2016-04-07 07:52:09.195582 [NOTICE] switch_channel.c:1101 New Channel sofia/external/7906******* [286bb5b6-fcb7-11e5-a957-99d758825eaf]<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:4776 (sofia/external/7906*******) State Change CS_NEW -> CS_INIT<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_INIT<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7906*******) State INIT<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:88 sofia/external/7906******* SOFIA INIT<br>2016-04-07 07:52:09.195582 [DEBUG] sofia_glue.c:1257 sofia/external/7906******* sending invite version: 1.6.6 64bit<br>Local SDP:<br>v=0<br>o=FreeSWITCH 1460003999 1460004000 IN IP4 172.31.22.124<br>s=FreeSWITCH<br>c=IN IP4 172.31.22.124<br>t=0 0<br>m=audio 25930 RTP/AVP 3 101 13<br><font color="#ff8064">a=rtpmap:3 GSM/8000</font><br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=rtpmap:13 CN/8000<br>a=ptime:20<br>a=sendrecv<br><br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:40 sofia/external/7906******* Standard INIT<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:48 (sofia/external/7906*******) State Change CS_INIT -> CS_ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7906*******) State INIT going to sleep<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] sofia.c:6760 Channel sofia/external/7906******* entering state [calling][0]<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7906*******) State ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:141 sofia/external/7906******* SOFIA ROUTING<br>2016-04-07 07:52:09.195582 [DEBUG] switch_ivr_originate.c:67 (sofia/external/7906*******) State Change CS_ROUTING -> CS_CONSUME_MEDIA<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7906*******) State ROUTING going to sleep<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_CONSUME_MEDIA<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:551 (sofia/external/7906*******) State CONSUME_MEDIA<br>2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:551 (sofia/external/7906*******) State CONSUME_MEDIA going to sleep<br>2016-04-07 07:52:09.215582 [DEBUG] sofia.c:6760 Channel sofia/external/7906******* entering state [terminated][488]<br>2016-04-07 07:52:09.215582 [NOTICE] sofia.c:7779 Hangup sofia/external/7906******* [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_HANGUP<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7906*******) Callstate Change DOWN -> HANGUP<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7906*******) State HANGUP<br>2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:431 Channel sofia/external/7906******* hanging up, cause: INCOMPATIBLE_DESTINATION<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:60 sofia/external/7906******* Standard HANGUP, cause: INCOMPATIBLE_DESTINATION<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7906*******) State HANGUP going to sleep<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7906*******) State Change CS_HANGUP -> CS_REPORTING<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_REPORTING<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7906*******) State REPORTING<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:104 sofia/external/7906******* Standard REPORTING, cause: INCOMPATIBLE_DESTINATION<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7906*******) State REPORTING going to sleep<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7906*******) State Change CS_REPORTING -> CS_DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_session.c:1646 Session 2 (sofia/external/7906*******) Locked, Waiting on external entities<br>2016-04-07 07:52:09.215582 [DEBUG] switch_ivr_originate.c:3751 Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION]<br>2016-04-07 07:52:09.215582 [INFO] mod_dptools.c:3379 Originate Failed. Cause: INCOMPATIBLE_DESTINATION<br>2016-04-07 07:52:09.215582 [NOTICE] switch_channel.c:4804 Hangup sofia/external/8@MY_OPENSIPS_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_session.c:2796 sofia/external/8@MY_OPENSIPS_DOMAIN skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE going to sleep<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_HANGUP<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:739 (sofia/external/8@MY_OPENSIPS_DOMAIN) Callstate Change RINGING -> HANGUP<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@MY_OPENSIPS_DOMAIN) State HANGUP<br>2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:425 sofia/external/8@MY_OPENSIPS_DOMAIN Overriding SIP cause 488 with 488 from the other leg<br>2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:431 Channel sofia/external/8@MY_OPENSIPS_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION<br>2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 488<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:60 sofia/external/8@MY_OPENSIPS_DOMAIN Standard HANGUP, cause: INCOMPATIBLE_DESTINATION<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@MY_OPENSIPS_DOMAIN) State HANGUP going to sleep<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:508 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_HANGUP -> CS_REPORTING<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_REPORTING<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@MY_OPENSIPS_DOMAIN) State REPORTING<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:104 sofia/external/8@MY_OPENSIPS_DOMAIN Standard REPORTING, cause: INCOMPATIBLE_DESTINATION<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@MY_OPENSIPS_DOMAIN) State REPORTING going to sleep<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:499 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_REPORTING -> CS_DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/external/8@MY_OPENSIPS_DOMAIN) Locked, Waiting on external entities<br>2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/external/8@MY_OPENSIPS_DOMAIN) Ended<br>2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/8@MY_OPENSIPS_DOMAIN [CS_DESTROY]<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:630 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@MY_OPENSIPS_DOMAIN) State DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:341 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:111 sofia/external/8@MY_OPENSIPS_DOMAIN Standard DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@MY_OPENSIPS_DOMAIN) State DESTROY going to sleep<br>2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1664 Session 2 (sofia/external/7906*******) Ended<br>2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7906******* [CS_DESTROY]<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7906*******) Running State Change CS_DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7906*******) State DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:341 sofia/external/7906******* SOFIA DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:111 sofia/external/7906******* Standard DESTROY<br>2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7906*******) State DESTROY going to sleep</div></div></div></div></blockquote></div><br></div></div><br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>