[OpenSIPS-Users] rabbit event not passing params 2.2

Răzvan Crainea razvan at opensips.org
Tue Sep 29 13:54:12 CEST 2015


So you are not seeing even the xlog() you are printing? Or you're not 
seeing anything on the rabbitmq server.
Can you check the logs to see if there are any errors related to the 
rabbitmq connection?

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 09/29/2015 01:10 PM, Tito Cumpen wrote:
> Razvan,
>
> 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.
>
> Thanks,
> Tito
>
> On Mon, Sep 28, 2015 at 5:37 AM, Răzvan Crainea <razvan at opensips.org 
> <mailto:razvan at opensips.org>> wrote:
>
>     Hi, Tito!
>
>     So you can detect the event, but you do not see any information
>     attached to it?
>
>     Best regards,
>
>     Răzvan Crainea
>     OpenSIPS Solutions
>     www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     On 09/22/2015 11:09 PM, Tito Cumpen wrote:
>>     Group,
>>
>>
>>     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.
>>
>>     Here is out I have implemented and wrapped the event.
>>
>>
>>     event_route[E_UL_AOR_DELETE] {
>>
>>     fetch_event_params("aor=$avp(aor)");
>>
>>
>>       $avp(param) =  "myip";
>>
>>         $avp(param) = $avp(aor);
>>
>>
>>     xlog("deleting this user $avp(aor) and sending it to the queue
>>     for processing as $avp(param)\n");
>>
>>
>>         raise_event("UL_AOR_DELETE", $avp(param));
>>
>>
>>     }
>>
>>
>>     startup_route {
>>
>>
>>     subscribe_event("UL_AOR_DELETE", "rabbitmq:rabbitmq/myqueue");
>>
>>     }
>>
>>     Please advise if logs or a trace are necessary.
>>
>>
>>     Thanks,
>>
>>     Tito
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150929/db5df489/attachment.htm>


More information about the Users mailing list