[asterisk-commits] file: branch group/pimp_my_sip r380960 - /team/group/pimp_my_sip/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 6 06:40:39 CST 2013


Author: file
Date: Wed Feb  6 06:40:35 2013
New Revision: 380960

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380960
Log:
Use the configured endpoint context when creating a channel.

Modified:
    team/group/pimp_my_sip/channels/chan_gulp.c

Modified: team/group/pimp_my_sip/channels/chan_gulp.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/channels/chan_gulp.c?view=diff&rev=380960&r1=380959&r2=380960
==============================================================================
--- team/group/pimp_my_sip/channels/chan_gulp.c (original)
+++ team/group/pimp_my_sip/channels/chan_gulp.c Wed Feb  6 06:40:35 2013
@@ -179,7 +179,7 @@
 
 	ast_channel_adsicpe_set(chan, AST_ADSI_UNAVAILABLE);
 
-	ast_channel_context_set(chan, "default");
+	ast_channel_context_set(chan, session->endpoint->context);
 	ast_channel_exten_set(chan, S_OR(exten, "s"));
 	ast_channel_priority_set(chan, 1);
 




More information about the asterisk-commits mailing list