[svn-commits] dlee: trunk r402572 - in /trunk: ./ res/res_pjsip/config_system.c

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


Author: dlee
Date: Fri Nov  8 12:53:14 2013
New Revision: 402572

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

Merged revisions 402570 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip/config_system.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Fri Nov  8 12:53:14 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402561
+/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402570

Modified: trunk/res/res_pjsip/config_system.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip/config_system.c?view=diff&rev=402572&r1=402571&r2=402572
==============================================================================
--- trunk/res/res_pjsip/config_system.c (original)
+++ trunk/res/res_pjsip/config_system.c Fri Nov  8 12:53:14 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