[OpenSIPS-Users] support for cloudamqp

Tito Cumpen tito at xsvoce.com
Mon Apr 24 03:35:29 EDT 2017


Razvan,

How do specify the virtualhost in 2.3?  can you send me a sample of the
syntax ?

On Apr 24, 2017 3:30 AM, "Răzvan Crainea" <razvan at opensips.org> wrote:

> Hi, Tito!
>
> You are right, this is not possible with the event_rabbitmq module,
> because there is no way to specify the virtual host in the url.
> But you can use the latest rabbitmq module in OpenSIPS 2.3.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutionswww.opensips-solutions.com
>
> On 04/21/2017 09:53 PM, Tito Cumpen wrote:
>
> Hey Razvan,
>
> I tried the following on Opensips:
>
>   subscribe_event("E_ACC_EVENT","rabbitmq:vhostuser:pw at host.
> cloudamqp.com/vhostuser/queuename");
>
> their URL string is in this format :
>
> amqp://vhostusert:pw@host.cloudamqp.com/vhostuser
>
>
> When Opensips tries to connect to this queue it sends
>
> / as the argument for openvhost
>
> Cloudamqp replies with
>
>
> NOT_ALLOWED - access to vhost '/' refused for user 'vhostuser'
>
>
> Is my opensips syntax incorrect ? or is this a bug ?
>
> Also I am not sure what you mean by immediate.
>
> Thanks,
>
> Tito
>
>
>
> On Fri, Apr 21, 2017 at 5:56 AM, Răzvan Crainea <razvan at opensips.org>
> wrote:
>
>> Hi, Tito!
>>
>> I've just made a free cloudamqp account for testing and used the new
>> rabbitmq module to send a message in the queue. The message was not
>> published initially due to the fact that I was using the "immediate" flag,
>> (I was receiving NOT_IMPLEMENTED, probably because the free account lacks
>> some features), but after I removed the setting the message was
>> successfully delivered in the queue.
>> I didn't test with the event_rabbitmq module though, but I imagine it
>> will work too, since both modules (event_rabbitmq and rabbitmq) use the
>> same AMQP library.
>> Can you detail a bit how you tested so we can find where the problem is
>> on your setup?
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Solutionswww.opensips-solutions.com
>>
>> On 04/20/2017 09:18 PM, Tito Cumpen wrote:
>>
>> Hello,
>>
>> I was wondering if there was any intention to update the amqp support to
>> allow opensips to post events to cloudamqp(https://www.cloudamqp.com).
>> When I try to connect cloudamqp it fails because it is outdated.
>>
>> Thanks,
>> Tito
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://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
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://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/20170424/8de5fc35/attachment.html>


More information about the Users mailing list