[Freeswitch-users] 502 Bad Gateway: Destination out of order error

Anthony Minessale anthony.minessale at gmail.com
Tue Sep 15 15:32:13 PDT 2009


It's probably from this

2009-09-15 14:34:55.838365 [ERR] sofia_glue.c:2503 AUDIO RTP REPORTS ERROR:
[Socket Error!]
2009-09-15 14:34:55.838365 [NOTICE] sofia_glue.c:2504 Hangup sofia/external/
411 at 192.168.0.150 [CS_CONSUME_MEDIA][DESTINATION_OUT_OF_ORDER
]
2009-09-15 14:34:55.838365 [ERR] sofia.c:3796 RTP Error!

your machine failed to produce a socket when requested.

My blind guess, you are on a 32 bit machine and you do not have the ulimits
set for enough file descriptors etc..

ulimit -c unlimited
ulimit -d unlimited
ulimit -f unlimited
ulimit -i unlimited
ulimit -n 999999
ulimit -q unlimited
ulimit -u unlimited
ulimit -v unlimited
ulimit -x unlimited
ulimit -s 244
ulimit -l unlimited



On Tue, Sep 15, 2009 at 5:22 PM, email lists <
email.list.subscriber at gmail.com> wrote:

>  Hello All,
>
>
>
> Wondering if anyone has experienced this issue before.  I've attached a
> snip of the log file where the error occurs and could use some leads on
> this.  What's interesting is that the call appears to complete as normal,
> and a radius stop message even gets generated, though the duration is ~1
> second.
>
>
>
> <snip>
>
> h323-disconnect-time = "h323-disconnect-time=14:35:01.000 UTC Tue Sep 15
> 2009"
>
> h323-connect-time = "h323-connect-time=14:34:59.000 UTC Tue Sep 15 2009"
>
> </snip>
>
>
>
> While there are a lot of pieces involved, the call scenario is pretty basic
> (no transfers, no holds, etc.), just a few redirects that Freeswitch appears
> to be able to handle without issue.  Attached is a dumb'd down call ladder.
>
>
>
> I tried different rates at which I generate the calls, but it didn’t seem
> to correlate to the amount of errors I am seeing.
>
>
>
> Sending a total of 100 calls, with a call duration of 10 seconds:
>
> @10 calls per second = 14 "502" errors.
>
> @5 calls per second = 4 "502" errors.
>
> @4 calls per second = NO ERRORS (1st run)
>
> @4 calls per second = 39 "502" errors.
>
>
>
> Please let me know if any additional information is needed.
>
>
>
> Thanks in advance for all help.
>
>
>
> Vladimir
>
>
>
>
>
> _______________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090915/12ef7bf6/attachment-0002.html 


More information about the FreeSWITCH-users mailing list