<div dir="ltr">I has similar error message on cisco gateway when T310 timer expires.<div><br></div><div>Sergey Safarov</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 12, 2015 at 9:27 PM, Dmitry Saratsky <span dir="ltr">&lt;<a href="mailto:simpot@gmail.com" target="_blank">simpot@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi All!<br><br></div>I have very strange problem on one of my switches...<br><br></div>when I calling through 1 specific gateway (gateway&#39;s config well be shown later) - I get internal error with code 503 and freeswitch even do not try to send invite to the remote gateway...<br></div>This gateway have very special configured as shown below (after debug output) and digest registration. Digest registration is passed fine for me!<br><br></div>part of relevant console debug:<br>------------------------------------------------------------------<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:40 sofia/ext-ipv4/12121231122 Standard INIT<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:48 (sofia/ext-ipv4/12121231122) State Change CS_INIT -&gt; CS_ROUTING<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:512 (sofia/ext-ipv4/12121231122) State INIT going to sleep<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_ROUTING<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:528 (sofia/ext-ipv4/12121231122) State ROUTING<br>2015-05-12 21:15:36.462865 [DEBUG] mod_sofia.c:123 sofia/ext-ipv4/12121231122 SOFIA ROUTING<br>2015-05-12 21:15:36.462865 [DEBUG] switch_ivr_originate.c:67 (sofia/ext-ipv4/12121231122) State Change CS_ROUTING -&gt; CS_CONSUME_MEDIA<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:528 (sofia/ext-ipv4/12121231122) State ROUTING going to sleep<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_CONSUME_MEDIA<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:547 (sofia/ext-ipv4/12121231122) State CONSUME_MEDIA<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:547 (sofia/ext-ipv4/12121231122) State CONSUME_MEDIA going to sleep<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] sofia.c:6623 Channel sofia/ext-ipv4/12121231122 entering state [calling][0]<br>2015-05-12 21:15:36.462865 [DEBUG] sofia.c:6623 Channel sofia/ext-ipv4/12121231122 entering state [terminated][503]<br>2015-05-12 21:15:36.462865 [NOTICE] sofia.c:7539 Hangup sofia/ext-ipv4/12121231122 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_channel.c:3222 Send signal sofia/ext-ipv4/12121231122 [KILL]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_HANGUP<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:735 (sofia/ext-ipv4/12121231122) Callstate Change DOWN -&gt; HANGUP<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:737 (sofia/ext-ipv4/12121231122) State HANGUP<br>2015-05-12 21:15:36.462865 [DEBUG] mod_sofia.c:413 Channel sofia/ext-ipv4/12121231122 hanging up, cause: NORMAL_TEMPORARY_FAILURE<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:60 sofia/ext-ipv4/12121231122 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:737 (sofia/ext-ipv4/12121231122) State HANGUP going to sleep<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:504 (sofia/ext-ipv4/12121231122) State Change CS_HANGUP -&gt; CS_REPORTING<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_REPORTING<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:823 (sofia/ext-ipv4/12121231122) State REPORTING<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:104 sofia/ext-ipv4/12121231122 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:823 (sofia/ext-ipv4/12121231122) State REPORTING going to sleep<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:498 (sofia/ext-ipv4/12121231122) State Change CS_REPORTING -&gt; CS_DESTROY<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]<br>2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1623 Session 4 (sofia/ext-ipv4/12121231122) Locked, Waiting on external entities<br>2015-05-12 21:15:36.462865 [DEBUG] switch_ivr_originate.c:3720 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]<br>2015-05-12 21:15:36.462865 [INFO] mod_dptools.c:3244 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE<br>------------------------------------------------------------------<br><br></div>no packet was sent to remote gateway (checked with tcpdump), so it is internal error...<br></div>relevant gateway is registered well:<br>------------------------------------------------------------------<br>=================================================================================================<br>Name            <a href="http://gateway.name" target="_blank">gateway.name</a><br>Profile         ext-ipv4<br>Scheme          Digest<br>Realm           <a href="http://realm.gateway.name" target="_blank">realm.gateway.name</a><br>Username        +12223334455<br>Password        yes<br>From            &lt;<a href="mailto:sip%3A%2B12223334455@realm.gateway.name" target="_blank">sip:+12223334455@realm.gateway.name</a>&gt;<br>Contact         &lt;sip:+12223334455@1.1.1.1:5060;expires=3600;+g.oma.sip-im;+g.oma.sip-im.large-message;transport=udp;gw=<a href="http://gateway.name" target="_blank">gateway.name</a>&gt;<br>Exten           +12223334455<br>To              <a href="mailto:sip%3A%2B12223334455@realm.gateway.name" target="_blank">sip:+12223334455@realm.gateway.name</a><br>Proxy           sip:<a href="http://realm.gateway.name" target="_blank">realm.gateway.name</a><br>Context         ext<br>Expires         3600<br>Freq            3600<br>Ping            0<br>PingFreq        0<br>PingTime        0.00<br>PingState       0/0/0<br>State           REGED<br>Status          UP<br>Uptime          554s<br>CallsIN         0<br>CallsOUT        2<br>FailedCallsIN   0<br>FailedCallsOUT  2<br>=================================================================================================<br>------------------------------------------------------------------<br><br><div><div><div>gateway config:<br>------------------------------------------------------------------<br>&lt;include&gt;<br>  &lt;gateway name=&quot;<a href="http://gateway.name" target="_blank">gateway.name</a>&quot;&gt;<br>    &lt;param name=&quot;proxy&quot; value=&quot;<a href="http://realm.gateway.name" target="_blank">realm.gateway.name</a>&quot;/&gt;<br>    &lt;param name=&quot;register-proxy&quot; value=&quot;10.10.10.10&quot;/&gt;<br>    &lt;param name=&quot;contact-params&quot; value=&quot;expires=3600;+g.oma.sip-im;+g.oma.sip-im.large-message&quot;/&gt;<br>    &lt;param name=&quot;username&quot; value=&quot;+12223334455&quot;/&gt;<br>    &lt;param name=&quot;auth-username&quot; value=&quot;+<a href="mailto:12223334455@realm.gateway.name" target="_blank">12223334455@realm.gateway.name</a>&quot;/&gt;<br>    &lt;param name=&quot;from-user&quot; value=&quot;+12223334455&quot;/&gt;<br>    &lt;param name=&quot;from-domain&quot; value=&quot;<a href="http://realm.gateway.name" target="_blank">realm.gateway.name</a>&quot;/&gt;<br>    &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;<br>    &lt;param name=&quot;expire-seconds&quot; value=&quot;3600&quot;/&gt;<br>    &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>    &lt;param name=&quot;register-transport&quot; value=&quot;udp&quot;/&gt;<br>    &lt;param name=&quot;caller-id-in-from&quot; value=&quot;false&quot;/&gt;<br>    &lt;param name=&quot;extension-in-contact&quot; value=&quot;+12223334455&quot;/&gt;<br>    &lt;param name=&quot;retry-seconds&quot; value=&quot;180&quot;/&gt;<br>  &lt;/gateway&gt;<br>&lt;/include&gt;<br><br>------------------------------------------------------------------<br><br></div><div>what is special in this gateway configuration, is that gateway name is differers from proxy and both differs from register-proxy. this is required for my for successfully registration (bcz <a href="http://realm.gateway.name" target="_blank">realm.gateway.name</a> is not resolvable with DNS).<br></div><div>In addition username is differs from auth-username - for some reason it is required by vendor...<br><br></div><div>PS:<br>FreeSWITCH (Version 1.5.15b git a41505f 2015-02-23 22:38:20Z 64bit) is ready<br><br><br></div><div>Any ideas?<br><br></div><div>Thanks,<br></div><div>Dmitry.<br></div></div></div></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>