Hi All!
I have very strange problem on one of my switches...
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...
This gateway have very special configured as shown below (after debug output) and digest registration. Digest registration is passed fine for me!
part of relevant console debug:
------------------------------------------------------------------
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:40 sofia/ext-ipv4/12121231122 Standard INIT
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:48 (sofia/ext-ipv4/12121231122) State Change CS_INIT -> CS_ROUTING
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:512 (sofia/ext-ipv4/12121231122) State INIT going to sleep
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_ROUTING
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:528 (sofia/ext-ipv4/12121231122) State ROUTING
2015-05-12 21:15:36.462865 [DEBUG] mod_sofia.c:123 sofia/ext-ipv4/12121231122 SOFIA ROUTING
2015-05-12 21:15:36.462865 [DEBUG] switch_ivr_originate.c:67 (sofia/ext-ipv4/12121231122) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:528 (sofia/ext-ipv4/12121231122) State ROUTING going to sleep
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_CONSUME_MEDIA
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:547 (sofia/ext-ipv4/12121231122) State CONSUME_MEDIA
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:547 (sofia/ext-ipv4/12121231122) State CONSUME_MEDIA going to sleep
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1061 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] sofia.c:6623 Channel sofia/ext-ipv4/12121231122 entering state [calling][0]
2015-05-12 21:15:36.462865 [DEBUG] sofia.c:6623 Channel sofia/ext-ipv4/12121231122 entering state [terminated][503]
2015-05-12 21:15:36.462865 [NOTICE] sofia.c:7539 Hangup sofia/ext-ipv4/12121231122 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2015-05-12 21:15:36.462865 [DEBUG] switch_channel.c:3222 Send signal sofia/ext-ipv4/12121231122 [KILL]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_HANGUP
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:735 (sofia/ext-ipv4/12121231122) Callstate Change DOWN -> HANGUP
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:737 (sofia/ext-ipv4/12121231122) State HANGUP
2015-05-12 21:15:36.462865 [DEBUG] mod_sofia.c:413 Channel sofia/ext-ipv4/12121231122 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:60 sofia/ext-ipv4/12121231122 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:737 (sofia/ext-ipv4/12121231122) State HANGUP going to sleep
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:504 (sofia/ext-ipv4/12121231122) State Change CS_HANGUP -> CS_REPORTING
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:472 (sofia/ext-ipv4/12121231122) Running State Change CS_REPORTING
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:823 (sofia/ext-ipv4/12121231122) State REPORTING
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:104 sofia/ext-ipv4/12121231122 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:823 (sofia/ext-ipv4/12121231122) State REPORTING going to sleep
2015-05-12 21:15:36.462865 [DEBUG] switch_core_state_machine.c:498 (sofia/ext-ipv4/12121231122) State Change CS_REPORTING -> CS_DESTROY
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1396 Send signal sofia/ext-ipv4/12121231122 [BREAK]
2015-05-12 21:15:36.462865 [DEBUG] switch_core_session.c:1623 Session 4 (sofia/ext-ipv4/12121231122) Locked, Waiting on external entities
2015-05-12 21:15:36.462865 [DEBUG] switch_ivr_originate.c:3720 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2015-05-12 21:15:36.462865 [INFO] mod_dptools.c:3244 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
------------------------------------------------------------------
no packet was sent to remote gateway (checked with tcpdump), so it is internal error...