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

2018-10-29 Thread Daniel-Constantin Mierla
Closed #1689. -- 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#event-1932909404___ Kamailio (SER) - Development Mailing List

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

2018-10-29 Thread Surendra Tiwari
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(>contact[dir], , )<0) { nuri.len = 0; duri.len = 0; } ``` This

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

2018-10-29 Thread Daniel-Constantin Mierla
The alias parameter of Contact should be handled internally by kamailio only if there is no Route set, but it is not the case here. I will look at the code. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

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

2018-10-26 Thread Surendra Tiwari
contactsip:gw+plivo.com@13.57.90.158:5080;transport=tcp;transport=tcp;gw=plivo.com;alias=13.57.90.158~50188~2 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

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

2018-10-26 Thread Surendra Tiwari
yes, i can reproduce this again. for sure , i will paste the dialog structure here. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

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

2018-10-26 Thread Daniel-Constantin Mierla
Can you reproduce the scenario and look into the dialog structure for such call, either with a rpc command or in the database dialog table, and see what are the values for contact fields? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view

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

2018-10-26 Thread Surendra Tiwari
13.57.90.158:49325 == 54.183.206.134:5060 [kamailio] <==BYE== 13.57.122.212:5060 [kamailio] ===BYE===> 18.214.109.132:5060 [kamailio] 13.57.122.212 generating the bye to both side. BYE is not getting forwarded from 54.183.206.134 to 13.57.90.158 as request uri do not contain the alias. Its

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

2018-10-26 Thread Daniel-Constantin Mierla
Can you list the IP addresses of the nodes involved in the call and their role, as well as which is the one running kamailio with dialog? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

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

2018-10-25 Thread Surendra Tiwari
### Description Using xmlrpc command to generate the bye using terminate_dlg request: ### Troubleshooting Reproduction use xmlrpc request to terminate the dialog ``` curl --data @xmlrpc http://13.57.122.212:8080/RPC ``` xmlrpc file will have following things ``` dlg.terminate_dlg