]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Return 503 if we're out of RTP ports
authorWalter Doekes <walter+asterisk@wjd.nu>
Fri, 31 Jan 2020 12:58:30 +0000 (13:58 +0100)
committerSean Bright <sean.bright@gmail.com>
Wed, 5 Feb 2020 12:33:06 +0000 (06:33 -0600)
commita5ec14970d25de30e889dc85f037da0968bd8cf5
tree2378f765e9aa0b07bb91a691a3c93923bd2aaf2f
parent54cd865946a0caa7b4b0b89355d4b9f15a2c9e3f
chan_sip: Return 503 if we're out of RTP ports

If you're for some reason out of RTP ports, chan_sip would previously
responde to an INVITE with a 403, which will fail the call.

Now, it returns a 503, allowing the device/proxy to retry the call on a
different machine.

ASTERISK-28718

Change-Id: I968dcf6c1e30ecddcce397dcda36db727c83ca90
channels/chan_sip.c