[SR-Users] Kamailio dispatcher module - keep alives

José Seabra joseseabra4 at gmail.com
Fri Jun 17 13:04:07 CEST 2016


Hi Daniel,
I already have tried that solution, changing the $du pseudo variable but
the SIP OPTIONS still going to the address configured on dispatcher table.

Is it enough change the $du on event_route[tm:local-request], or need
something else?

Thank you for your support

Best Regards
José

2016-06-17 11:57 GMT+01:00 Daniel-Constantin Mierla <miconda at gmail.com>:

> Hello,
>
> as alternative -- you should be able to set the out bound proxy address
> inside the event_route[tm:local-request], avoiding a loop back to the same
> server.
>
> On the other hand, the event route is executed for all requests generated
> by kamailio, not only for the keepalives, so you need to have conditions
> there to select what you want to process.
> Cheers,
> Daniel
>
>
> On 17/06/16 11:24, José Seabra wrote:
>
> 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 at edvina.net>:
>
>>
>> > On 16 Jun 2016, at 18:10, José Seabra < <joseseabra4 at gmail.com>
>> joseseabra4 at 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 at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
>
> --
> Cumprimentos
> José Seabra
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Cumprimentos
José Seabra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160617/7b79c2c5/attachment.html>


More information about the sr-users mailing list