<p>In rabbitmq_send.c::rmq_sendmsg(rmq_send_t *rmqs), exchange name is passed to the wrong parameter in amqp_basic_publish. </p>

<p>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).</p>

<p>That is, exchange should be the 3rd paraemter instead of 4th one which is the current  rabbitmq_send.c.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/issues/220'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNDc5NDk3NiwiZGF0YSI6eyJpZCI6MzEzOTA4MjB9fQ==--8bc02b4e5474585de5f4d911fa3ba1ca0b0339a5.gif' height='1' width='1'></p>