Re: [SR-Users] Kamailio routing BYE back to originator

2019-06-24 Thread Andrew White
Hi Alex, Thanks so much, I owe you a beer at the next conference we’re both at! You were completely correct, I was adjusting the contact header to reflect the trunks host unintentionally when passing through Kamailio, This was working fine on another trunk (that Asterisk was using) because

Re: [SR-Users] Kamailio routing BYE back to originator

2019-06-23 Thread Alex Balashov
Hello Andrew, Kamailio's routing of in-dialog requests is per standard RFC 3261 prescriptions and isn't terribly complicated. General principles of in-dialog requests (which includes a BYE): 1. The request URI of an in-dialog request must be set to the Contact URI of the remote party. For

Re: [SR-Users] Kamailio routing BYE back to originator

2019-06-23 Thread Andrew White
Hi all, I’ve done some digging and realised that outbound calls I initiate Asterisk -> Kamailio -> Trunk are receiving the BYE correctly. However the previously provided flow was Drachtio -> Kamailio -> Trunk. I suspect the dialog is not being initialised correctly in some way from Drachtio.

[SR-Users] Kamailio routing BYE back to originator

2019-06-23 Thread Andrew White
Hi team! I’ve recently found an issue in my Kamailio setup. It appears when the trunk replies to call in progress with a BYE, we relay it immediately back to them: https://i.imgur.com/h5fusau.png The only differences in the second BYE is the Route header is