[asterisk-commits] trunk r28483 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 19 00:52:08 MST 2006


Author: oej
Date: Fri May 19 02:52:08 2006
New Revision: 28483

URL: http://svn.digium.com/view/asterisk?rev=28483&view=rev
Log:
Formatting cleanup

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=28483&r1=28482&r2=28483&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri May 19 02:52:08 2006
@@ -1954,12 +1954,13 @@
  			if((context = strchr(ext, '@'))) {
 				context++;
 				if (!ast_context_find(context)) {
-					ast_log(LOG_WARNING, "Context %s must exist in regcontext!\n", context);
+					ast_log(LOG_WARNING, "Context %s must exist in regcontext= in sip.conf!\n", context);
 					continue;
 				}
 				ext = strsep(&ext, "@");
 				if (onoff)
-					ast_add_extension(context, 1, ext, 1, NULL, NULL, "Noop",					  ast_strdup(peer->name), free, "SIP");
+					ast_add_extension(context, 1, ext, 1, NULL, NULL, "Noop",
+						 ast_strdup(peer->name), free, "SIP");
 				else
 					ast_context_remove_extension(context, ext, 1, NULL);
 			} else {



More information about the asterisk-commits mailing list