[SR-Users] enable topology hiding on one side or dynamic ip in topoh module Contact and Via Header

2022-03-16 Thread Patrick Karton
Hello , im using kamailio with two interfaces external and internal. i need a way either to : * enable topoh hiding only when outgoing interface is external ( mask contact and Via ip only when ougoing interface is external * or if it is not possible to enable it only in one direction.i

Re: [SR-Users] sanity from uri check

2022-03-16 Thread Daniel-Constantin Mierla
Just noticed that the previous git push failed for what so ever reason -- I did it again and now the commit should be in the repo. Daniel On 16.03.22 14:47, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> I pushed another commit. I tested a few cases: > Which commit was it? I just b

Re: [SR-Users] properly removing First Via header received

2022-03-16 Thread Patrick Karton
i tried also with remove_hf_value but still the same problem. sometimes i have a line only with ";received=x.x.x.x;rport=" and sometimes even worse the next header does not start on a new line like this ";received=x.x.x.x;rport=Max-Forward: 70" De : sr-us

Re: [SR-Users] Forking for scripts?

2022-03-16 Thread Daniel-Constantin Mierla
Hello, look at evrexec module. Cheers, Daniel On 16.03.22 12:09, Matthias Urlichs wrote: > Me again, >> Is it possible to run a background Python script within Kamailio? >> I.e. call "fork_process" and then a non-terminating "python_exec()" >> from the child? >> > Alternately: is it safe to star

Re: [SR-Users] properly removing First Via header received

2022-03-16 Thread James Browne
I don't know about the lump, but maybe try remove_hf_value instead. This should also work if/when multiple Via values are comma-separated in a single header field. https://www.kamailio.org/docs/modules/devel/modules/textopsx.html#textopsx.f.remove_hf_value James On Wed, 16 Mar 2022 at 08:19, Patr

Re: [SR-Users] sanity from uri check

2022-03-16 Thread Daniel-Constantin Mierla
I pushed another commit. I tested a few cases: sipexer -vl 3  -from-uri "sip:@127.0.0.1" sipexer -vl 3  -from-uri "sip:@127.0.0.1#123" sipexer -vl 3  -from-uri "sip:a@127.0.0.1#123" All fail the uri parser. Before, the #123 was not caught because of the parser state for "sip:@..." case. Daniel

Re: [SR-Users] Question about a future 5.6 release

2022-03-16 Thread Daniel-Constantin Mierla
Hello, it's getting close for a new major release, indeed. Probably we should freeze development by end of this month, test during April and release sometime in May. Cheers, Daniel On 16.03.22 09:39, Stefan-Cristian Mititelu wrote: > > Hi, > > I want to ask you if there is an approximate time

[SR-Users] Question about a future 5.6 release

2022-03-16 Thread Stefan-Cristian Mititelu
Hi, I want to ask you if there is an approximate timeline for a kamailio 5.6 release? We are planning an upgrade on our systems and are weighing different options. Thank you Stefan __ Kamailio - Users Mailing List - Non Commercial Discuss

[SR-Users] properly removing First Via header received

2022-03-16 Thread Patrick Karton
i want to remove the First Via Header received from uac to kamailio. so in my script i use remove_hf("Via") but in the relayed request i see that ";received=x.x.x.x;rport=" is left without any header before it. i think internally kamailio adds a lump before i call the remove_hf function.

Re: [SR-Users] load to htable from flat file

2022-03-16 Thread Paolo Visintin
Hello David, If you want to load at bootstrap Maybe using dbtext? Regards Il giorno mar 15 mar 2022 alle 12:14 David Villasmil < david.villasmil.w...@gmail.com> ha scritto: > Hello guys, > > Is this possible? > > Regards, > > David Villasmil > email: david.villasmil.w...@gmail.com > phone: +3466