[OpenSIPS-Devel] [opensips] event_rabbitmq: exchange name passed to wrong parameter in amqp_basic_publish (#220)
cityant
notifications at github.com
Sun May 4 05:56:16 CEST 2014
In rabbitmq_send.c::rmq_sendmsg(rmq_send_t *rmqs), exchange name is passed to the wrong parameter in amqp_basic_publish.
The signature of amqp_basic_publish is amqp_basic_publish (amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t routing_key, amqp_boolean_t mandatory, amqp_boolean_t immediate, struct amqp_basic_properties_t_ const *properties, amqp_bytes_t body).
That is, exchange should be the 3rd paraemter instead of 4th one which is the current rabbitmq_send.c.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140503/b7993e99/attachment.htm>
More information about the Devel
mailing list