# &faqguide;

What is the maximum lenght of a AMQP message?

The maximum length of a datagram event is 16384 bytes.

Where can I find more about OpenSIPS?

Take a look at &osipshomelink;.

What is the vhost used by the AMQP server?

Currently, the only vhost supported is '/'.

How can I set a vhost in the socket?

This version doesn't support a different vhost.

How can I send an event to my RabbitMQ server?

This module acts as a transport module for the OpenSIPS Event Interface. Therefore, this module should follow the Event Interface behavior:

The first step is to subscribe the RabbitMQ server to the OpenSIPS Event Interface. This can be done using the subscribe_event core function:

## Event subscription

    startup_route {
    	subscribe_event("E_RABBITMQ_EVENT", "rabbitmq:127.0.0.1/queue");
    }

The next step is to raise the event from the script, using the raise_event core function:

## Event subscription

    route {
    	...
    	/* decided that an event should be raised */
    	raise_event("E_RABBITMQ_EVENT");
    	...
    }

NOTE that the event used above is only to exemplify the usage from the script. Any event published through the OpenSIPS Event Interface can be raised using this module.

Where can I find more information about RabbitMQ?

You can find more information about RabbitMQ on their official website ( http://www.rabbitmq.com/).

Where can I post a question about this module?

First at all check if your question was already answered on one of our mailing lists:

- User Mailing List - &osipsuserslink;

- Developer Mailing List - &osipsdevlink;

E-mails regarding any stable &osips; release should be sent to &osipsusersmail; and e-mails regarding development versions should be sent to &osipsdevmail;.

If you want to keep the mail private, send it to &osipshelpmail;.

How can I report a bug?

Please follow the guidelines provided at: &osipsbugslink;.