]> 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:32:48 +0000 (06:32 -0600)
commit44e1c7d93f69fbbc1b01bcb675cb5881984361bf
treee5da4c5432b6eb31a7094b31a62da5d57b3a6f77
parent08ba741a8eb2c6ff23573cb4965bf9db0385425a
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