Ok, I started to code this patch. However, it could take a litle bit more time, as I have to make the UA (AmSipDialog most probably) send the 200 ACK. Else, we would have to remember the outbound host (aka. next hop) used in the request to use it again while sending the 200 ACK.

If I can separate those two things, this also opens the way for empty INVITEs and sending SDP in the ACK. Unfortunately, I can only implement it in the sipctrl module. Does somebody use any of the other ctrl plug-ins?

-Raphael.

Stefan Sayer wrote:
Hi,

o Raphael Coeffic [07/07/09 10:30]:
Stefan Sayer wrote:
Hi,

o Andreas Granig [07/06/09 17:38]:
Hi,

I was trying to dynamically set an outbound proxy in auth_b2b (sems 1.1.0), but setting callee_dlg.next_hop in AuthB2BDialog::createCalleeSession() doesn't have any effects. Could anyone please point me to the right place?
it seems to me like the problem is not where to set the next hop (createCalleeSession would be the right place), but that sipctrl is ignoring AmSipRequest::next_hop in trans_layer::set_next_hop (called from trans_layer::send_request and SipCtrlInterface::send). Raphael, could that be the case?


Yes, exactly. Actually, if a next hop is already known (because of AmSipRequest::next_hop), we should not even call set_next_hop, but just use the next hop we have. I can try to make a patch for that, if folks are interested.
folks are! (at least I am) ;)

Stefan


Raphael.


_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to