Author: file
Date: Sat Feb 14 12:31:15 2015
New Revision: 431755

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=431755
Log:
res_pjsip_exten_state: Improve log message when a subscription is attempted to 
a non-existent extension.

ASTERISK-24716 #close
Reported by: Rusty Newton
........

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

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip_exten_state.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/res/res_pjsip_exten_state.c
URL: 
http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_exten_state.c?view=diff&rev=431755&r1=431754&r2=431755
==============================================================================
--- trunk/res/res_pjsip_exten_state.c (original)
+++ trunk/res/res_pjsip_exten_state.c Sat Feb 14 12:31:15 2015
@@ -334,7 +334,8 @@
                const char *resource)
 {
        if (!ast_exists_extension(NULL, endpoint->context, resource, 
PRIORITY_HINT, NULL)) {
-               ast_log(LOG_NOTICE, "Extension %s does not exist or has no 
associated hint\n", resource);
+               ast_log(LOG_NOTICE, "Extension state subscription failed: 
Extension %s does not exist in context '%s' or has no associated hint\n",
+                       endpoint->context, resource);
                return 404;
        }
 


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to