Re: [SR-Users] Transformations - urlencode

2020-03-23 Thread Genildo Nascimento
Hello, my knowledge and limited on the topic I think it sent the doubt to the wrong person,sorry for not being able to help Em seg., 23 de mar. de 2020 às 18:52, João Vitor Arruda < joao.arr...@gmail.com> escreveu: > Hello, > > I was looking in the transformation documentation ( >

Re: [SR-Users] Kamailio 5.3.2 - Signal 11 on startup

2020-03-23 Thread José Seabra
Hello Daniel, Thank you for your support. I have applied your patch and did a few tests successfully. Stay healthy Best Regards Daniel-Constantin Mierla escreveu no dia sexta, 20/03/2020 à(s) 18:32: > Hello, > > can you try with the patch from the next commit? > > * >

[SR-Users] Transformations - urlencode

2020-03-23 Thread João Vitor Arruda
Hello, I was looking in the transformation documentation ( https://www.kamailio.org/wiki/cookbooks/devel/transformations) something to URL encode a pv or var for use in a HTTP query but was not able to find it. Digging a bit in the source code I found that "s.urlencode.param" actually exists and

Re: [SR-Users] Manipulating contacts header results in a malformed SIP packet

2020-03-23 Thread Henning Westerholt
Hi Alex, to refresh this old discussion, are you sure that the requirement that the Content-Length header needs to be at the end of the SIP message is enforced or even defined? If you use old Kamailio standard modules like "path" it places its header directly at the end of the message, after

Re: [SR-Users] Problem faced when Using Kamaiio as Session Refresher

2020-03-23 Thread Daniel-Constantin Mierla
Hello, looking at logs, the callback functions from sst modules are for requests within dialog, not for initial request. It looks like the update is expected to be done when the request refreshing the session is done (the reinvite), therefore for initial INVITE the avp is not set. Mar 23

Re: [SR-Users] Pike Module Clarification

2020-03-23 Thread Daniel-Constantin Mierla
Did you sent the requests from the same network as Kamailio IP or local host? I am not sure if has any impact, just checking to know when looking into the code. You can also make a pull request on github project to update the docs based on your finding and make the content more clear -- you

Re: [SR-Users] Pike Module Clarification

2020-03-23 Thread JR Richardson
I did some testing and found the "reqs_density_per_unit" is the actual limit/trigger within the "sampling_time_unit". In this example: modparam("pike", "sampling_time_unit", 3) modparam("pike", "reqs_density_per_unit", 60) If the pike module receives 59 SIP messages within 3 seconds from same IP

Re: [SR-Users] Problem faced when Using Kamaiio as Session Refresher

2020-03-23 Thread harneet singh
Hi Daniel, I have shared the logs at debug=3 level. Location: https://justpaste.it/6xmum I do see the sst and dialog module are loaded at startup and Even that the sst module sees the Session-Expires value. But somehow the dialog module doesn't seem to recognize it. Please see the excerpts from

Re: [SR-Users] Problem faced when Using Kamaiio as Session Refresher

2020-03-23 Thread Daniel-Constantin Mierla
Hello, also check if code from sst module is executing when processing the dialog. Maybe the callback functions from sst are not called when dialog is handling the sip traffic. You should run with debug=3 and look at the debug messages to see if there are some printed from sst module. Watch also