outbound proxy support in b2absession

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@511 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent fcad45df8d
commit 0063085c39

@ -249,6 +249,10 @@ void AmB2ABCalleeSession::onB2ABEvent(B2ABEvent* ev)
dlg.remote_party = co_ev->remote_party;
dlg.remote_uri = co_ev->remote_uri;
// set outbound proxy as next hop
if (!AmConfig::OutboundProxy.empty())
dlg.next_hop = AmConfig::OutboundProxy;
setCallgroup(co_ev->callgroup);
setNegotiateOnReply(true);

Loading…
Cancel
Save