b/f: when unsubscribing, don't reset SIP dialog ids

sayer/1.4-spce2.6
Stefan Sayer 15 years ago
parent acec80a2b8
commit 04672b2bac

@ -178,18 +178,8 @@ bool AmSipSubscription::doUnsubscribe()
return true;
}
req.to_tag = "";
dlg.remote_tag = "";
dlg.remote_uri = req.r_uri;
// set outbound proxy as next hop
if (!info.proxy.empty()) {
dlg.outbound_proxy = info.proxy;
} else if (!AmConfig::OutboundProxy.empty())
dlg.outbound_proxy = AmConfig::OutboundProxy;
//else
// dlg.outbound_proxy = "";
string hdrs;
hdrs += SIP_HDR_COLSP(SIP_HDR_EVENT) + info.event;
if (!info.id.empty())

Loading…
Cancel
Save