<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, Tito!<br>
      <br>
      So you can detect the event, but you do not see any information
      attached to it?<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 09/22/2015 11:09 PM, Tito Cumpen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANZPVB6EB+Gf_JGnxJKE1m_fQ1xN1nJ_CFai2v-drLKLrrpy7A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Group,
        <div><br>
        </div>
        <div><br>
        </div>
        <div>I am noticing issues with 2.2 dev in reference to sending
          params when raising an event route. I am not seeing params
          being sent nor the name of the event when sending event to a
          rabbitmq server declared in the startup route.</div>
        <div><br>
        </div>
        <div>Here is out I have implemented and wrapped the event.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <p class=""><span class="">event_route[E_UL_AOR_DELETE] {</span></p>
          <p class=""><span class="">   
              fetch_event_params("aor=$avp(aor)");</span></p>
          <p class=""><br>
          </p>
          <p class=""><span class="">  $avp(param) =  "myip";</span></p>
          <p class=""><span class="">    $avp(param) = $avp(aor);</span></p>
          <p class=""><span class=""></span><br>
          </p>
          <p class=""><span class="">                                   
                                                          xlog("deleting
              this user $avp(aor) and sending it to the queue for
              processing as $avp(param)\n");</span></p>
          <p class=""><span class=""></span><br>
          </p>
          <p class=""><span class=""> </span></p>
          <p class=""><span class="">    raise_event("UL_AOR_DELETE",
              $avp(param));</span></p>
          <p class=""><span class=""></span><br>
          </p>
          <p class=""><span class="">}</span></p>
          <p class=""><span class=""><br>
            </span></p>
          <p class=""><span class="">startup_route {</span></p>
          <p class=""><br>
          </p>
          <p class=""><span class="">                       
              subscribe_event("UL_AOR_DELETE",
              "rabbitmq:rabbitmq/myqueue");</span></p>
          <p class=""><span class="">                      </span></p>
          <p class="">}<br>
          </p>
          <p class=""><span class="">Please advise if logs or a trace
              are necessary.</span></p>
          <p class=""><span class=""><br>
            </span></p>
          <p class=""><span class="">Thanks,</span></p>
          <p class=""><span class="">Tito </span></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>