In article <CAFJQOGdprXK34Ai2FUk0qoJnj9927MmVU+7fSi+=uxh02fz...@mail.gmail.com>, John Kiniston <johnkinis...@gmail.com> wrote: > > I'm implementing a SBC with my Asterisk PBX but the keeps disabling the > trunk group I've configured and I think it may be because Asterisk is > returning a 4r04 to the OPTIONS. > > I've created a test context and have put in a wildcard pattern match to try > and catch those options but it doesn't seem to work. > > Is there a way to have asterisk respond with an 200 OK instead of a 404?
I think I found in the past that your dialplan needs an 's' extension in the default context for the sip entry, for OPTIONS to return a 200 instead of 404. It doesn't matter what the 's' extension does, so it can just call Hangup. Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users