Re: [SR-Users] Question on the debug change level command with 5.0.x

2017-03-24 Thread Ginhoux, Patrick
:31 pm, "Ginhoux, Patrick" <patrick.ginh...@fr.unisys.com<mailto:patrick.ginh...@fr.unisys.com>> wrote: Hi, Thanks you so much; it works fine as expected. Now have I to keep the ‘debugger’ module lines in my config ? Cordialement Patrick GINHOUX De : sr-users [mailto:sr-users-

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

2017-03-24 Thread Ginhoux, Patrick
to have text, we can get this problem back. I hope this help. Cordialement Patrick GINHOUX De : Ginhoux, Patrick Envoyé : mardi 21 mars 2017 13:29 À : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : RE: [SR-Users] ht_db_load_table(): key type must be string (type=

[SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-03-24 Thread Ginhoux, Patrick
In my 'kamctlrc' file : ## path to FIFO file for engine RPCFIFO RPCFIFOPATH="/var/run/kamailio/kamailio_rpc_fifo" #RPCFIFOPATH="/tmp/kamailio_rpc_fifo" In my 'kamailio.cfg' : !!ifndef DEFINE_FIFO_NAME !!define DEFINE_FIFO_NAME "/var/run/kamailio/kamailio_rpc_fifo" !!endif modparam("jsonrpcs",

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-03-27 Thread Ginhoux, Patrick
tomorrow. Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : lundi 27 mars 2017 15:28 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users]

Re: [SR-Users] Question on the debug change level command with 5.0.x

2017-03-23 Thread Ginhoux, Patrick
egards, Federico On Thu, Mar 23, 2017 at 5:24 PM, Ginhoux, Patrick <patrick.ginh...@fr.unisys.com<mailto:patrick.ginh...@fr.unisys.com>> wrote: Hi, Previously, in my kamailio.cfg 3.3.1, the debug level is set using the ‘debug’ option. Then with the MI_FIFO module it was simple to

[SR-Users] Question on the debug change level command with 5.0.x

2017-03-23 Thread Ginhoux, Patrick
Hi, Previously, in my kamailio.cfg 3.3.1, the debug level is set using the 'debug' option. Then with the MI_FIFO module it was simple to change debug level on the flight using the simple command 'kamctl fifo debug '. Moving to kamailio 5.0.x, there is no more MI_FIFO module. In the

[SR-Users] Important problem with this test : if ($var(i:maxRangeInx)==$null)

2017-03-27 Thread Ginhoux, Patrick
Hi, I'm continue my job to 'migrate' my 3.3.1 kamailio.cfg script on a RHEL 6.2 server to the 5.0.x kamailio version on a RHEL 7.1 server, and I encounter a major problem with the '== $null' test in the script. My original script (3.3.1) contains this sequence : $var(i:rangeInx)=0;

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-03-27 Thread Ginhoux, Patrick
enough privileges. However, some operating systems add more constraints on top of the execution user. What is your OS distro? Do you have selinux, apparmor or other similar tools enabled? Cheers, Daniel On 24/03/2017 17:52, Ginhoux, Patrick wrote: In my ‘kamctlrc’ file : ## path to FIFO file for

Re: [SR-Users] Important problem with this test : if ($var(i:maxRangeInx)==$null)

2017-03-27 Thread Ginhoux, Patrick
't get a chance to init. If you want a similar variable that works with null, then use $vn(...): - https://www.kamailio.org/wiki/cookbooks/5.0.x/pseudovariables#vn_name_-_private_memory_variables_null Cheers, Daniel On 27/03/2017 15:22, Ginhoux, Patrick wrote: Hi, I’m continue my job to ‘migra

Re: [SR-Users] failed to find append_branch

2017-03-23 Thread Ginhoux, Patrick
Hi, I'm a new user too and I'm working on a 'migration' from kamailio 3.3.x to 5.0.x. So first, what is the level of kamailio you use ? Then what is the content of line 45, column 43, where kamailio finds a 'mi' command ? At least, on the web you can see similar examples as yours :

Re: [SR-Users] Search for kamailio PERL module for 5.0 level

2017-03-16 Thread Ginhoux, Patrick
failed to be build on this distros by the opensuse build service. I will try to re-enable building them on centos and redhat and see the results. Cheers, Daniel On 14/03/2017 18:08, Ginhoux, Patrick wrote: Hi, I’m a beginner in the use of kamailio product, so I try below to explain my problem with my

Re: [SR-Users] Search for kamailio PERL module for 5.0 level

2017-03-16 Thread Ginhoux, Patrick
Hi, I just need to get the rpm but I have difficulties to find the correct link. Can you help on this ? Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : jeudi 16 mars 2017 16:10 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com>; Kamaili

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

2017-03-21 Thread Ginhoux, Patrick
Hi, There was a mistake in the file attached ; the short kamailio.cfg file (that makes kamailio to start) was not the correct one; attached the correct one. Have anyone an idea of this problem ? Cordialement Patrick GINHOUX De : Ginhoux, Patrick Envoyé : lundi 20 mars 2017 17:58 À : Kamailio

[SR-Users] Error on of type <2> not found in module and SCTP API Not initialized

2017-03-16 Thread Ginhoux, Patrick
Hi, I'm migrating my kamailio.cfg from the 3.3.1 release to 5.0.0 and encounter the following errors : Mar 16 12:56:45 vm-vse02-siprouter1 systemd[1]: Starting SYSV: Kamailio is a fast, reliable and flexible SIP Server Mar 16 12:56:45 vm-vse02-siprouter1 kamailio[6644]: Not starting :

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

2017-03-20 Thread Ginhoux, Patrick
abpqHash=>size=12;dbtable=abpq;") #modparam("htable", "htable", "zabpqHash=>size=12;dbtable=zabpq;") #!!endif modparam("htable", "htable", "propertiesHash=>size=4;dbtable=properties;") I hope my explanation is clearn and there

Re: [SR-Users] Error on of type <2> not found in module and SCTP API Not initialized

2017-03-17 Thread Ginhoux, Patrick
ico On 16 Mar 2017 13:35, "Ginhoux, Patrick" <patrick.ginh...@fr.unisys.com<mailto:patrick.ginh...@fr.unisys.com>> wrote: Hi, I’m migrating my kamailio.cfg from the 3.3.1 release to 5.0.0 and encounter the following errors : Mar 16 12:56:45 vm-vse02-siprouter1 systemd[1]:

Re: [SR-Users] Search for kamailio PERL module for 5.0 level

2017-03-17 Thread Ginhoux, Patrick
...@gmail.com] Envoyé : vendredi 17 mars 2017 08:06 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] Search for kamailio PERL module for 5.0 level Hello, links for various distros were added at

