Re: [SR-Users] RTPengine + kernel module long call RTP drops

2017-04-04 Thread Anthony Joseph Messina
On Tuesday, April 4, 2017 5:44:47 PM CDT Anthony Joseph Messina wrote: > Recently, I've had to be on a lot of long conference calls and have noticed > that after about 18-22 minutes, the audio on the call drops out. There are > no errors logged from Asterisk, Kamailio, or RTPengine. The

[SR-Users] RTPengine + kernel module long call RTP drops

2017-04-04 Thread Anthony Joseph Messina
Recently, I've had to be on a lot of long conference calls and have noticed that after about 18-22 minutes, the audio on the call drops out. There are no errors logged from Asterisk, Kamailio, or RTPengine. The signalling portion of the call is unaffected and continues as normal. My setup is

Re: [SR-Users] Problems with avp_db_load

2017-04-04 Thread Daniel-Constantin Mierla
Are you sure you have the correct records in the database? I did a diff between 4.3 and 4.4 branches and there are no differences in avpops module code. Maybe you can sniff the communication between kamailio and mysql server and see what is returned there. If mysql server is listening on loopback

Re: [SR-Users] Kamailio 5.0.0 KEMI Lua event routes

2017-04-04 Thread José Seabra
Hello Daniel, Thanks a lot for you help. I will start testing it for Dispatcher and Dialog. Thank you for your great job. Regards 2017-04-04 16:29 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > On 01.04.17 15:43, José Seabra wrote: > > Hi all, > > > > I'm starting using

Re: [SR-Users] Use of variables for force_send_socket

2017-04-04 Thread Brandon Armstead
Just a guess, have you tried: modparam("pv", "varset", "externalip=s:udp:1.2.3.4:5060") or modparam("pv", "varset", "externalip=s:tcp:1.2.3.4:5060") etc... Also maybe instead of force_send_socket method, a direct assignment? $fs = $var(externalip); On Tue, Apr 4, 2017 at 8:14 AM, Jöran

Re: [SR-Users] Kamailio 5.0.0 KEMI Lua event routes

2017-04-04 Thread Daniel-Constantin Mierla
Hello, On 01.04.17 15:43, José Seabra wrote: > Hi all, > > I'm starting using kamailio 5 and was trying to convert my actual > routing scripts to new KEMI interface using Lua. > In my old script i'm using event routes for the evapi, dialog and > dispatcher modules, so i was wondering how can i

Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Ginhoux, Patrick
Hi, Thanks for these additional explanation on the htable. Now I have to work more on this by myself. Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mardi 4 avril 2017 17:12 À : Ginhoux, Patrick Cc :

Re: [SR-Users] Use of variables for force_send_socket

2017-04-04 Thread Daniel-Constantin Mierla
Hello, see $fs variable. I also plan to move force_send_socket() (or make a new function set_send_socket()) in corex module to allow vars as parameter. Cheers, Daniel On 04.04.17 17:14, Jöran Vinzens wrote: > Hi all, > > i try to re-arrange my config and i try to use a variable declared in >

Re: [SR-Users] Use of variables for force_send_socket

