asterisk/res/res_pjsip
Matthew Jordan cce3d99ec8 res_pjsip/pjsip_options: Do not 404 an OPTIONS request not sent to an endpoint
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.

#SIPit31

ASTERISK-24370 #close
Reported by: Matt Jordan
........

Merged revisions 424624 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 424625 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-10-06 01:01:43 +00:00
..
include res_pjsip: Enable PJSIP DNS client support. 2014-03-17 22:54:32 +00:00
config_auth.c res_pjsip: Don't require a password when doing userpass authentication. 2014-09-18 19:31:03 +00:00
config_domain_aliases.c res_pjsip: Updates and adds more PJSIP CLI commands. 2014-02-06 17:55:45 +00:00
config_global.c res_pjsip: Updates and adds more PJSIP CLI commands. 2014-02-06 17:55:45 +00:00
config_system.c Prevent duplicate sorcery wizards from being applied to sorcery object types. 2014-04-02 18:57:29 +00:00
config_transport.c res_pjsip: Make transport cipher option accept a comma separated list of cipher names. 2014-10-02 21:55:37 +00:00
location.c PJSIP: Handle defaults properly 2014-10-01 12:28:05 +00:00
pjsip_cli.c pjsip_cli: Suppress header print on error or no objects 2014-09-29 22:00:38 +00:00
pjsip_configuration.c PJSIP: Restore functional default for callerid_privacy 2014-10-03 13:59:09 +00:00
pjsip_distributor.c res_pjsip: Prevent crashes when PJPROJECT presents an rdata with no message 2014-10-06 00:31:48 +00:00
pjsip_global_headers.c The large GULP->PJSIP renaming effort. 2013-07-30 18:14:50 +00:00
pjsip_options.c res_pjsip/pjsip_options: Do not 404 an OPTIONS request not sent to an endpoint 2014-10-06 01:01:43 +00:00
pjsip_outbound_auth.c res_pjsip: Ignore 401/407 responses for transactions and dialogs we don't know about. 2013-12-19 18:00:33 +00:00
presence_xml.c res_pjsip_dialog_info_body_generator: Add dialog-info+xml support for presence. 2014-07-07 16:08:47 +00:00
security_events.c Remove unused RAII_VAR() declarations. 2014-04-15 18:01:47 +00:00