wazo-platform / wazo-res-stasis-amqp

Asterisk module to publish stasis events to an AMQP server
GNU General Public License v2.0
5 stars 6 forks source link

Error logging into AMQP #7

Closed Khuman2 closed 5 years ago

Khuman2 commented 5 years ago

I try to configure connection with non default params. When sending test message obtain "Error login" message. My amqp.conf: [general] enabled = yes ; Set to no to disable

[asterisk] type = connection url = amqp://username@2.2.2.2:15672/MYVHOSTNAME password = somepassword max_frame_bytes = 262144 heartbeat_seconds = 0

After sending message I've got: amqp test send connection asterisk queue MYQUEUE message Test No connection named asterisk [2019-04-16 12:00:16] ERROR[23569]: res_amqp.c:231 amqp_connection_create: Error logging into AMQP But connection is present in asterisk: CLI>amqp show connection asterisk Name: asterisk URL: amqp://username@2.2.2.2:15672/MYVHOSTNAME Max frame size: 262144 bytes Heartbeat: disabled Can anybody help with config?