2017-04-04 Thread Carsten Bock
Hi Jöran, have you tried it using the $fs PV (http://kamailio.org/wiki/cookbooks/devel/pseudovariables#fs_-_forced_socket)? Probably, that one works better for use-cases like yours Thanks, Carsten 2017-04-04 17:14 GMT+02:00 Jöran Vinzens : > Hi all, > > i try to

[SR-Users] Use of variables for force_send_socket

2017-04-04 Thread Jöran Vinzens
Hi all, i try to re-arrange my config and i try to use a variable declared in modparam pv such like: modparam("pv", "varset", "externalip=s:1.2.3.4") and use it as: force_send_socket($var(externalip)); unfortunately the kamailio does not start with this configuration and telling me bad config

Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Daniel-Constantin Mierla
Hello, On 04.04.17 14:11, Ginhoux, Patrick wrote: > > Hi, > > > > Thanks for the link I’ll take a lot more later. > > > > Now a quick look seems funny : > > > > Ideally, the hash function will assign each key to a unique bucket, > _but most hash table designs employ an imperfect hash

Re: [SR-Users] Via header with i attribute

2017-04-04 Thread Daniel-Constantin Mierla
Hello, is the traffic coming to Kamailio via tcp? Cheers, Daniel On 04.04.17 16:39, DanB wrote: > Hey Guys, > > > Any of you know which module is adding the "i" attribute and maybe if > it can be removed safely? The reason would be for some Avaya PBXes > discarding the Via completely due to

Re: [SR-Users] nosql database

2017-04-04 Thread Daniel-Constantin Mierla
Hello, do you look for NoSQL systems as a replacement for DB backends (such as db_mysql), or just to interact with the NoSQL server from config? In kamailio with have the db_xyz modules for DB backends and ndb_xyz for connectors from config file. As a db backend, I guess that the mongodb is the

[SR-Users] Via header with i attribute

2017-04-04 Thread DanB
Hey Guys, Any of you know which module is adding the "i" attribute and maybe if it can be removed safely? The reason would be for some Avaya PBXes discarding the Via completely due to this attribute. Sample header: """ Via: SIP/2.0/UDP

Re: [SR-Users] ht_db_load_table(): key type must be string (type=6)

2017-04-04 Thread Ginhoux, Patrick
Hi, Good news, one of my colleague help me to compile the htable.so including your patch. I have tested it with success. Now, what is the next steps for you ? Are you going to include this patch in the different stream 5.0.x (or others) right away ? And do you generate new rpm for

Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Ginhoux, Patrick
Hi, Thanks for the link I’ll take a lot more later. Now a quick look seems funny : Ideally, the hash function will assign each key to a unique bucket, but most hash table designs employ an imperfect hash function, which might cause hash collisions

[SR-Users] nosql database

2017-04-04 Thread Ján Füri
Hi community, I'd like to ask that witch nosql DB is the most supported by kamalio 5 ? or witch do you guys use in production ? Thanks, Jan ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Daniel-Constantin Mierla
Hello, if you are not familiar with hash table structure, take a bit of time to read about it, a good article on wikipedia: - https://en.wikipedia.org/wiki/Hash_table The dump prints only details of the slots (buckets) that have data on it (size>0). The entry field in the dump content is

Re: [SR-Users] sr-users Digest, Vol 143, Issue 5

2017-04-04 Thread Daniel-Constantin Mierla
Hello, as a generic detail: for sake of a proper threading in the archive and proper reading, it is recommended to avoid replying on mailing list Digest summary -- it is not easy to follow up on which discussion one replies to a digest summary. If one is engaged in a discussion, she/he should

Re: [SR-Users] sr-users Digest, Vol 143, Issue 5

2017-04-04 Thread Juha Heinanen
Narayan P writes: > I mean to say that all of the headers in a SIP message. See remove_hf_re function. -- Juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] sr-users Digest, Vol 143, Issue 5

2017-04-04 Thread Narayan P
n -- next part -- An HTML attachment was scrubbed... URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170404/6fa1f8cb/attachment-0001.html> -- Message: 2 Date: Tue, 4 Apr 2017 12:07:36 +0300 From: Juha Heinanen <j...@tutp

Re: [SR-Users] Issue in replacing message header in kamailio

2017-04-04 Thread Juha Heinanen
Narayan P writes: > Hi Can anybody help me on this.Any API to replace a message header > completely in kamailio configuration file and its usage. What do you mean with "message" header? I don't remember such SIP header. -- Juha ___ SIP Express

Re: [SR-Users] Issue in replacing message header in kamailio

2017-04-04 Thread Narayan P
Hi Can anybody help me on this.Any API to replace a message header completely in kamailio configuration file and its usage. Thanks, Narayan From: Narayan P Sent: Tuesday, April 4, 2017 6:31:14 AM To: sr-users@lists.sip-router.org Subject: Re: Issue in

[SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Ginhoux, Patrick
Hi, While working on the project to migrate my kamailio.cfg script from kamailio 3.3.1 to 5.0.x, I discovered that in there are 2 items in the same htable. Below the figure that illustrate this case : 1) Content of the MBXRANGE table : mysql> select * from mbxrange;

Re: [SR-Users] Issue in replacing message header in kamailio

2017-04-04 Thread Narayan P
Hi All, How to replace message header completely that has been received previously in another 200 OK response message. I have used remove_body() and replace_body(re, txt) . Is there any API to replace these. Any suggestion will be highly appreciated. Thanks, Narayan