Re: [SR-Users] dlg_bridge

2016-04-29 Thread huseyin kalyoncu
Hello Daniel Yes, it is working just fine with UDP but it is not working when the transport of device switched to TCP. The call is stuck because getting 408 Time out for REFER. I can send a ngrep capture as soon as I get one. Thanks Huseyin On Fri, Apr 29, 2016 at 12:23 PM, Daniel-Constantin M

Re: [SR-Users] dlg_bridge

2016-04-29 Thread Daniel-Constantin Mierla
Hello, got distracted by other tasks and upcoming kamailio world stuff ... So you got it working now, right? Cheers, Daniel On 28/04/16 19:22, huseyin kalyoncu wrote: > Hello Daniel > > After all Kamailio was not calling set_contact_alias > on reply received from itself. So in reply_route bloc

Re: [SR-Users] dlg_bridge

2016-04-28 Thread huseyin kalyoncu
Hello Daniel After all Kamailio was not calling set_contact_alias on reply received from itself. So in reply_route block calling following code resolved the issue. if (src_ip == "KAMAILIO_IP_ADDRESS" && status == "200") { if ($fU == "click2call") {

Re: [SR-Users] dlg_bridge

2016-04-28 Thread huseyin kalyoncu
Hello Daniel I forgot to mention when I sent the capture file. There is only single Kamailio instance running but It listens multiple ports. 5090 for outside traffic and 5060 for inside traffic (other Kamailio servers, FS servers, etc.) On Wed, Apr 27, 2016 at 7:49 PM, huseyin kalyoncu wrote: >

Re: [SR-Users] dlg_bridge

2016-04-27 Thread huseyin kalyoncu
Hello Daniel Attachment is the full ngrep output for the sample call. On Wed, Apr 27, 2016 at 6:51 PM, Daniel-Constantin Mierla wrote: > Hello, > > can you make the full ngrep trace for the call (from initial invite sent > by kamailio, with all following sip messages) and send it over here?

Re: [SR-Users] dlg_bridge

2016-04-27 Thread Daniel-Constantin Mierla
Hello, can you make the full ngrep trace for the call (from initial invite sent by kamailio, with all following sip messages) and send it over here? Cheers, Daniel On 27/04/16 17:16, huseyin kalyoncu wrote: > Hello Daniel > > I did some more tests and my previous statement is wrong. > Actually i

Re: [SR-Users] dlg_bridge

2016-04-27 Thread huseyin kalyoncu
Hello Daniel I did some more tests and my previous statement is wrong. Actually it do call set_contact_alias on 200 reply for INVITEs but somehow it has no change. I really missing something here. On Wed, Apr 27, 2016 at 3:35 PM, huseyin kalyoncu wrote: > Hello Daniel > > You are right. 200OK m

Re: [SR-Users] dlg_bridge

2016-04-27 Thread huseyin kalyoncu
Hello Daniel You are right. 200OK messages are also with private IPs. I think the problem is that since I call dlg_bridge with Kamailio's own IP It sends INVITE messages to itself first then it routes INVITE msg to user location. Because of this i see two record routes in the INTIVE headers and 20

Re: [SR-Users] dlg_bridge

2016-04-27 Thread Daniel-Constantin Mierla
Hello, dlg_bridge is not using the location table at all, because it has to use the contact from 200ok of INVITE. Have you used set_contact_alias() for natted 200ok received for INVITE? Cheers, Daniel On 27/04/16 11:15, huseyin kalyoncu wrote: > Hello Daniel > > This is the sample output from

Re: [SR-Users] dlg_bridge

2016-04-27 Thread huseyin kalyoncu
Hello Daniel This is the sample output from our location table; kamailio=# select username,contact,received,user_agent from location where username='5678*0012'; username | contact | received| user_agent ---+-+

Re: [SR-Users] dlg_bridge

2016-04-27 Thread Daniel-Constantin Mierla
Hello, can you send the ngrep trace for such case? I would like to look at the headers to understand properly what do you mean. Cheers, Daniel On 26/04/16 15:23, huseyin kalyoncu wrote: > Hello > > I am trying to implement click 2 call functionality on Kamailio > with dlg_bridge. > But It seem