Re: [SR-Users] unset host domain in dispatcher module

2011-12-08 Thread Daniel-Constantin Mierla
Hello, On 12/7/11 9:37 AM, Uri Shacked wrote: Daniel hi, thanks for the reply. i woke up this mornning and tried to change the destination set on the dispatcher DB table. it was "sip:user@host"... i changed it to "sip:host" and used ds_select_domain. worked great, the R-URI host changed as ne

Re: [SR-Users] set host as inactive and probing in dispatcher

2011-12-08 Thread Daniel-Constantin Mierla
Hello, On 12/7/11 3:02 PM, Uri Shacked wrote: hi, i use "ds_select_domain()" to route a call. if the destination reply with an error i am using the next lines in a route that i called from the failure route: if($avp(OSPRPL)!=404) { where do you set $avp(OSPRPL)? Can you add a xlog() message in

[SR-Users] TLS<-->UDP not working with record_route_preset

2011-12-08 Thread Gnaneshwar Gatla
Hello All, I have setup the Kamailio 3.1.0 behind a NAT/firewall. I'm using record_route_preset() function to keep the Public IP(advertised_address) in the Route header. I have to setup a where TLS->UDP and UDP->TLS to work. The sip clients do TLS and we have third party sip clients that only d

Re: [SR-Users] Presence Dialog not being created

2011-12-08 Thread Gnaneshwar Gatla
Hey Timo, I had this resolved. Problem was "record_route_preset" was deleting the dialog "did" cookie. Making the Kamailio harder to sense the end of the dialog. And the pua_dialog did not update the presentity table with the state information. I had disabled the use of "did" param in the config

Re: [SR-Users] How to i use record_route_advertised_address

2011-12-08 Thread Daniel-Constantin Mierla
Hello, On 12/8/11 11:13 PM, Peter Dunkley wrote: Hi, The record_route_advertised_address() config file function is now in git master. from the readme I see that it takes the address from the function parameter, not from advertised_address global parameter, which is getting close to what reco

Re: [SR-Users] Running Kamailio as non-root user

2011-12-08 Thread Daniel-Constantin Mierla
Hello, On 12/9/11 2:45 AM, Nathaniel L Keeling wrote: I have just installed Kamailio 3.2 on Solaris sparc and would like to know what is the best way to have Kamailio to run under another userid, like kamailio. you can provide user/group in the command line starting kamailio. See kamailio -h

[SR-Users] Running Kamailio as non-root user

2011-12-08 Thread Nathaniel L Keeling
I have just installed Kamailio 3.2 on Solaris sparc and would like to know what is the best way to have Kamailio to run under another userid, like kamailio. Thanks Nathaniel L Keeling ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users ma

Re: [SR-Users] How to i use record_route_advertised_address

2011-12-08 Thread Peter Dunkley
Hi, The record_route_advertised_address() config file function is now in git master. Peter On Wed, 2011-12-07 at 10:27 +, Hugh Waite wrote: > Hi, > I've implemented the config file function for > record_route_advertised_address and it should appear in git head later > today. Just doing th

Re: [SR-Users] Problem to verify contact header

2011-12-08 Thread marius zbihlei
On 12/07/2011 06:45 PM, Bruno Bresciani wrote: this line is present in a module that i am writting, but on modules_k/pua_bla/notify.c line 205 has a similar condition... Cheers 607af7c7 (Henning Westerholt 2008-08-07 08:39:24 + 203) if(msg->contact== NULL || msg->contact->body