[asterisk-commits] murf: branch murf/fast-ast r72757 - /team/murf/fast-ast/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 29 20:17:47 CDT 2007


Author: murf
Date: Fri Jun 29 20:17:47 2007
New Revision: 72757

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72757
Log:
fix to chan_sip

Modified:
    team/murf/fast-ast/channels/chan_sip.c

Modified: team/murf/fast-ast/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/murf/fast-ast/channels/chan_sip.c?view=diff&rev=72757&r1=72756&r2=72757
==============================================================================
--- team/murf/fast-ast/channels/chan_sip.c (original)
+++ team/murf/fast-ast/channels/chan_sip.c Fri Jun 29 20:17:47 2007
@@ -3983,8 +3983,8 @@
 		ast_string_field_set(tmp, language, i->language);
 	i->owner = tmp;
 	ast_module_ref(ast_module_info->self);
-	ast_copy_string(tmp->context, i->context, sizeof(tmp->context));
-	ast_copy_string(tmp->exten, i->exten, sizeof(tmp->exten));
+	ast_channel_setcontext(tmp, i->context);
+	ast_channel_setexten(tmp, i->exten);
 
 	/* Don't use ast_set_callerid() here because it will
 	 * generate an unnecessary NewCallerID event  */




More information about the asterisk-commits mailing list