<div dir="ltr">Any idea what has broken in the current dev version ?<div><br></div><div><br></div><div>Thanks,</div><div>Tito</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 9:17 PM, Tito Cumpen <span dir="ltr"><<a href="mailto:tito@xsvoce.com" target="_blank">tito@xsvoce.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Razvan,<div><br></div><div><br></div><div>The connection looks fine check this output from the logs</div><div><br></div><div><br></div><div>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding int param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:destroy_avp_list: destroying list (nil)</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding int param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:destroy_avp_list: destroying list (nil)</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding int param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:destroy_avp_list: destroying list (nil)</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding int param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:destroy_avp_list: destroying list (nil)</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding int param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:destroy_avp_list: destroying list (nil)</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_raise_event_msg: found subscriber E_UL_AOR_DELETE</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:event_route:scriptroute_fetch: Fetching parameters for event E_UL_AOR_DELETE</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:event_route:scriptroute_fetch: Successfully fetched 1 parameters</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:buf_init: initializing...</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: deleting this user patientdemo2.gmail and sending it to the queue for processing as patientdemo2.gmail</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_param_set: adding string param</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:evi_raise_event_msg: found subscriber MyrabbitserverIP</span></p>
<p><span>Oct 2 01:06:34 cloud-server-06 /sbin/opensips[15024]: DBG:core:destroy_avp_list: destroying list 0x7fafc8510150</span></p>
<p><span>Oct 2 01:06:39 cloud-server-06 /sbin/opensips[15042]: DBG:core:tcp_read_req: Using the global ( per process ) buff</span></p>
<p><span>Oct 2 01:06:39 cloud-server-06 /sbin/opensips[15042]: DBG:core:tcp_handle_req: content-length= 0</span></p>
<p><span>Oct 2 01:06:39 cloud-server-06 /sbin/opensips[15042]: DBG:core:async_tsend_stream: Async successful write from first try on 0x7fafc850e418</span></p>
<p><span>Oct 2 01:06:39 cloud-server-06 /sbin/opensips[15042]: DBG:core:tcp_read_req: tcp_read_req end</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:probe_max_sock_buff: getsockopt: snd is initially 425984</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: INFO:core:probe_max_sock_buff: using snd buffer of 416 kb</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 63</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:print_ip: tcpconn_new: new tcp connection to: 50.56.XX.xXX</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:tcpconn_new: on port 56177, proto 2</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:tcpconn_add: hashes: 835, 62</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:handle_new_connect: new connection: 0x7fafc8510408 63 flags: 0006</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: INFO:core:send2child: no free tcp receiver, connection passed to the least busy one (1)</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:send2child: to tcp child 0 0(15039), 0x7fafc8510408 rw 1</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:handle_io: We have received conn 0x7fafc8510408 with rw 1 on fd 44</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:io_watch_add: [TCP_worker] io_watch_add op (44 on 7) (0x876720, 44, 19, 0x7fafc8510408,1), fd_no=3/2111</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:tcp_read_req: Using the global ( per process ) buff</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:tcp_read: EOF on 0x7fafc8510408, FD 44</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:tcp_read_req: EOF received</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:io_watch_del: [TCP_worker] io_watch_del op on index 1 44 (0x876720, 44, 1, 0x10,0x3) fd_no=4 called</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:tcpconn_release: releasing con 0x7fafc8510408, state -1, fd=-1, id=62</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15039]: DBG:core:tcpconn_release: extra_data (nil)</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:handle_tcp_worker: reader response= 7fafc8510408, -1 from 0</span></p>
<p><span>Oct 2 01:06:48 cloud-server-06 /sbin/opensips[15053]: DBG:core:tcpconn_destroy: destroying connection 0x7fafc8510408, flags 0006</span></p><p><span><br></span></p><p><span><br></span></p><p>Within the transmission to the queuing server I only the queue being(sip1dev) declared and nothing else.</p><p><br></p><p><span>T opensips:57646 -> rabbitmqserver:5672 [AP]</span></p><p><span>........<.(....sip1dev..</span></p><p><span>#</span></p><p><span>T opensips:57646 -> rabbitmqserver:5672 [AP]</span></p><p><span>........<.............</span></p><p><span>#</span></p><p><span>T opensips:57646 -> rabbitmqserver:5672 [AP]</span></p><p><span>.........</span></p><p><span>#</span></p><p>
</p><p><span>T rabbitmqserver:5672 ->opensips:57646 [A]</span></p><p><br></p><p><br></p><p>I am using the exact same logic as far as raising events with the rabbit module goes in opensips 1.11.1-notls </p>
</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 4:54 AM, Răzvan Crainea <span dir="ltr"><<a 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>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><span>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span><div><div><div>On 09/29/2015 01:10 PM, Tito Cumpen
wrote:<br>
</div>
<blockquote 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 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 href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 09/22/2015 11:09 PM, Tito Cumpen wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<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 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a 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></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a 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>
</div></div></blockquote></div><br></div>