[SR-Users] Dispatcher does not trigger the event_route

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 29 13:08:17 CET 2011


Hello,

it proved that the msg parameter for event_route execution due to 
keepalives was not set to the faked structure. The event route was 
executed but many functions don't do anything as the sip message was 
missing.

Try with latest git branch 3.2, I just pushed the fix for it.

Cheers,
Daniel

On 12/29/11 11:19 AM, Mino Haluz wrote:
> No, I do not see anything related in messages nor in syslog. Otherwise 
> dispatcher is working fine, but that event-route is still not 
> triggered and I really need the information about failure...
>
> The output of kamctl fifo ds_list is ok, one gw is marked as IP and 
> another one as AP. When I flush the firewall the both are AP, so the 
> mechanism is working ..
>
> Is there any debugging procedure of event-routes?
>
> On Tue, Dec 20, 2011 at 11:13 AM, Peter Dunkley 
> <peter.dunkley at crocodile-rcs.com 
> <mailto:peter.dunkley at crocodile-rcs.com>> wrote:
>
>     Once your destination has failed (and after you expect to see the
>     output from the event_route), what is the output of kamctl fifo
>     ds_list?
>
>     Do you see anything else in /var/log/messages at this point?
>
>     Peter
>
>
>     On Tue, 2011-12-20 at 11:05 +0100, Mino Haluz wrote:
>>     nightly build 3.2.1.
>>
>>     compiled on 05:08:17 Dec 19 2011 with gcc 4.4.5
>>
>>     On Tue, Dec 20, 2011 at 10:49 AM, Peter Dunkley
>>     <peter.dunkley at crocodile-rcs.com
>>     <mailto:peter.dunkley at crocodile-rcs.com>> wrote: 
>>
>>         Hello,
>>
>>         What version of Kamailio are you using?
>>
>>         The dispatcher "event_route"s were added in Kamailio 3.2.0 so
>>         this will only work in Kamailio 3.2.0 and later.
>>
>>         Regards,
>>
>>         Peter 
>>
>>
>>
>>
>>         On Tue, 2011-12-20 at 10:06 +0100, Mino Haluz wrote:
>>
>>>
>>>         Hi,
>>>
>>>         I have two gateways pinged by kamailio. The both are AP
>>>         (active/probing), when I cut the one gateway off, it becomes
>>>         IP(inactive/probing) but the event_route is not fired up. Am
>>>         I missing something ?
>>>
>>>         event_route[dispatcher:dst-down] {
>>>                 xlog("L_ERR", "Destination down: $rm $ru ($du)\n");
>>>         }
>>>
>>>         Mino 
>>
>>>         _______________________________________________
>>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>         sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>         -- 
>>         Peter Dunkley
>>         Technical Director
>>         Crocodile RCS Ltd
>>
>>
>>         _______________________________________________
>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>>         mailing list
>>         sr-users at lists.sip-router.org
>>         <mailto:sr-users at lists.sip-router.org>
>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Peter Dunkley
>     Technical Director
>     Crocodile RCS Ltd
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111229/e30b959b/attachment.htm>


More information about the sr-users mailing list