[asterisk-commits] branch 1.2 r15381 -
/branches/1.2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Mar 27 16:45:32 MST 2006
Author: oej
Date: Mon Mar 27 17:45:31 2006
New Revision: 15381
URL: http://svn.digium.com/view/asterisk?rev=15381&view=rev
Log:
Issue #6736 - Use flags for OPTION messages. Thanks Casper!
Modified:
branches/1.2/channels/chan_sip.c
Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=15381&r1=15380&r2=15381&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Mon Mar 27 17:45:31 2006
@@ -11434,8 +11434,9 @@
}
memcpy(&p->sa, &peer->addr, sizeof(p->sa));
memcpy(&p->recv, &peer->addr, sizeof(p->sa));
-
- /* Send options to peer's fullcontact */
+ ast_copy_flags(peer, &global_flags, SIP_FLAGS_TO_COPY);
+
+ /* Send OPTIONs to peer's fullcontact */
if (!ast_strlen_zero(peer->fullcontact)) {
ast_copy_string (p->fullcontact, peer->fullcontact, sizeof(p->fullcontact));
}
More information about the asterisk-commits
mailing list