<div dir="auto"><div>Hi Patrick,</div><div dir="auto"><br></div><div dir="auto">If you don't use tls at this moment, the config from sbc OS is also an good example of using dispatcher with the socket params to select the right sendsock and using vars to give rtpengine the right internal / external directions. They use numbers for internal and external. To figure out where the direction is, this config use pseudo vars for receiving local socketĀ </div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/voiceboys/sbcOS/blob/master/SbcOS/configs/voice/kamailio/kamailio.cfg#L450">https://github.com/voiceboys/sbcOS/blob/master/SbcOS/configs/voice/kamailio/kamailio.cfg#L450</a><br></div><div dir="auto"><br></div><div dir="auto">CheersĀ </div><div dir="auto">Karsten HorsmannĀ <br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Patrick Wakano <<a href="mailto:pwakano@gmail.com">pwakano@gmail.com</a>> schrieb am Do., 21. Nov. 2019, 07:11:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello list,</div><div>Hope you are all doing well!</div><div><br></div><div>I am trying to figure out a way to retrieve the local socket the t_relay() has decided to use in a mhomed=1 env. Is there a way to do that? I couldn't find any variable other than the $snd ones that maybe have this info, but I am not using onsend_route anyway.....<br></div><div>I am after this value because this is what I can use to figure out if I need to engage RTPEngine with parameters "external, internal", "external, external", "internal, external" or "internal, internal". In my case, my server is in between two networks, and calls can traverse or can be routed back to the same interface depending on what was decide by the LCR module. Signalling is fine, but engaging the RTPEngine must be done with the correct parameters to get the correct IPs in the SDP, other else I get one way audio in the call.....<br></div><div><br></div><div>Any help is much appreciated!</div><div></div><div>Thank you!<br></div><div>Kind regards,</div><div>Patrick Wakano<br></div><div><br></div><div><br></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div>