Re: [SR-Users] python_exec and parameters

2017-02-09 Thread gmele
Hello, thx for the info. We will check if we wait for an enhanced version of python_exec or pass the parameters in a string. Regards Giovanni -- View this message in context: http://sip-router.1086192.n5.nabble.com/python-exec-and-parameters-tp155803p155899.html Sent from the Users mailing

Re: [SR-Users] Replace old registration record with new one while keeping single AOR per contact

2017-02-09 Thread Daniel-Constantin Mierla
For unregister(), have you provided the ruid parameter? What is the matching mode parameter for usrloc module? Cheers, Daniel On 09/02/2017 11:56, Daniel-Constantin Mierla wrote: > > No time yet to dig into the code, as I am still traveling, but hope to > get some time today or tomorrow. If I d

[SR-Users] [sr-dev] Branch 5.0 created

2017-02-09 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > the GIT branch 5.0 has just been created, it will host the release > series 5.0.x. To get this branch from GIT, you can use: > > git clone https://github.com/kamailio/kamailio.git kamailio > cd kamailio > git checkout -b 5.0 origin/5.0 > > Hopefully before the

[SR-Users] Fwd: [sr-dev] git:master:c32a5f64: sipcapture: added $hep(src_ip) variable

2017-02-09 Thread David Villasmil
Hello guys, i just installed kamailio from deb http://deb.kamailio.org/kamailio50-nightly jessie main deb-src http://deb.kamailio.org/kamailio50-nightly jessie main And i'm trying to use the newly exposed $hep(src_ip) by: if ( ds_is_from_list("10", "2", "sip:$hep(src_ip)" ) ) but i'm get

Re: [SR-Users] MSRP with Kamailio

2017-02-09 Thread Pranathi Venkatayogi
In order to test server logic is correct, I hardcoded the password and called authenticate method. Still it returns -5. I am attaching the config and relevant snippet below. Please let me know what is wrong with this logic. # -- passwd can be loaded from DB based on $au $var(passwd) = "password"

Re: [SR-Users] python_exec and parameters

2017-02-09 Thread Konstantin M.
That's correct, it accepts only one parameter for now. After many years our company has switched to kamailio, I'm actively working on new version of app_python, more flexible and usable than current one, many new features... I'm not ready to push new changes to current module due to raw alpha and u

Re: [SR-Users] rtpengine key file

2017-02-09 Thread Richard Fuchs
On 02/09/2017 05:05 AM, Kjeld Flarup wrote: OK The recipees I've found for rtpengne.conf, does not match /etc/rtpengine/rtpengine.sample.conf Primarily the error is caused by not having [rtpengine] in /etc/rtpengine/rtpengine.conf Looks like some change of file format. Support for a rea

[SR-Users] Branch 5.0 created

2017-02-09 Thread Daniel-Constantin Mierla
Hello, the GIT branch 5.0 has just been created, it will host the release series 5.0.x. To get this branch from GIT, you can use: git clone https://github.com/kamailio/kamailio.git kamailio cd kamailio git checkout -b 5.0 origin/5.0 Hopefully before the end of the month the full release of 5.0.

Re: [SR-Users] LCR module HowTo (Spanish)

2017-02-09 Thread Daniel-Constantin Mierla
Hello, thanks for sharing the article and the knowledge with the community! I published a news about it at: - https://www.kamailio.org/w/2017/02/lcr-system-with-kamailio-on-centos-7/ Cheers, Daniel On 08/02/2017 14:06, Campus VoToVoice wrote: > Hello, > > My small contribution to Kamailio's

Re: [SR-Users] Replace old registration record with new one while keeping single AOR per contact

2017-02-09 Thread Daniel-Constantin Mierla
No time yet to dig into the code, as I am still traveling, but hope to get some time today or tomorrow. If I don't react, better open an issue on github project, to be sure it is not forgotten. I have some time reserved to fix most of the reported issues as we approach the release of 5.0.0. Cheers

