[Freeswitch-users] set error code for rejected max sessions

Sergey Okhapkin sos at sokhapkin.dyndns.org
Tue Dec 30 01:24:45 MSK 2014


486 is not a correct reason code for that condition. 486 means that called 
party is busy, it has nothing to do with "server busy" condition.

If the calling party does LCR, then they should not fall back to another route 
on 486, but will fall back on 503.

On Monday 29 December 2014 14:01:59 Norman Boccone wrote:
> I limited the number of sessions accepted by my server by setting
> max-sessions: switch.conf.xml:
> ...
> <param name="max-sessions" value="53"/>.
> ...
> 
> It works great but when it rejects a call it returns error code 503.  I
> would like it to return code 486.  I was able to accomplish this by
> changing sofia.c.  It works but it seems like there is probably a better
> way.  Is there a config setting or dial plan setting I should use instead?
> 
> Thanks in advance



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