[SR-Users] Kamamilio with PjSIP on Asterisk

2015-04-27 Thread Scott Pabin
Fellow Masters of the Universe, I'm familiar with using Kamailio to handle many tasks, such as SIP registration for Asterisk. However, that has all been using Asterisk's SIP protocol. I'm setting up a new project and I'd like to base it on PjSIP in Asterisk. What has been your experience and wh

Re: [SR-Users] subst_hf with capture groups

2015-04-27 Thread Igor Potjevlesch
Hello Daniel, It works fine like this, thank you. Can you tell me where I can open a tracker? Regards, Igor. De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Daniel-Constantin Mierla Envoyé : lundi 27 avril 2015 16:37 À : Kamailio (SER) - Users Mailing Li

Re: [SR-Users] db_mongodb get columns error

2015-04-27 Thread Daniel-Constantin Mierla
Hello, On 22/04/15 14:00, Mickael Marrache wrote: > > Hi, > > > > After restarting Kamailio, I got the following errors during the startup: > > > > kamailio[12614]: ERROR: db_mongodb [mongodb_dbase.c:381]: > db_mongodb_get_columns(): field [caller_sock] not found in result iterator > > kamaili

Re: [SR-Users] kamailio crash periodically in timer handler

2015-04-27 Thread Daniel-Constantin Mierla
Hello, got dragged by some other tasks for a while... Can you list here all your loaded modules? Also, are you having event routes in your config? At this moment it looks like either a buffer overflow somewhere or a free of an shared memory element without detaching from timer. I will need more

Re: [SR-Users] add feature to dmq to allow for HA (heartbeat or pacemaker)

2015-04-27 Thread Shane Harrison
Another approach for HA is to use the dispatcher module as a front end loadbalancer and use health checking. Cheers Shane From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Vik Killa Sent: Saturday, 25 April 2015 12:42 a.m. To: SIP Router - Kamailio (OpenSER) and SIP Exp

Re: [SR-Users] publish authentication problem

2015-04-27 Thread Daniel-Constantin Mierla
Hello, can you check what is the value of the realm parameter in Proxy-Authorization header of PUBLISH? Is it myhome2.xip.bpt.com? Cheers, Daniel On 24/04/15 15:31, Tomas Zanet wrote: > > Hello everyone, > > I’ve been working on a project where I would like to implement RFC6035 > > https://tools

Re: [SR-Users] How to dump or log the value of $avp(ice_priority) with xlog

2015-04-27 Thread Daniel-Constantin Mierla
Hello, reading the documentation, the avp is for setting a value in order to control the behavior of rtpproxy module. It is not something that the rtpproxy is setting inside the avp. Maybe if you describe what you need to get, then we may have some hints for you how to do it. Cheers, Daniel On

Re: [SR-Users] append_branch. How to disable original URI

2015-04-27 Thread Daniel-Constantin Mierla
Hello, I added some functions and variables to make these operations easier. The older version required to update the r-ruri branch and use append_branch(), with keeping backup or uri branch attributes in order to restore it. Now you have to fill the $sbranch(attribute) variable and then use eith

Re: [SR-Users] subst_hf with capture groups

2015-04-27 Thread Daniel-Constantin Mierla
Hello, try with: $var(x) = "33"; subst_hf("P-Asserted-Identity", "/(.*\")0(.*)(.*\")/\1$var(x)\2\3/", "a"); Also, open an issue on the tracker to investigate it properly and eventually come up with proper solution for it. Cheers, Daniel On 27/04/15 16:01, Igor Potjevlesch wrote: > > Hello, >

[SR-Users] subst_hf with capture groups

2015-04-27 Thread Igor Potjevlesch
Hello, I can't figure out how to handle this case: subst_hf("P-Asserted-Identity", "/(.*\")0(.*)(.*\")/\133\2\3/", "a"); I'd like to substitute with \1 followed with 33 but it looks like the substitution tries to be done with \133. The capture group \133 doesn't exist. I tried with the