Respond With 200 OK On OPTIONS

Home » Asterisk Users » Respond With 200 OK On OPTIONS
Asterisk Users 2 Comments

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?

Regards,

Grant

2 thoughts on - Respond With 200 OK On OPTIONS

  • 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.

  • In general, this 200 OK status code can be used for troubleshooting? Is there a log of status codes sent, or that’s just done live through the console?

    thanks,

    Thufir