Re: [SR-Users] Kamailio dispatcher module - keep alives

2016-06-20 Thread José Seabra
Hi Daniel, I have enabled kamailio debug=3 and i can see the next hop of sip OPTION before it enter in event_route[tm:local-request], in this event route i'm changing the $du variable on the script but OPTION still going to address configured on dispatcher list instead of the address set on $du, a

Re: [SR-Users] Kamailio dispatcher module - keep alives

2016-06-17 Thread José Seabra
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-

Re: [SR-Users] Kamailio dispatcher module - keep alives

2016-06-17 Thread Daniel-Constantin Mierla
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

Re: [SR-Users] Kamailio dispatcher module - keep alives

2016-06-17 Thread José Seabra
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 : > > > On 16 Jun 2016, at 18:10, José Seabra wrote: > > > > Hello there, > > > > I hav

Re: [SR-Users] Kamailio dispatcher module - keep alives

2016-06-17 Thread Olle E. Johansson
> On 16 Jun 2016, at 18:10, José Seabra 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

[SR-Users] Kamailio dispatcher module - keep alives

2016-06-16 Thread José Seabra
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