Re: [SR-Users] Error on of type <2> not found in module and SCTP API Not initialized

2017-03-17 Thread Ginhoux, Patrick
Last update, With the correct Perl package for Rhel 7, now my kamailio installation has complete with success. And the module app_perl initialization error below goes away. So that I can close this topic. Cordialement Patrick GINHOUX De : Ginhoux, Patrick Envoyé : vendredi 17 mars 2017 07:40

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

2017-03-17 Thread Ginhoux, Patrick
Hi, Now the kamailio installation is completed, I try to start kamailio but got an error on a modparam line. By looking at the kamailio.cfg (with debug mode) it looks like the instruction is not correct : modparam("htable", "fetch_rows", 1000) [root@vm-vse02-siprouter1 ~]# systemctl status

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

2017-03-21 Thread Ginhoux, Patrick
, Daniel March 21, 2017 11:30 AM, "Ginhoux, Patrick" <patrick.ginh...@fr.unisys.com<mailto:%22Ginhoux,%20patrick%22%20%3cpatrick.ginh...@fr.unisys.com%3e>> wrote: Hi, A second update for people who started to look at this issue. I have identified the real cause of the problem

Re: [SR-Users] mi_fifo: No module matching found

2017-03-15 Thread Ginhoux, Patrick
Hi, I’m a newbie too and I’m looking at the 5.0.0 version. For your issue, it seems you want to use jsonrpcs module, but it is not loaded. Try to add the “loadmodule "jsonrpcs.so" in your file. Cordialement Patrick GINHOUX De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la

Re: [SR-Users] Doubt about MI Datagram module in Kamailio 5

