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
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to