[SR-Users] In-dialog BYE request, how to return back to original sender ?

2018-04-04 Thread Loic Chabert
Hi list, I'm facing an routing issue with the following sip infrastructure: ASTERISK 1 ---\___ Kamailio proxy Kamailio frontend ___ IPBX ASTERISK 2 ---/ And please find below desired call-flow: 1 - An asterisk 1 server send a call to a proxy 2 - This proxy make a location lookup, and send

Re: [SR-Users] SIPT append_body_part \x00 how to?..

2018-04-04 Thread Sergey Basov
Hi All. Does nobody have any idea how to avoid this? Thank you. -- Best regards, Sergey Basov e-mail: sergey.v.ba...@gmail.com 2018-04-03 17:07 GMT+03:00 Sergey Basov : > Hi All! > > I have some troubles with encoding hex string to use as ISUP part. > > I have next line: >

Re: [SR-Users] In-dialog BYE request, how to return back to original sender ?

2018-04-04 Thread Daniel Tryba
On Wed, Apr 04, 2018 at 11:57:55AM +0200, Loic Chabert wrote: > Question is simple (but answer will be probably more complex): how can i > sent in dialog BYE request to ASTERISK 1, and not asterisk 2. I'm confused, what does your config look like? The normal way to do this just to t_relay() these

Re: [SR-Users] rare crash at kamailio 5.0.1

2018-04-04 Thread David Escartin
hello Daniel we have seen today another case, unfortunately i dont have the sip trace but i have the core hope it's useful, it seems the same type of call with the request retransmisions and crashing after a 481 to the last retransmitted request is received (gdb) bt #0  0x0036e8a32925

Re: [SR-Users] In-dialog BYE request, how to return back to original sender ?

2018-04-04 Thread Loic Chabert
As far i read on Kamailio reposity, WITHINDLG use loose_route() function. But on BYE request, no Route headers (corresponding to asterisk 1) are available => BYE request can not be loose routed. Route headers has been remove by loadbalancer to avoid routing injections on my network (by an hacker fo

Re: [SR-Users] In-dialog BYE request, how to return back to original sender ?

2018-04-04 Thread Daniel Tryba
On Wed, Apr 04, 2018 at 05:06:13PM +0200, Loic Chabert wrote: > As far i read on Kamailio reposity, WITHINDLG use loose_route() function. > But on BYE request, no Route headers (corresponding to asterisk 1) are > available => BYE request can not be loose routed. Route headers has been > remove by l

Re: [SR-Users] SIPT append_body_part \x00 how to?..

2018-04-04 Thread Daniel-Constantin Mierla
Hello, I haven't looked at the source code, but it looks like it needs some options to make it work with zero characters. Why you had to do changes inside sipt module and not inside append_body_part()? Are you doing msg_apply_changes before use of sipt_destination()? Cheers, Daniel On 04.04.1

Re: [SR-Users] rare crash at kamailio 5.0.1

2018-04-04 Thread Daniel-Constantin Mierla
Hello, it is in my to-do list for these days to analyze this report, I got the traces, so for the moment I have all I need. Cheers, Daniel On 04.04.18 16:47, David Escartin wrote: > > hello Daniel > > > we have seen today another case, unfortunately i dont have the sip trace > > but i have the

Re: [SR-Users] SQLOps module + KEMI

2018-04-04 Thread Daniel-Constantin Mierla
Hello, Are you using master branch or 5.1.x version? It is somehow not clear for me. The last issue was present only in master, there is no need for backporting. Cheers, Daniel On 03.04.18 19:10, Igor Olhovskiy wrote: > Yup, fixed it, thanks.  > > Can backport and still waiting for implementatio

Re: [SR-Users] SQLOps module + KEMI

2018-04-04 Thread Daniel-Constantin Mierla
I think we should set that modparam by default to 1, it is what people would like more to have when using lua -- the option to reload the lua scripts, disabling it would be the exception, IMO. Other opinions? Cheers, Daniel On 03.04.18 19:55, Igor Olhovskiy wrote: > My bad with reload, sorry ) >

Re: [SR-Users] Kamailio ​ds_ping_interval Performance

2018-04-04 Thread Daniel-Constantin Mierla
Hello, On 03.04.18 03:06, Atul Thosar wrote: > Hi All, > I am using Kamailio > ​*​* > *v4.4.x* to load balanced traffic to FreeSWITCH servers. I have query > regarding ds_ping_interval and ds_probing_threshold. We have very high > traffic (around 200-400 > ​ (CPS)​ > calls per sec) hitting on Kama

Re: [SR-Users] Kamailio send 2 INVITE(lookup rewrite r-uri and append branch) request for Client behind NAT

2018-04-04 Thread Daniel-Constantin Mierla
Hello, it is not clear for me if there are two contact records in the location table. If there is only one, then you do something in the config to create the second branch. Kamailio should create only one after lookup("location"). Maybe you can share relevant parts of the config to be able to help

Re: [SR-Users] SIPT append_body_part \x00 how to?..

2018-04-04 Thread Sergey Basov
Hi Daniel, I think that kamailio while reading configuration think that \x00 character is the end of string.. -- Best regards, Sergey Basov e-mail: sergey.v.ba...@gmail.com 2018-04-04 19:47 GMT+03:00 Daniel-Constantin Mierla : > Hello, > > I haven't looked at the source code

[SR-Users] Problem capturing packets from kamailio to homer sip-capture

2018-04-04 Thread Arik Halperin
Hello, My kamailio is listening to TCP, so when I try to duplicate packets to homer, It tries to send them as TCP. From the log I see: Apr 5 08:21:45 kamprod /usr/local/sbin/kamailio[16309]: ERROR: [core/forward.c:181]: get_out_socket(): no socket found Apr 5 08:21:45 kamprod /usr/local/sbin/

Re: [SR-Users] Problem capturing packets from kamailio to homer sip-capture

2018-04-04 Thread Federico Cabiddu
Hi, is your kamailio listening at list on one udp socket? Siptrace module uses kamailio's listening socket to send out hep messages. Regards, Federico On Thu, 5 Apr 2018 08:09 Arik Halperin, wrote: > Hello, > > > > My kamailio is listening to TCP, so when I try to duplicate packets to > homer

Re: [SR-Users] Problem capturing packets from kamailio to homer sip-capture

2018-04-04 Thread David Villasmil
yep, you only enabled tcp to listen, but trying to send on udp, you need to also enabled udp ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Apr 5, 2018 at 8:16 AM, Federico Cabiddu wrote: > Hi, > is your kamailio listening at list on one udp socket