{"action":"created","issue":{"url":"https://api.github.com/repos/davehorton/drachtio-b2b-media-proxy/issues/2","repository_url":"https://api.github.com/repos/davehorton/drachtio-b2b-media-proxy","labels_url":"https://api.github.com/repos/davehorton/drachtio-b2b-media-proxy/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/davehorton/drachtio-b2b-media-proxy/issues/2/comments","events_url":"https://api.github.com/repos/davehorton/drachtio-b2b-media-proxy/issues/2/events","html_url":"https://github.com/davehorton/drachtio-b2b-media-proxy/issues/2","id":344731945,"node_id":"MDU6SXNzdWUzNDQ3MzE5NDU=","number":2,"title":"using as a gateway","user":{"login":"salihy","id":4982519,"node_id":"MDQ6VXNlcjQ5ODI1MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4982519?v=4","gravatar_id":"","url":"https://api.github.com/users/salihy","html_url":"https://github.com/salihy","followers_url":"https://api.github.com/users/salihy/followers","following_url":"https://api.github.com/users/salihy/following{/other_user}","gists_url":"https://api.github.com/users/salihy/gists{/gist_id}","starred_url":"https://api.github.com/users/salihy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salihy/subscriptions","organizations_url":"https://api.github.com/users/salihy/orgs","repos_url":"https://api.github.com/users/salihy/repos","events_url":"https://api.github.com/users/salihy/events{/privacy}","received_events_url":"https://api.github.com/users/salihy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-26T07:47:50Z","updated_at":"2018-07-26T07:59:19Z","closed_at":null,"author_association":"NONE","body":"Is it possible to use this as a gateway? What I need is when there is 2 seperate networks and my server has 2 interface for each network, one interface will communicate to trunk for both signaling(drachtio) and media(rtpengine) and other interface will communicate with sip clients for both signaling and media and it will route traffic between those legs? I tried to do it, I added 2 interfaces, I also configured routes but rtpengine tries to send rtp from the original interface (since there is no routing, it cannot send it).\r\n\r\nYou can find pcap file attached:  [log19.zip](https://github.com/davehorton/drachtio-b2b-media-proxy/files/2230944/log19.zip)\r\n\r\n![image](https://user-images.githubusercontent.com/4982519/43248675-484d77e8-90c1-11e8-948a-450b1d5ec21d.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/davehorton/drachtio-b2b-media-proxy/issues/comments/408011258","html_url":"https://github.com/davehorton/drachtio-b2b-media-proxy/issues/2#issuecomment-408011258","issue_url":"https://api.github.com/repos/davehorton/drachtio-b2b-media-proxy/issues/2","id":408011258,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODAxMTI1OA==","user":{"login":"salihy","id":4982519,"node_id":"MDQ6VXNlcjQ5ODI1MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/4982519?v=4","gravatar_id":"","url":"https://api.github.com/users/salihy","html_url":"https://github.com/salihy","followers_url":"https://api.github.com/users/salihy/followers","following_url":"https://api.github.com/users/salihy/following{/other_user}","gists_url":"https://api.github.com/users/salihy/gists{/gist_id}","starred_url":"https://api.github.com/users/salihy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salihy/subscriptions","organizations_url":"https://api.github.com/users/salihy/orgs","repos_url":"https://api.github.com/users/salihy/repos","events_url":"https://api.github.com/users/salihy/events{/privacy}","received_events_url":"https://api.github.com/users/salihy/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T07:59:19Z","updated_at":"2018-07-26T07:59:19Z","author_association":"NONE","body":"I think there is nothing wrong with drachtio, drachtio communicates correctly, but rtpengine does not. You can see the log file attached.\r\n```\r\n\r\n        <contacts>\r\n            <contact>sip:*;transport=udp,tcp</contact>\r\n            <!-- local sip address to bind to.  Default: 'sip:*', which means listens on port 5060 on all interfaces and transports -->\r\n            <!--\r\n                    Other examples:\r\n                        sip:192.168.1.100        listen on a specific address\r\n                        sip:*;transport=tcp      tcp connections only\r\n                        sip:*:5061               listen on port 5061\r\n            -->\r\n\r\n\r\n            <!-- here's how to listen for every protocol on their default ports -->\r\n<!--\r\n            <contact>sip:*:80;transport=ws</contact>\r\n            <contact>sips:*;transport=tls</contact>\r\n            <contact>sips:*:443;transport=wss</contact>\r\n-->\r\n\r\n        </contacts>\r\n```"}}
{"actor":{"display_login":"salihy"}}