Author: file
Date: Sat Feb 14 12:30:34 2015
New Revision: 431754

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=431754
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

Modified:
    branches/13/res/res_pjsip_exten_state.c

Modified: branches/13/res/res_pjsip_exten_state.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip_exten_state.c?view=diff&rev=431754&r1=431753&r2=431754
==============================================================================
--- branches/13/res/res_pjsip_exten_state.c (original)
+++ branches/13/res/res_pjsip_exten_state.c Sat Feb 14 12:30:34 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