asterisk/res/res_pjsip
Mark Michelson aced8bdd2e Fix erroneous behavior when sending auth rejection to artificial endpoint.
We were not including an authentication challenge when sending a 401 response
to unmatched endpoints. This was due to the conversion to use a vector for
authentication section names on an endpoint. The vector for artificial endpoints
was empty, resulting in the challenge being sent back containing no challenges.

This is worked around by placing a bogus value in the artificial endpoint's auth
vector. This value is never looked up by anything, since they instead will directly
call ast_sip_get_artificial_auth().



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-01-14 16:43:33 +00:00
..
include res_pjsip: Add PJSIP CLI commands 2013-12-20 21:32:13 +00:00
config_auth.c res_pjsip: Add PJSIP CLI commands 2013-12-20 21:32:13 +00:00
config_domain_aliases.c The large GULP->PJSIP renaming effort. 2013-07-30 18:14:50 +00:00
config_global.c res_pjsip_messaging: send message to a default outbound endpoint 2013-12-11 20:24:50 +00:00
config_system.c res_pjsip: convert configuration settings names to snake case 2013-11-22 17:27:55 +00:00
config_transport.c res_pjsip: AMI commands and events. 2013-11-23 17:26:57 +00:00
location.c res_pjsip: Ensure more URI validation happens in pj threads. 2014-01-03 17:27:08 +00:00
pjsip_cli.c res_pjsip: Fix CLI tab completion issues 2014-01-13 13:34:47 +00:00
pjsip_configuration.c res_pjsip: Ensure more URI validation happens in pj threads. 2014-01-03 17:27:08 +00:00
pjsip_distributor.c Fix erroneous behavior when sending auth rejection to artificial endpoint. 2014-01-14 16:43:33 +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: Apply outbound proxy to all SIP requests. 2013-12-14 17:28:21 +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
security_events.c Print "<unknown>" for artificial endpoint in PJSIP security events. 2014-01-10 20:00:16 +00:00