Re: [SR-Users] rtpengine key file

2017-02-09 Thread Kjeld Flarup
OK The recipees I've found for rtpengne.conf, does not match /etc/rtpengine/rtpengine.sample.conf Primarily the error is caused by not having [rtpengine] in /etc/rtpengine/rtpengine.conf Looks like some change of file format. Med venlig hilsen / Best regards Kjeld Flarup (Christensen) M.S

Re: [SR-Users] Replace old registration record with new one while keeping single AOR per contact

2017-02-09 Thread Aqs Younas
Daniel, Yes, I have tried the unregister function but it only removes contacts if db_mode=3 for usrloc. Whereas i have db_mode=2 in my configuration. Also tried MI command without any success. root@debian:/usr/local/kamailio/sbin# ./kamctl ul show Domain:: location table=1024 records=1 max_slot=

[SR-Users] rtpengine key file

2017-02-09 Thread Kjeld Flarup
Hello I have build rtpengine on a Raspberry PI 3 running Jessie, but it fails on startup pi@raspberrypi:/usr/local/src/rtpengine $ rtpengine --log-level=7 --log-stderr [1486630112.767604] CRIT: Fatal error: Bad command line: Key file does not start with a group Most likely I'm missing some

Re: [SR-Users] Branching v5.0

2017-02-09 Thread Daniel-Constantin Mierla
Hello, just quick reminder that the branching of 5.0 will be done today. Afterwards, new features can go to master branch and fixes will be backported to 5.0. An announcement will be sent when branching is finished. Cheers, Daniel On 06/02/2017 08:28, Daniel-Constantin Mierla wrote: > Hello, >

Re: [SR-Users] MSRP with Kamailio

2017-02-09 Thread Daniel-Constantin Mierla
Hello, I am not aware of any msrp desktop client, when I did the initial development I used some network sending/retrieving tools with msrp written in files. I know that it was tested a lot with crocodile's JS library couple of year ago, it can be found at: - https://github.com/crocodilertc/cr

Re: [SR-Users] MSRP with Kamailio

2017-02-09 Thread Daniel-Constantin Mierla
The return code -5 happens when there is no Authorization header, so the client didn't send the credentials. Can you switch to tcp and grab a pcap with the msrp traffic for AUTH scenario? Cheers, Daniel On 08/02/2017 16:48, Pranathi Venkatayogi wrote: > Auth was failing on the server with -5. We

Re: [SR-Users] pua.publish using RPC

2017-02-09 Thread Daniel-Constantin Mierla
Hello, there is a new pua_rpc module that should have the rpc command. But do you want to wait for the reply of the publish? Or just send and forget? Cheers, Daniel On 08/02/2017 08:46, Alex Balashov wrote: > Hello, > > Is pua.publish strictly an MI function, or is it possible nowadays to > ca

Re: [SR-Users] python_exec and parameters

2017-02-09 Thread Daniel-Constantin Mierla
Hello, not very familiar with the app_python initial design, but when I added kemi support in it for kamailio 5.0, I think I noticed the limitation of 1 extra parameter. Probably you can encode your parameters in comma separated value, so you can parse it easier in the python script, as opposite t

Re: [SR-Users] nathelper module fix_nated_register(); question

2017-02-09 Thread Daniel-Constantin Mierla
On 08/02/2017 20:33, JR Richardson wrote: > Hi All, > > Just confirming when using nathelper, the fix_nated_register function > is only used to write corrected contact into to $avp then to database, > this function does not actually change the contact in the SIP message > when passing through the

Re: [SR-Users] dlg_set_timeout bye to websockets client

2017-02-09 Thread Daniel-Constantin Mierla
OK, thanks for confirmation. Maybe this should be added as a note in the readme of the dialog module, so others become aware of it easier. Cheers, Daniel On 08/02/2017 23:36, Switch168 wrote: > Correct I just have to make sure that set_contact_alias is used in the > initial dialog. > I was doing