[svn-commits] dlee: branch 12 r402570 - /branches/12/res/res_pjsip/config_system.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Nov 8 12:48:30 CST 2013


Author: dlee
Date: Fri Nov  8 12:48:28 2013
New Revision: 402570

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402570
Log:
res_pjsip: Print a helpful error message if sorcery registration fails

Modified:
    branches/12/res/res_pjsip/config_system.c

Modified: branches/12/res/res_pjsip/config_system.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_pjsip/config_system.c?view=diff&rev=402570&r1=402569&r2=402570
==============================================================================
--- branches/12/res/res_pjsip/config_system.c (original)
+++ branches/12/res/res_pjsip/config_system.c Fri Nov  8 12:48:28 2013
@@ -121,6 +121,7 @@
 	ast_sorcery_apply_default(system_sorcery, "system", "config", "pjsip.conf,criteria=type=system");
 
 	if (ast_sorcery_object_register(system_sorcery, "system", system_alloc, NULL, system_apply)) {
+		ast_log(LOG_ERROR, "Failed to register with sorcery (is res_sorcery_config loaded?)\n");
 		ast_sorcery_unref(system_sorcery);
 		system_sorcery = NULL;
 		return -1;




More information about the svn-commits mailing list