[asterisk-commits] file: branch group/pimp_my_sip r385107 - /team/group/pimp_my_sip/res/res_sip/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 9 09:53:59 CDT 2013


Author: file
Date: Tue Apr  9 09:53:54 2013
New Revision: 385107

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=385107
Log:
Now that res_sorcery_astdb is in trunk make the default for contacts to be astdb so they are persisted across restarts.

Modified:
    team/group/pimp_my_sip/res/res_sip/location.c

Modified: team/group/pimp_my_sip/res/res_sip/location.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip/location.c?view=diff&rev=385107&r1=385106&r2=385107
==============================================================================
--- team/group/pimp_my_sip/res/res_sip/location.c (original)
+++ team/group/pimp_my_sip/res/res_sip/location.c Tue Apr  9 09:53:54 2013
@@ -231,7 +231,7 @@
 /*! \brief Initialize sorcery with location support */
 int ast_sip_initialize_sorcery_location(struct ast_sorcery *sorcery)
 {
-	ast_sorcery_apply_default(sorcery, "contact", "memory", NULL);
+	ast_sorcery_apply_default(sorcery, "contact", "astdb", "registrar");
 	ast_sorcery_apply_default(sorcery, "aor", "config", "res_sip.conf,criteria=type=aor");
 
 	if (ast_sorcery_object_register(sorcery, "contact", contact_alloc, NULL, NULL) ||




More information about the asterisk-commits mailing list