{"action":"created","issue":{"url":"https://api.github.com/repos/dOpensource/dsiprouter/issues/132","repository_url":"https://api.github.com/repos/dOpensource/dsiprouter","labels_url":"https://api.github.com/repos/dOpensource/dsiprouter/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/dOpensource/dsiprouter/issues/132/comments","events_url":"https://api.github.com/repos/dOpensource/dsiprouter/issues/132/events","html_url":"https://github.com/dOpensource/dsiprouter/issues/132","id":425301633,"node_id":"MDU6SXNzdWU0MjUzMDE2MzM=","number":132,"title":"Incorrect Port Number When Using TLS","user":{"login":"samehawwad","id":48945733,"node_id":"MDQ6VXNlcjQ4OTQ1NzMz","avatar_url":"https://avatars0.githubusercontent.com/u/48945733?v=4","gravatar_id":"","url":"https://api.github.com/users/samehawwad","html_url":"https://github.com/samehawwad","followers_url":"https://api.github.com/users/samehawwad/followers","following_url":"https://api.github.com/users/samehawwad/following{/other_user}","gists_url":"https://api.github.com/users/samehawwad/gists{/gist_id}","starred_url":"https://api.github.com/users/samehawwad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samehawwad/subscriptions","organizations_url":"https://api.github.com/users/samehawwad/orgs","repos_url":"https://api.github.com/users/samehawwad/repos","events_url":"https://api.github.com/users/samehawwad/events{/privacy}","received_events_url":"https://api.github.com/users/samehawwad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-26T09:14:15Z","updated_at":"2019-03-26T12:52:21Z","closed_at":null,"author_association":"NONE","body":"I installed dSIPRouter with RTP and NAT support. My goal is to perform Pass Thru authentication over the TLS protocol. It works just fine over the UDP protocol, but I've managed to compile the TLS module manually and transfer it to dSIPRouter. When using TLS, the source port number Kamailio used to establish a session with the PBX is incorrectly defined in the SIP headers when sending replies back to the clients. So clients communicate with dSIPRouter over TLS port 5061, dSIPRouter communicates with the PBX using a dynamic source port number, and then replies to the clients with that dynamic port number defined in SIP headers (record-route). Finally, the clients try to communicates with dSIPRouter over that port in which Kamailio doesn't even listen on it. Your help is appreciated."},"comment":{"url":"https://api.github.com/repos/dOpensource/dsiprouter/issues/comments/476612601","html_url":"https://github.com/dOpensource/dsiprouter/issues/132#issuecomment-476612601","issue_url":"https://api.github.com/repos/dOpensource/dsiprouter/issues/132","id":476612601,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NjYxMjYwMQ==","user":{"login":"devopsec","id":18452447,"node_id":"MDQ6VXNlcjE4NDUyNDQ3","avatar_url":"https://avatars3.githubusercontent.com/u/18452447?v=4","gravatar_id":"","url":"https://api.github.com/users/devopsec","html_url":"https://github.com/devopsec","followers_url":"https://api.github.com/users/devopsec/followers","following_url":"https://api.github.com/users/devopsec/following{/other_user}","gists_url":"https://api.github.com/users/devopsec/gists{/gist_id}","starred_url":"https://api.github.com/users/devopsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devopsec/subscriptions","organizations_url":"https://api.github.com/users/devopsec/orgs","repos_url":"https://api.github.com/users/devopsec/repos","events_url":"https://api.github.com/users/devopsec/events{/privacy}","received_events_url":"https://api.github.com/users/devopsec/received_events","type":"User","site_admin":false},"created_at":"2019-03-26T12:52:21Z","updated_at":"2019-03-26T12:52:21Z","author_association":"COLLABORATOR","body":"This is the default behavior of the TLS protocol.\r\nThat being said dSIPRouter has not been tested with TLS support enabled in kamailio.\r\nThis would be a good feature for v0.60.\r\n\r\nI'll tag this for v0.60 and please reply with your current TLS settings in your `kamailio.cfg`"}}
{"actor":{"display_login":"devopsec"}}