[svn-commits] mmichelson: branch group/CCSS r238581 - /team/group/CCSS/channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Jan 8 10:33:54 CST 2010
Author: mmichelson
Date: Fri Jan 8 10:33:50 2010
New Revision: 238581
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238581
Log:
Add a couple of calls to ast_sip_ouraddrfor so that the From
header on outgoing CC SUBSCRIBE and PUBLISH requests is accurate
Modified:
team/group/CCSS/channels/chan_sip.c
Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=238581&r1=238580&r2=238581
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Fri Jan 8 10:33:50 2010
@@ -3696,6 +3696,7 @@
sip_pvt_lock(monitor_instance->subscription_pvt);
create_addr(monitor_instance->subscription_pvt, monitor_instance->peername, 0, 1);
+ ast_sip_ouraddrfor(&monitor_instance->subscription_pvt->sa.sin_addr, &monitor_instance->subscription_pvt->ourip, monitor_instance->subscription_pvt);
monitor_instance->subscription_pvt->subscribed = CALL_COMPLETION;
monitor_instance->subscription_pvt->expiry = when;
@@ -12488,6 +12489,7 @@
sip_pvt_lock(pvt);
create_addr(pvt, epa_entry->destination, NULL, TRUE);
+ ast_sip_ouraddrfor(&pvt->sa.sin_addr, &pvt->ourip, pvt);
req.method = SIP_PUBLISH;
More information about the svn-commits
mailing list