<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    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.<br>
    <br>
    Try with latest git branch 3.2, I just pushed the fix for it.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 12/29/11 11:19 AM, Mino Haluz wrote:
    <blockquote
cite="mid:CAFA7yDTv3w1mOe1ijnBv_bWdvW6g3PXqn26pR3805fxq+sk1UA@mail.gmail.com"
      type="cite">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...<br>
      <br>
      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 ..<br>
      <br>
      Is there any debugging procedure of event-routes?<br>
      <br>
      <div class="gmail_quote">On Tue, Dec 20, 2011 at 11:13 AM, Peter
        Dunkley <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:peter.dunkley@crocodile-rcs.com">peter.dunkley@crocodile-rcs.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div>
            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?<br>
            <br>
            Do you see anything else in /var/log/messages at this point?<br>
            <font color="#888888">
              <br>
              Peter</font>
            <div>
              <div class="h5"><br>
                <br>
                On Tue, 2011-12-20 at 11:05 +0100, Mino Haluz wrote:<br>
                <blockquote type="CITE"> nightly build 3.2.1.<br>
                  <br>
                  compiled on 05:08:17 Dec 19 2011 with gcc 4.4.5<br>
                  <br>
                </blockquote>
                <blockquote type="CITE"> On Tue, Dec 20, 2011 at 10:49
                  AM, Peter Dunkley &lt;<a moz-do-not-send="true"
                    href="mailto:peter.dunkley@crocodile-rcs.com"
                    target="_blank">peter.dunkley@crocodile-rcs.com</a>&gt;
                  wrote:
                </blockquote>
                <blockquote type="CITE">
                  <blockquote> Hello,<br>
                    <br>
                    What version of Kamailio are you using?<br>
                    <br>
                    The dispatcher "event_route"s were added in Kamailio
                    3.2.0 so this will only work in Kamailio 3.2.0 and
                    later.<br>
                    <br>
                    Regards,<br>
                    <br>
                    Peter </blockquote>
                </blockquote>
                <blockquote type="CITE">
                  <blockquote> <br>
                  </blockquote>
                </blockquote>
                <blockquote type="CITE">
                  <blockquote> <br>
                    <br>
                    On Tue, 2011-12-20 at 10:06 +0100, Mino Haluz wrote:<br>
                    <br>
                  </blockquote>
                </blockquote>
                <blockquote type="CITE">
                  <blockquote>
                    <blockquote type="CITE"> <br>
                    </blockquote>
                  </blockquote>
                </blockquote>
                <blockquote type="CITE">
                  <blockquote>
                    <blockquote type="CITE"> Hi,<br>
                      <br>
                      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 ?<br>
                      <br>
                      event_route[dispatcher:dst-down] {<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("L_ERR", "Destination down: $rm $ru
                      ($du)\n");<br>
                      }<br>
                      <br>
                      Mino </blockquote>
                  </blockquote>
                </blockquote>
                <blockquote type="CITE">
                  <blockquote>
                    <blockquote type="CITE">
                      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                    </blockquote>
                    <br>
                    <table cellpadding="0" cellspacing="0" width="100%">
                      <tbody>
                        <tr>
                          <td>
                            <pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </blockquote>
                </blockquote>
                <blockquote type="CITE">
                  <blockquote> <br>
                    _______________________________________________<br>
                    SIP Express Router (SER) and Kamailio (OpenSER) -
                    sr-users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:sr-users@lists.sip-router.org"
                      target="_blank">sr-users@lists.sip-router.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                      target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                    <br>
                  </blockquote>
                </blockquote>
                <blockquote type="CITE"> <br>
                  <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                </blockquote>
                <br>
                <table cellpadding="0" cellspacing="0" width="100%">
                  <tbody>
                    <tr>
                      <td>
                        <pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
          mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
            target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>