2017-04-03 Thread Ginhoux, Patrick
Hi, I had the same issue for the MI_FIFO. Both are replaced the jsonrpcs module. See the 5.0 changes here : http://www.kamailio.org/wiki/install/upgrade/4.4.x-to-5.0.0 Modules Removed Modules mi_datagram The jsonrpcs module can be used instead to execute RPC commands over datagram

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

2017-04-04 Thread Ginhoux, Patrick
for the different distros ? Again thanks a lot for the help. Cordialement Patrick GINHOUX De : Ginhoux, Patrick Envoyé : lundi 3 avril 2017 15:05 À : 'mico...@gmail.com' <mico...@gmail.com> Cc : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : R

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 <patrick.ginh...@fr.unisys.com&

[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] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-03 Thread Ginhoux, Patrick
(SER) - Users Mailing List <sr-us...@lists.kamailio.org> Objet : Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem Hello, how do you start Kamailio? Via init.d/systemd script? Cheers, Daniel On 03.04.17 14:34, Ginhoux, Patrick wrote: Hi, Selinux is disabled. Cordia

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

2017-04-03 Thread Ginhoux, Patrick
-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : lundi 3 avril 2017 14:29 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com> Cc : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] ht_db_load_table(): key type must be string (type=6) He

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-03 Thread Ginhoux, Patrick
t;jsonrpcs", "fifo_user", "kamailio") but it is not the case. For the moment only the fifo filename “/tmp/kamailio_rpc_fifo" is valid for kamailio to start. Cordialement Patrick GINHOUX De : Ginhoux, Patrick Envoyé : lundi 27 mars 2017 17:46 À : 'mico.

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-03 Thread Ginhoux, Patrick
Hi, Selinux is disabled. Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : lundi 3 avril 2017 14:33 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Obj

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

2017-04-03 Thread Ginhoux, Patrick
Hi Daniel, Do you look at this error with the item type of ‘text’ in a mysql table? Cordialement Patrick GINHOUX De : Ginhoux, Patrick Envoyé : vendredi 24 mars 2017 10:44 À : 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org> Objet : RE: [SR

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

2017-04-04 Thread Ginhoux, Patrick
I hope it helps! Cheers, Daniel On 04.04.17 08:49, Ginhoux, Patrick wrote: 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 :

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
nstantin Mierla [mailto:mico...@gmail.com] Envoyé : mercredi 5 avril 2017 16:00 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com> Cc : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem Hello,

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
] Envoyé : mercredi 5 avril 2017 17:09 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com> Cc : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem Hello, killproc might be only in opensuse as sta

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
kamailio.service entered failed state. Does it help to understand why this happen with the new Kamailio rpm (kamailio-5.0.0-10.1.x86_64)? Cordialement Patrick GINHOUX De : Ginhoux, Patrick Envoyé : mercredi 5 avril 2017 14:49 À : 'mico...@gmail.com' <mico...@gmail.com> Cc : Kamaili

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
the htable fix, it is included in the 5.0.1 as I don’t get the string error anymore. That’s really a great job you did. Thanks you so much. Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mercredi 5 avril 2017 17:55 À : Ginhoux, Patrick

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
systemctl): ^C I have to send a CTRL C to break the action. Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mercredi 5 avril 2017 13:45 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com>; Kamailio (SER) - Users Mailing List <

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
Hi, Nothing happens after the ‘service kamailio stop’; kamailio is still running (same pid) ((as detaillled below). Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mercredi 5 avril 2017 15:44 À : Ginhoux, Patrick <patrick.g

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
this result? Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [ <mailto:mico...@gmail.com> mailto:mico...@gmail.com] Envoyé : mercredi 5 avril 2017 14:22 À : Ginhoux, Patrick < <mailto:patrick.ginh...@fr.unisys.com> patrick.ginh...@fr.unisys.com> Cc : Kamailio (SER) -

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mercredi 5 avril 2017 14:22 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com> Cc : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings probl

Re: [SR-Users] RPCFIFOPATH / DEFINE_FIFO_NAME settings problem

2017-04-05 Thread Ginhoux, Patrick
:00 grep --color=auto kam Cordialement Patrick GINHOUX De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mercredi 5 avril 2017 14:42 À : Ginhoux, Patrick <patrick.ginh...@fr.unisys.com> Cc : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Obj