[asterisk-commits] mjordan: branch group/asterisk-13-sipit r424101 - /team/group/asterisk-13-sip...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Sep 29 15:53:45 CDT 2014
Author: mjordan
Date: Mon Sep 29 15:53:43 2014
New Revision: 424101
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=424101
Log:
res_pjsip/pjsip_options: Don't try to route things to the dialplan that can't go there
Modified:
team/group/asterisk-13-sipit/res/res_pjsip/pjsip_options.c
Modified: team/group/asterisk-13-sipit/res/res_pjsip/pjsip_options.c
URL: http://svnview.digium.com/svn/asterisk/team/group/asterisk-13-sipit/res/res_pjsip/pjsip_options.c?view=diff&rev=424101&r1=424100&r2=424101
==============================================================================
--- team/group/asterisk-13-sipit/res/res_pjsip/pjsip_options.c (original)
+++ team/group/asterisk-13-sipit/res/res_pjsip/pjsip_options.c Mon Sep 29 15:53:43 2014
@@ -641,7 +641,7 @@
if (ast_shutting_down()) {
send_options_response(rdata, 503);
- } else if (!ast_exists_extension(NULL, endpoint->context, exten, 1, NULL)) {
+ } else if (!ast_strlen_zero(exten) && !ast_exists_extension(NULL, endpoint->context, exten, 1, NULL)) {
send_options_response(rdata, 404);
} else {
send_options_response(rdata, 200);
More information about the asterisk-commits
mailing list