Hi Olle,
Thank you for the good hint, this way i can decide the destination of th sip OPTIONS in the kamailio script.

Thank you for the support.

Best regards
José

2016-06-17 8:24 GMT+01:00 Olle E. Johansson <oej@edvina.net>:

> On 16 Jun 2016, at 18:10, José Seabra <joseseabra4@gmail.com> wrote:
>
> Hello there,
>
> 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.
>
> 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.
>
> How can I do that?

I would set outbound_proxy to the local proxy and from that change $du on the “external” ones.

/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Cumprimentos
José Seabra