[asterisk-dev] [svn-commits] mjordan: branch 12 r424624 - /branches/12/res/res_pjsip/pjsip_options.c
Olle E. Johansson
oej at edvina.net
Mon Oct 6 01:25:21 CDT 2014
On 06 Oct 2014, at 02:59, SVN commits to the Digium repositories <svn-commits at lists.digium.com> wrote:
>
> An OPTIONS request that is sent to Asterisk but not to a specific endpoint is
> currently sent a 404 in response. This is because, not surprisingly, an empty
> extension is never going to be found in the dialplan.
>
> This patch makes it so that we only attempt to look up the endpoint in the
> dialplan if it is specified in the OPTIONS request URI.
An empty extension in Asteirsk is the "s" extension, right?
In chan_sip we answer with 200 OK if an "s" extension can be found, otherwise an error is generated.
If that's a good or bad solution is a differernt thing - but we do handle empty extensions,
especially in the dahdi channel.
/O
More information about the asterisk-dev
mailing list