<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>So you are not seeing even the xlog() you are printing? Or
you're not seeing anything on the rabbitmq server.<br>
Can you check the logs to see if there are any errors related to
the rabbitmq connection?<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/29/2015 01:10 PM, Tito Cumpen
wrote:<br>
</div>
<blockquote
cite="mid:CANZPVB4ONPxMqFiOGCQLEFzcHVf9MB_7EBtxh+kcLuJKnpqOKA@mail.gmail.com"
type="cite">
<div dir="ltr">Razvan,
<div><br>
</div>
<div>As I am not seeing anything when transmitting to my
rabbitmq server. I've ran traces locally and neither the
title of the published item is sent nor the params that are
being declared in the event route.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tito</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 28, 2015 at 5:37 AM, Răzvan
Crainea <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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 cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div>On 09/22/2015 11:09 PM, Tito Cumpen wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<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><span>event_route[E_UL_AOR_DELETE] {</span></p>
<p><span>
fetch_event_params("aor=$avp(aor)");</span></p>
<p><br>
</p>
<p><span> $avp(param) = "myip";</span></p>
<p><span> $avp(param) = $avp(aor);</span></p>
<p><span></span><br>
</p>
<p><span>
xlog("deleting this user $avp(aor) and
sending it to the queue for processing as
$avp(param)\n");</span></p>
<p><span></span><br>
</p>
<p><span> </span></p>
<p><span> raise_event("UL_AOR_DELETE",
$avp(param));</span></p>
<p><span></span><br>
</p>
<p><span>}</span></p>
<p><span><br>
</span></p>
<p><span>startup_route {</span></p>
<p><br>
</p>
<p><span>
subscribe_event("UL_AOR_DELETE",
"rabbitmq:rabbitmq/myqueue");</span></p>
<p><span> </span></p>
<p>}<br>
</p>
<p><span>Please advise if logs or a trace are
necessary.</span></p>
<p><span><br>
</span></p>
<p><span>Thanks,</span></p>
<p><span>Tito </span></p>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</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>