Re: [SR-Users] siptrace port number error

2012-05-07 Thread Alexandr Dubovikov
Hi Reda, 5/6/2012 4:56 PM, Reda Aouad wrote: Hi Alex, Thank you for the fix. Just upgraded to Kamailio 3.3 and now Kamailio starts without the previous error. Can this be backported to version 3.2? It was not my fix :-) you can just use the sipcapture module from 3.3 together with 3.2, j

[SR-Users] Kamailio [No Audio]

2012-05-07 Thread Fred Flintsone
I am attempting to route local registered users to local registered users without going to the media server. I have a media server [*] for PSTN. But it doesn't support all the CODECS i wan't to use. Signalling seems fine, but i get NO AUDIO on either call leg. I have the RTP captures from the l

[SR-Users] kamdbctl error

2012-05-07 Thread Vineet Menon
Hi, I am compiling sources of kamailio 3.2.3 on ubuntu 12.04. I have used make command > `make group_include="standard mysql" all` > to make the sources. and then > `make install`. > Now when i do kamdbctl it throws an error, $ kamdbctl create > ERROR: could not load the script in > /usr/lo

[SR-Users] Remove_hf doesn't work

2012-05-07 Thread Openser Kamailio
Hi, I'm currently working with kamailio 3.2. I try to remove the Contact Header field with remove_hf("Contact") through the file named kamailio.cfg. When i apply remove_hf("Contact"), it only removes the word Contact, but the contact address is still present. Let me show you: Without remove_hf: C

Re: [SR-Users] [sr-dev] kamdbctl error

2012-05-07 Thread Daniel-Constantin Mierla
Hello, is the flavour set to kamailio and db_mysql module installed? Some guidelines are presented at: http://www.kamailio.org/wiki/install/3.2.x/git Cheers, Daniel On 5/7/12 11:16 AM, Vineet Menon wrote: Hi, I am compiling sources of kamailio 3.2.3 on ubuntu 12.04. I have used make comman

Re: [SR-Users] Remove_hf doesn't work

2012-05-07 Thread Daniel-Constantin Mierla
Hello, do you use any other function that updates the address in contact header? If you load debugger module, enable cfgtrace option and send the execution log messages over here, we can tell if there is another function that may alter contact header. One option is to use msg_apply_changes()

Re: [SR-Users] Problem with adding extra field in acc table.

2012-05-07 Thread Daniel-Constantin Mierla
Hello, $var(...) are variables with the value stored in private memory for each process, while accounting write event can happen in a different process than the one where you set the variable. You have to use $avp(...) instead of $var(...). Cheers, Daniel On 5/4/12 5:08 PM, Gary Chen wrote:

Re: [SR-Users] Kamailio LDAP integration

2012-05-07 Thread Saul Waizer
Thank you Reda, Is there a way to utilize external scripts for authentication? Like bash, php etc? I cannot change the format of the LDAP but I am thinking about other methods that could possibly work too utilizing the same pv_www_authenticate logic, however these would require some external scrip

Re: [SR-Users] [sr-dev] kamdbctl error

2012-05-07 Thread Vineet Menon
yes, flavour is set to kamailio and isn't db_mysql module complied the way i just mentioned?? Regards, Vineet Menon On 7 May 2012 18:09, Daniel-Constantin Mierla wrote: > Hello, > > is the flavour set to kamailio and db_mysql module installed? > > Some guidelines are presented at: > >

Re: [SR-Users] Remove_hf doesn't work

2012-05-07 Thread Daniel-Constantin Mierla
Hello, you have fix_nated_contact() which does an update to contact address: May 7 15:46:58 localhost /usr/local/sbin/kamailio[15742]: ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio//kamailio.cfg] l=889 a=25 n=fix_nated_contact If you want to remove the contact, then do not call that funct

Re: [SR-Users] [sr-dev] kamdbctl error

2012-05-07 Thread Daniel-Constantin Mierla
Hello, On 5/7/12 5:07 PM, Vineet Menon wrote: yes, flavour is set to kamailio and isn't db_mysql module complied the way i just mentioned?? it should be, but typos/errors in command or bugs may prevent that. So it is better to check in the folder with the modules. Cheers, Daniel Regar

Re: [SR-Users] Kamailio LDAP integration

2012-05-07 Thread Reda Aouad
You want to get the password (in clear text??) using an external script to check it using pv_www_authenticate? You can use the following function from exec module: http://kamailio.org/docs/modules/stable/modules_k/exec.html#id2552128 The output of your command (shell script, php, ...) can be stor

Re: [SR-Users] [sr-dev] kamdbctl error

2012-05-07 Thread Vineet Menon
Ya, you were right...mysql.so or db_mysql.so is not present in the lib folder... Is der any remedy for this? $ ls -R /usr/lib64/kamailio/ > /usr/lib64/kamailio/: > kamctl libkmi.so.1libsrdb1.so libsrdb2.so.1.0 > modules_k > libkcore.so libkmi.so.1.0 libsrdb1.so.1

Re: [SR-Users] [sr-dev] kamdbctl error

2012-05-07 Thread Anton Kvashenkin
lsof -c kamailio -ad mem | grep db 2012/5/8 Vineet Menon > Ya, you were right...mysql.so or db_mysql.so is not present in the lib > folder... > Is der any remedy for this? > > $ ls -R /usr/lib64/kamailio/ >> /usr/lib64/kamailio/: >> kamctl libkmi.so.1libsrdb1.so libsrdb2.s

[SR-Users] routing logic

2012-05-07 Thread Vineet Menon
Hi, Where can i find a nice tutorial for routing logic in cfg file for kamailio? i want help on the basic functions like record_route() , sl_send_reply(), t_relay() etc... Regards, Vineet Menon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-us

Re: [SR-Users] [sr-dev] kamdbctl error

2012-05-07 Thread Daniel-Constantin Mierla
Hello, one option - edit modules.lst in the root folder with kamailio sources and add "db_mysql" to the "include_modules" variable. Then recompile and reinstall. Cheers, Daniel On 5/8/12 6:45 AM, Vineet Menon wrote: Ya, you were right...mysql.so or db_mysql.so is not present in the lib fold