[asterisk-commits] branch oej/videosupport r11880 - /team/oej/videosupport/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Mar 5 06:07:45 MST 2006


Author: oej
Date: Sun Mar  5 07:07:41 2006
New Revision: 11880

URL: http://svn.digium.com/view/asterisk?rev=11880&view=rev
Log:
Make sure we copy page2 default flags when creating a new peer too

Modified:
    team/oej/videosupport/channels/chan_sip.c

Modified: team/oej/videosupport/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/videosupport/channels/chan_sip.c?rev=11880&r1=11879&r2=11880&view=diff
==============================================================================
--- team/oej/videosupport/channels/chan_sip.c (original)
+++ team/oej/videosupport/channels/chan_sip.c Sun Mar  5 07:07:41 2006
@@ -12092,6 +12092,7 @@
 {
 	peer->expire = -1;
 	peer->pokeexpire = -1;
+	ast_copy_flags((&peer->flags_page2), &global_flags_page2, SIP_PAGE2_FLAGS_TO_COPY);
 	ast_copy_flags(peer, &global_flags, SIP_FLAGS_TO_COPY);
 	strcpy(peer->context, default_context);
 	strcpy(peer->subscribecontext, default_subscribecontext);



More information about the asterisk-commits mailing list