Re: [SR-Users] Avoid full table scan for dispatcher table on db_redis using ds_reload() from config script

2019-11-22 Thread Joel Serrano
Just in case: Kam version - latest nightly deb (5.4.0~dev1+0~20191122005600.1540+buster) Redis config: loadmodule "db_redis.so" modparam("db_redis", "keys", "version=entry:table_name") ... modparam("dispatcher", "db_url", "redis://X.X.X.X:6379/2") Thanks! Joel. On Fri, Nov 22, 2019 at 1:48

[SR-Users] Avoid full table scan for dispatcher table on db_redis using ds_reload() from config script

2019-11-22 Thread Joel Serrano
Hello, I'm trying out redis as db backend, and right now I only have dispatcher records there... Every so often, I do a ds_reload() from within Kam config script, and I see in logs: Nov 22 20:36:35 test COPS[25531]: WARNING: db_redis [redis_dbase.c:1098]: db_redis_perform_query(): performing

[SR-Users] Question about ims_ipsec_pcscf

2019-11-22 Thread Woscek, Martin W.
Hi all, We are looking for information as to what the ims_ipsec_pcscf module was written for and tested against. What was the target UE/EPC/PCRF that Tsvetomir Dimitrov wrote the module towards? Has an emulated EPC been tested with this module? If so which one(s)? Thanks in advance, Martin

Re: [SR-Users] Re-use TCP connections on different transactions

2019-11-22 Thread Joel Serrano
Hi Daniel, I have advertise as: listen=tcp:10.116.15.237:443 advertise sbc01.stg.gii.me:443 (normally it would be tls, I switched to tcp so I could get unencrypted traffic in tcpdump for you) Record-route is done as: # Dispatch requests if (is_method("INVITE")) {

[SR-Users] Cannot read an indexed xavp from Kemi-Lua

2019-11-22 Thread Michel Pelletier
Hi, I am having trouble reading an indexed xavp from Kemi-Lua. The xavp contains 3 entries but I can only access the first one. The xavp is the one filled by the dispatcher module after a call to KSR.dispatcher.ds_select(group, 4) with the flags parameter set to 2. I can get the number of

Re: [SR-Users] How to get the audio codec used for each established call.

2019-11-22 Thread Abdoul Osséni
Hello Daniel-Constantin, Thank you for your response. When I try that: if (is_method("INVITE") && status == 200) { $var(s) = " "; $var(codec) = $(rb{line.sw,a=rtpmap}{s.select,1,$var(s)}); } 0(18567) CRITICAL: [core/mem/q_malloc.c:514]: qm_free(): BUG: freeing already freed pointer

[SR-Users] kamailio call loop issue B/W kamailio and freeswitch

2019-11-22 Thread Gaurav Bmotra
hi im using kamailio 5.3 as register server and using dispatcher i m dendign the calls to freeswitch .. ibut the issue is then freeswitch send back call to kamailio after processing media ... it should go back to client but it again send call to freeswitch ,, which create the loop and hangup the

Re: [SR-Users] disparcher making loop with call

2019-11-22 Thread Gaurav Bmotra
hi thank you for reply i have check but same issue ,,, is the config file data plz check if you can help thank you #!KAMAILIO #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_USRLOCDB #!define WITH_ACCDB #!define WITH_NAT # # Kamailio (OpenSER) SIP

Re: [SR-Users] disparcher making loop with call

2019-11-22 Thread David Villasmil
Hello, You’re only pasting the dispatcher route. You need to follow the script logic. An invite comes in, how does it know the call is coming from the client and has to be sent to freeSWITCH? Conversely, how does it know it’s coming from freeswitch? Probably using the permissions module with

Re: [SR-Users] How to get the audio codec used for each established call.

2019-11-22 Thread Daniel-Constantin Mierla
Hello, there can be many codecs that are selected/offered via SDP, the one actually used can be seen in the RTP headers, but Kamailio doesn't relay RTP itself. If you know that in your deployment there is going to be only one codec selected via sdp, then the right place is to take it from the

Re: [SR-Users] How to get the audio codec used for each established call.

2019-11-22 Thread Abdoul Osséni
To be more precise, I look for a variable that will give me the codec used during the call. Thank you in advance Abdoul Le ven. 22 nov. 2019 à 11:12, Abdoul Osséni a écrit : > Hello all, > > I try to save in the CDR the audio codec used for each established call. > > Can you help me? > >

Re: [SR-Users] disparcher making loop with call

2019-11-22 Thread Daniel-Constantin Mierla
Hello, there is something wrong in your config file, failing to detect the traffic from freeswitch. Load debugger module and enable cfgtrace logging, then see what actions are executed in the configuration file, maybe you can spot what goes wrong there. Otherwise, to get more help from the

[SR-Users] How to get the audio codec used for each established call.

2019-11-22 Thread Abdoul Osséni
Hello all, I try to save in the CDR the audio codec used for each established call. Can you help me? Regards Abdoul.I ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Re-use TCP connections on different transactions

2019-11-22 Thread Daniel-Constantin Mierla
Hello, how do you set the record-route? Do you have advertised address for the socket receiving TCP/HAproxy loadbalancer connections? Can you give all the debug messages when processing the BYE that doesn't go through? Cheers, Daniel On 21.11.19 19:44, Joel Serrano wrote: > Hi Daniel,  > > I

[SR-Users] Kamailio developers meeting - follow up remarks

2019-11-22 Thread Daniel-Constantin Mierla
Hello, last week we had the 2nd annual Kamailio Developers Meeting hosted by Sipgate in Dusseldorf, Germany:   * https://www.kamailio.org/w/developers-meeting/ 16 people were at the event in various roles. Giacomo Vacca published on his blog a good summary of what happened there:   *

[SR-Users] disparcher making loop with call

2019-11-22 Thread Gaurav Bmotra
hi i m using kamailio 5.3 as register server and using dispatcher i m dendign the calls to freeswitch .. but the issue is then freeswitch send back call to kamailio after processing media ... it should go back to client but it again send call to freeswitch ,, which create the loop and hangup the