Re: [SR-Users] loose_route security

2011-04-12 Thread Henning Westerholt
On Monday 11 April 2011, Eric Hiller wrote: > I think what I am going to do is use a combination of: > > 1. Whitelist my gateway IPs. > > 2. Any initial INVITES from non-gateway IPs will be authorized and the > dialog be added to a simple htable based on callid > > 3. Any in-dialog will do a loo

[SR-Users] Kamailio service not starting on reboot when using mysql database

2011-04-12 Thread Rick Aldred
I have set up kamailio 3.1.2 on an install of Debian Squeeze, using the default config but with the following defines enabled: WITH_MYSQLWITH_AUTHWITH_USRLOCDBWITH_NAT Everything works as expected when starting Kamailio from a terminal, e.g.service kamailio start But after a reboot, the service f

[SR-Users] planning next major release 3.2

2011-04-12 Thread Daniel-Constantin Mierla
Hello, soon we should sketch the roadmap for the next major release 3.2. There are some private git branches with lot of work on it, so we need to synchronize a bit and decide about the proper time: before or after summer. Several devels will be in Berlin for Linuxtag, but no so much overlap

Re: [SR-Users] Kamailio service not starting on reboot when using mysql database

2011-04-12 Thread Daniel-Constantin Mierla
Hello, On 4/12/11 11:34 AM, Rick Aldred wrote: I have set up kamailio 3.1.2 on an install of Debian Squeeze, using the default config but with the following defines enabled: WITH_MYSQL WITH_AUTH WITH_USRLOCDB WITH_NAT Everything works as expected when starting Kamailio from a terminal, e.g. s

Re: [SR-Users] Kamailio service not starting on reboot when using mysql database

2011-04-12 Thread federico cabiddu
Hi, from the log you pasted is clear that the problem is that kamailio is starting before mysql. This because, as you said, they have the same priority and so, being the starting order alphabetical for the same priority, kamailio will start before mysql and cannot connect to mysql which is still no

Re: [SR-Users] Kamailio service not starting on reboot when using mysql database

2011-04-12 Thread Klaus Darilion
> the logs shows that the mysql server is started after kamailio. Be sure > you set the order at startup to run mysql first, maybe google helps to > find the proper way. > That's a bug in the init script of Kamailio: IIRC: /etc/init.d/kamailio (add mysql): # Required-Start:$syslog $netw

Re: [SR-Users] Kamailio service not starting on reboot when using mysql database

2011-04-12 Thread Rick Aldred
Thanks Klaus (and Daniel). That has solved my problem. I had just discovered the LSB header configuration in the init.d script but was missing the update-rc.d call, so thank you! Since I am using rtpproxy for NAT traversal, maybe I should also add this a required service, although it has worke

Re: [SR-Users] sr-users Digest, Vol 71, Issue 40

2011-04-12 Thread Rick Aldred
Hi Fedrico, Sorry I missed your reply earlier (thanks by the way). I changed the service priority using the Services GUI utility under System | Administration as I didn't know about the update-rc.d command at the time. Maybe the GUI doesn't do all that's required under the hood or maybe I miss

[SR-Users] How I can turn off 100 trying reply

2011-04-12 Thread Derrick Ding
Hi, All I wonder how I can make Kamailio not to send "100 Trying" msg when receive INVITE request, by modifying kamailio.cfg or source code. Thanks Derrick ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip

Re: [SR-Users] Registrar Server, location and auth_db table

2011-04-12 Thread Santiago Soares
I think you're right, but this is the way our db was contructed, it would be very expensive to change it now. I probably will call an external webservice to save users location. Thank you very much. Santiago Soares Fone: (41) 8488-0537 On Mon, Apr 11, 2011 at 5:51 AM, Henning Westerholt < henni

Re: [SR-Users] How I can turn off 100 trying reply

2011-04-12 Thread Henning Westerholt
On Tuesday 12 April 2011, Derrick Ding wrote: > I wonder how I can make Kamailio not to send "100 Trying" msg when > receive INVITE request, by modifying kamailio.cfg or source code. Hi Derrick, if you use a 3.x version, try t_relay_to (from the tm module docs): 1.5.37. t_relay_to(proxy, flags

Re: [SR-Users] How I can turn off 100 trying reply

2011-04-12 Thread Daniel-Constantin Mierla
Hello, On 4/12/11 6:20 PM, Henning Westerholt wrote: On Tuesday 12 April 2011, Derrick Ding wrote: I wonder how I can make Kamailio not to send "100 Trying" msg when receive INVITE request, by modifying kamailio.cfg or source code. Hi Derrick, if you use a 3.x version, try t_relay_to (from t

Re: [SR-Users] How I can turn off 100 trying reply

2011-04-12 Thread Derrick Ding
Hi, Thanks for your reply, I solve this issue by modifying tm/config.c Line 69: change 1 to 0. Derrick -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Tuesday, April 12, 2011 12:28

[SR-Users] Is there any globle variable/flag mechanism in Kamailio

2011-04-12 Thread Derrick Ding
Hi, All Currently, I try to install Kamailio as a partial call-stateful server. My purpose is: A call B. (sendrecv) A hold B (sendonly) A call C(sendrecv) A hold C (sendonly) A unhold B (sendonly) Because of Some bugs on A, when I repeat hold/unhold very fast, eg. A -B (sendrecv), A ---C

Re: [SR-Users] Is there any globle variable/flag mechanism in Kamailio

2011-04-12 Thread Alex Balashov
On 04/12/2011 01:54 PM, Derrick Ding wrote: I wonder if there's any other mechanism that I can use to record the state and can be used as flag. That is because a stateful proxy is, by default, transaction-stateful. A "call" is a dialog, which consists of several transactions. Proxies are no

Re: [SR-Users] How I can turn off 100 trying reply

2011-04-12 Thread Daniel-Constantin Mierla
On 4/12/11 7:37 PM, Derrick Ding wrote: Hi, Thanks for your reply, I solve this issue by modifying tm/config.c Line 69: change 1 to 0. that is the auto_inv_100 parameter, you don't need to change the source code, just set the module parameter: modparam("tm", "auto_inv_100", 0) Cheers, Dan