<div dir="ltr">Hi Olle,<div>Thank you for the good hint, this way i can decide the destination of th sip OPTIONS in the kamailio script.</div><div><br></div><div>Thank you for the support.</div><div><br></div><div>Best regards</div><div>José</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-17 8:24 GMT+01:00 Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 16 Jun 2016, at 18:10, José Seabra <<a href="mailto:joseseabra4@gmail.com">joseseabra4@gmail.com</a>> wrote:<br>
><br>
> Hello there,<br>
><br>
> I have a Kamailio server using dispatcher module to monitor several peers, some of them are in the same network, others are in an external network, for the peers that are in the external network kamailio has to send the OPTIONS(dispatcher keep alives) through another kamailio  located in the border and acting as loadbalancer.<br>
><br>
> If i set the dispatcher option "outbound_proxy" all SIP OPTIONS are sent to the outbound proxy configured and it isn't what i need, I need to have by some way a possibility to set outbound_proxy only for the peers that are located on the external network.<br>
><br>
> How can I do that?<br>
<br>
</span>I would set outbound_proxy to the local proxy and from that change $du on the “external” ones.<br>
<br>
/O<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div>