<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"><<a href="mailto:simpot@gmail.com" target="_blank">simpot@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"><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'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 -> 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 -> 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 -> 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 -> 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 -> 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 <<a href="mailto:sip%3A%2B12223334455@realm.gateway.name" target="_blank">sip:+12223334455@realm.gateway.name</a>><br>Contact <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>><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><include><br> <gateway name="<a href="http://gateway.name" target="_blank">gateway.name</a>"><br> <param name="proxy" value="<a href="http://realm.gateway.name" target="_blank">realm.gateway.name</a>"/><br> <param name="register-proxy" value="10.10.10.10"/><br> <param name="contact-params" value="expires=3600;+g.oma.sip-im;+g.oma.sip-im.large-message"/><br> <param name="username" value="+12223334455"/><br> <param name="auth-username" value="+<a href="mailto:12223334455@realm.gateway.name" target="_blank">12223334455@realm.gateway.name</a>"/><br> <param name="from-user" value="+12223334455"/><br> <param name="from-domain" value="<a href="http://realm.gateway.name" target="_blank">realm.gateway.name</a>"/><br> <param name="password" value="password"/><br> <param name="expire-seconds" value="3600"/><br> <param name="register" value="true"/><br> <param name="register-transport" value="udp"/><br> <param name="caller-id-in-from" value="false"/><br> <param name="extension-in-contact" value="+12223334455"/><br> <param name="retry-seconds" value="180"/><br> </gateway><br></include><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>