{"action":"created","issue":{"url":"https://api.github.com/repos/meetecho/janus-gateway/issues/435","labels_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/435/comments","events_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/435/events","html_url":"https://github.com/meetecho/janus-gateway/issues/435","id":124747829,"number":435,"title":"Outgoing rabbitmq queue's name is overwritten/wiped","user":{"login":"Eltiech","id":3485966,"avatar_url":"https://avatars.githubusercontent.com/u/3485966?v=3","gravatar_id":"","url":"https://api.github.com/users/Eltiech","html_url":"https://github.com/Eltiech","followers_url":"https://api.github.com/users/Eltiech/followers","following_url":"https://api.github.com/users/Eltiech/following{/other_user}","gists_url":"https://api.github.com/users/Eltiech/gists{/gist_id}","starred_url":"https://api.github.com/users/Eltiech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eltiech/subscriptions","organizations_url":"https://api.github.com/users/Eltiech/orgs","repos_url":"https://api.github.com/users/Eltiech/repos","events_url":"https://api.github.com/users/Eltiech/events{/privacy}","received_events_url":"https://api.github.com/users/Eltiech/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-04T12:07:57Z","updated_at":"2016-01-04T14:21:29Z","closed_at":"2016-01-04T14:21:29Z","body":"I have the transport config at its defaults(other than it being enabled). However, no matter what I set it to, janus seems to be sending outgoing messages to a queue with all the characters in its name nulled out.\r\n\r\nHere's the output of rabbitmq's firehose tracer, viewed via [this python script](https://gist.github.com/khomenko/2562165)\r\n\r\n    [x] 'publish.':u'spitfire@spitfire':[u'to-janus']:'{\"janus\":\"create\",\"transaction\":\"xasu9jgdxrxgk3xr\"}'\r\n    [x] 'deliver.to-janus':u'spitfire@spitfire':[u'to-janus']:'{\"janus\":\"create\",\"transaction\":\"xasu9jgdxrxgk3xr\"}'\r\n    [x] 'publish.':u'spitfire@spitfire':[u'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00']:'{\\n   \"janus\": \"success\",\\n   \"transaction\": \"xasu9jgdxrxgk3xr\",\\n   \"data\": {\\n      \"id\": 4271151692\\n   }\\n}'\r\n    [x] 'publish.':u'spitfire@spitfire':[u'to-janus']:'{\"janus\":\"create\",\"transaction\":\"ngoxvqs8fuk57b9\"}'\r\n    [x] 'deliver.to-janus':u'spitfire@spitfire':[u'to-janus']:'{\"janus\":\"create\",\"transaction\":\"ngoxvqs8fuk57b9\"}'\r\n    [x] 'publish.':u'spitfire@spitfire':[u'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00']:'{\\n   \"janus\": \"success\",\\n   \"transaction\": \"ngoxvqs8fuk57b9\",\\n   \"data\": {\\n      \"id\": 4118201706\\n   }\\n}'\r\n\r\n\r\nAnd here's the janus debug output\r\n\r\n    Loading transport plugin 'libjanus_rabbitmq.so'...\r\n    JANUS RabbitMQ transport plugin created!\r\n    Configuration file: /etc/janus/janus.transport.rabbitmq.cfg\r\n    [janus.transport.rabbitmq.cfg]\r\n        [general]\r\n            enable: yes\r\n            host: localhost\r\n            to_janus: to-janus\r\n            from_janus: from-janus\r\n        [admin]\r\n    RabbitMQ support for Janus API enabled, localhost:5672 (to-janus/from-janus)\r\n    [WARN] RabbitMQ support disabled (Admin API)\r\n    Creating RabbitMQ socket...\r\n    Connecting to RabbitMQ server...\r\n    Logging in...\r\n    Joining EchoTest handler thread\r\n    EchoTest watchdog started\r\n    Joining VideoRoom handler thread\r\n    VideoRoom watchdog started\r\n    Opening channel...\r\n    Declaring incoming queue... (to-janus)\r\n    Declaring outgoing queue... (from-janus)\r\n    Setup of RabbitMQ integration completed\r\n    JANUS RabbitMQ transport plugin initialized!\r\n            Version: 1 (0.0.1)\r\n            [janus.transport.rabbitmq] JANUS RabbitMQ transport plugin\r\n            This transport plugin adds RabbitMQ support to the Janus API via rabbitmq-c.\r\n            Plugin API version: 5\r\n            Janus API: enabled\r\n            Admin API: disabled\r\n    [WARN] Transport plugin 'libjanus_http.so' has been disabled, skipping...\r\n    [WARN] Transport plugin 'libjanus_websockets.so' has been disabled, skipping...\r\n    Sessions watchdog started\r\n    Joining RabbitMQ out thread\r\n    Joining RabbitMQ in thread\r\n    Frame type 1, channel 1\r\n    Method AMQP_BASIC_DELIVER_METHOD\r\n    Delivery #1, to-janus\r\n    -- This is a Janus API request\r\n    Frame type 2, channel 1\r\n    Frame type 3, channel 1\r\n    Got 51/51 bytes from the Janus API queue (51)\r\n    {\"janus\":\"create\",\"transaction\":\"fzxeex4ug0la0pb9\"}\r\n    Got a Janus API request from janus.transport.rabbitmq (0x23128c0)\r\n    Transport task pool, serving request\r\n    Creating new session: 488741953\r\n    Sending Janus API response to janus.transport.rabbitmq (0x23128c0)\r\n    Sending Janus API event via RabbitMQ\r\n    Sending Janus API message to RabbitMQ (104 bytes)...\r\n    {\r\n    \"janus\": \"success\",\r\n    \"transaction\": \"fzxeex4ug0la0pb9\",\r\n    \"data\": {\r\n        \"id\": 488741953\r\n    }\r\n    }\r\n    Timeout expired for session 488741953...\r\n    Sending Janus API event via RabbitMQ\r\n    Sending Janus API message to RabbitMQ (53 bytes)...\r\n    {\r\n    \"janus\": \"timeout\",\r\n    \"session_id\": 488741953\r\n    }\r\n    [janus.c:janus_cleanup_session:286] Cleaning up session 488741953...\r\n    Destroying session 488741953\r\n\r\n\r\nI'm on the latest version of janus and librabbitmq-c. Let me know if there's anything else needed to troubleshoot this."},"comment":{"url":"https://api.github.com/repos/meetecho/janus-gateway/issues/comments/168689256","html_url":"https://github.com/meetecho/janus-gateway/issues/435#issuecomment-168689256","issue_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/435","id":168689256,"user":{"login":"Eltiech","id":3485966,"avatar_url":"https://avatars.githubusercontent.com/u/3485966?v=3","gravatar_id":"","url":"https://api.github.com/users/Eltiech","html_url":"https://github.com/Eltiech","followers_url":"https://api.github.com/users/Eltiech/followers","following_url":"https://api.github.com/users/Eltiech/following{/other_user}","gists_url":"https://api.github.com/users/Eltiech/gists{/gist_id}","starred_url":"https://api.github.com/users/Eltiech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eltiech/subscriptions","organizations_url":"https://api.github.com/users/Eltiech/orgs","repos_url":"https://api.github.com/users/Eltiech/repos","events_url":"https://api.github.com/users/Eltiech/events{/privacy}","received_events_url":"https://api.github.com/users/Eltiech/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T14:21:29Z","updated_at":"2016-01-04T14:21:29Z","body":"Yep, looks great. Thanks man."}}