[sr-dev] [kamailio/kamailio] when using terminate_dlg via xmlrpc, not able to generate proper bye message, if request is behind nat. (#1689)

Surendra Tiwari notifications at github.com
Mon Oct 29 11:16:42 CET 2018


i just checked the code and found that https://github.com/kamailio/kamailio/blob/98ee25c6da118cadedd98621c580ed4df3a7e860/src/modules/dialog/dlg_req_within.c#L95
```
if(uri_restore_rcv_alias(&cell->contact[dir], &nuri, &duri)<0) {
		nuri.len = 0;
		duri.len = 0;
	}

```
This function is setting nuri, that is subsequently used as request uri. Problem here is nuri does not contains the alias parameters in uri.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1689#issuecomment-433856774
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181029/481627b3/attachment.html>


More information about the sr-dev mailing list