[asterisk-users] Respond with 200 OK on OPTIONS

Matthew Jordan mjordan at digium.com
Tue Feb 17 08:28:31 CST 2015


On Tue, Feb 17, 2015 at 5:14 AM, Grant Bagdasarian <gb at cm.nl> wrote:

>
> Hello,
>
>
>
> We’re running Asterisk 1.8.14.1 and our carrier requires us to send a 200
> OK for OPTIONS request in order for them to keep sending traffic to our
> endpoints.
>
> Asterisk is currently replying with 404 messages, and their SBC only
> accepts 200 OK responses.
>
>
>
> How do I configure asterisk to reply with 200 OK without changing any
> source code?
>
>
>

Asterisk attempts to look up who the OPTIONS request is for, using the
username portion of the request URI. Make sure you have a matching
extension for what your upstream provider is sending you, and chan_sip will
respond with a 200 OK.

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150217/736ff8dc/attachment.html>


More information about the asterisk-users mailing list