[Freeswitch-users] RFC 3263 and failing over

Joshua Gigg giggsey at gmail.com
Thu Sep 3 21:07:45 MSD 2015


So its a bug, rather than me messing up the SRV records etc?
On 3 Sep 2015 17:35, "Brian West" <brian at freeswitch.org> wrote:

> Bug reports belong in JIRA, could you file it please at
> freeswitch.org/jira
>
> Thanks,
>
>
> On Thu, Sep 3, 2015 at 11:30 AM, Joshua Gigg <giggsey at gmail.com> wrote:
>
>> I've setup some SRV records to test failover between a few servers.
>>
>> $ dig _sip._udp.testing-sip.giggsey.net SRV
>>
>> ;; ANSWER SECTION:
>> _sip._udp.testing-sip.giggsey.net. 371 IN SRV   10 0 5060
>> testing-sip-real.giggsey.net.
>> _sip._udp.testing-sip.giggsey.net. 371 IN SRV   0 0 5080
>> testing-sip-fake.giggsey.net.
>>
>>
>> testing-sip-fake is a FreeSWITCH box, configured to hangup every inbound
>> call with 503: NETWORK_OUT_OF_ORDER.
>>
>> testing-sip-real will accept traffic from this server, and actually
>> connect to something.
>>
>> When I make a call via FreeSWITCH (latest master), it sends the INVITE to
>> testing-sip-fake, which responds correctly. FreeSWITCH does not ACK the
>> 503, but sends the INVITE to testing-sip-real.
>>
>> testing-sip-real responds with a 200, but FreeSWITCH sends the ACK to
>> testing-sip-fake.
>>
>> Trace from sngrep below (apologies for any formatting issues):
>> http://i.imgur.com/aGOBHpp.png
>>
>>
>>>>             193.104.89.40:5080            178.62.61.192:5080
>> 193.104.89.57:5060 │
>>           ──────────┬─────────          ──────────┬─────────
>>  ──────────┬───────── │
>> ▒ 17:06:29.054095   │        INVITE (SDP)         │
>>       │          │
>> ▒       +0.016957   │ ──────────────────────────> │
>>       │          │
>> ▒ 17:06:29.071052   │         100 Trying          │
>>       │          │
>> ▒       +0.004131   │ <────────────────────────── │
>>       │          │
>> ▒ 17:06:29.075183   │   503 Service Unavailable   │
>>       │          │
>> ▒       +0.005387   │ <────────────────────────── │
>>       │          │
>> ▒ 17:06:29.080570   │                       INVITE (SDP)
>>        │          │
>> ▒       +0.003829   │
>> ────────────────────────────────────────────────────────> │          │
>> ▒ 17:06:29.084399   │                     100 Giving a try
>>        │          │
>> ▒       +0.491453   │
>> <──────────────────────────────────────────────────────── │          │
>> ▒ 17:06:29.575852   │   503 Service Unavailable   │
>>       │          │
>> ▒       +1.000255   │ <────────────────────────── │
>>       │          │
>> ▒ 17:06:30.576107   │   503 Service Unavailable   │
>>       │          │
>> ▒       +2.000364   │ <<<──────────────────────── │
>>       │          │
>> ▒ 17:06:32.576471   │   503 Service Unavailable   │
>>       │          │
>> ▒       +2.662937   │ <<<──────────────────────── │
>>       │          │
>> ▒ 17:06:35.239408   │                 183 Session Progress (SDP)
>>        │          │
>> ▒       +1.155243   │
>> <──────────────────────────────────────────────────────── │          │
>> ▒ 17:06:36.394651   │                 183 Session Progress (SDP)
>>        │          │
>> ▒       +0.093683   │
>> <<<────────────────────────────────────────────────────── │          │
>> ▒ 17:06:36.488334   │                     180 Ringing (SDP)
>>       │          │
>> ▒       +0.088306   │
>> <──────────────────────────────────────────────────────── │          │
>> ▒ 17:06:36.576640   │   503 Service Unavailable   │
>>       │          │
>> ▒       +1.936790   │ <────────────────────────── │
>>       │          │
>> ▒ 17:06:38.513430   │                       200 OK (SDP)
>>        │          │
>> ▒       +0.010268   │
>> <──────────────────────────────────────────────────────── │          │
>> │ 17:06:38.523698   │             ACK             │
>>       │          │
>> │       +0.489731   │ ──────────────────────────> │
>>       │          │
>> │ 17:06:39.013429   │                       200 OK (SDP)
>>        │          │
>> │       +0.000296   │
>> <──────────────────────────────────────────────────────── │          │
>> │ 17:06:39.013725   │             ACK             │
>>       │          │
>> │       +0.999795   │ ──────────────────────────> │
>>       │          │
>> │ 17:06:40.013520   │                       200 OK (SDP)
>>        │          │
>> │       +0.000282   │
>> <──────────────────────────────────────────────────────── │          │
>> │ 17:06:40.013802   │             ACK             │
>>       │          │
>> │       +0.562804   │ ──────────────────────────> │
>>       │          │
>> │ 17:06:40.576606   │   503 Service Unavailable   │
>>       │          │
>> │       +1.436391   │ <────────────────────────── │
>>       │          │
>> │ 17:06:42.012997   │                       200 OK (SDP)
>>        │          │
>> │       +0.000149   │
>> <──────────────────────────────────────────────────────── │          │
>> │ 17:06:42.013146   │             ACK             │
>>       │          │
>> │       +2.564912   │ ──────────────────────────> │
>>       │          │
>> │ 17:06:44.578058   │   503 Service Unavailable   │
>>       │          │
>> │       +0.685651   │ <────────────────────────── │
>>       │          │
>> │ 17:06:45.263709   │             BYE             │
>>       │          │
>> │       +0.016618   │ ──────────────────────────> │
>>       │          │
>> │ 17:06:45.280327   │   481 Call Does Not Exist   │
>>       │          │
>> │       +0.730549   │ <────────────────────────── │
>>       │          │
>>
>>>>
>> Any ideas on where to start to debug?
>>
>> --
>> Joshua Gigg
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> 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/20150903/8daaf579/attachment-0001.html 


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