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

2011-04-13 Thread Klaus Darilion
On 12.04.2011 14:19, Rick Aldred wrote: 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

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

2011-04-13 Thread Daniel-Constantin Mierla
On 4/13/11 10:31 AM, Klaus Darilion wrote: On 12.04.2011 14:19, Rick Aldred wrote: 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

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

2011-04-13 Thread Klaus Darilion
On 13.04.2011 10:48, Daniel-Constantin Mierla wrote: On 4/13/11 10:31 AM, Klaus Darilion wrote: On 12.04.2011 14:19, Rick Aldred wrote: 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

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

2011-04-13 Thread Henning Westerholt
On Wednesday 13 April 2011, Klaus Darilion wrote: Maybe someone that knows the right format can send a patch to get the init.d script to the proper LSB header - even better, commit the fix if someone with git write access knows the format. I think the problem is not the proper format, but

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

2011-04-13 Thread Rick Aldred
Hi all, Maybe the fix would be to include mysql under 'Should-Start' (and 'Should-Stop') in the LSB header. That way mysql will be started if it is present, but not prevent Kamailio from starting if it is not. There is actually already a commented out Should-Start and Should-Stop in

[SR-Users] Attended transfer in load-balanced multi-server setup

2011-04-13 Thread Pan B. Christensen
Hello all, I'm having problems with attended transfer in certain scenarios. Let me first try to document the relevant parts of the setup: There are two load-balanced Asterisk gateways connected to the old Nortel system. Currently, PSTN connections are done by Nortel. We then have two

[SR-Users] RTPProxy and bridging IPv4/IPv6 with parallel forking

2011-04-13 Thread Dan-Cristian Bogos
Hey Guys, I was recently playing with gateway-ing IPv4-IPv6 and hit the following scenario: * AOR having contacts on both ipv4 and ipv6 and I wanted to do parallel forking. RTPProxy bridging works without any issue on a normal setup, however the problem shows up when needing to make calls

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

2011-04-13 Thread Derrick Ding
Hi, Alex I tried, it doesn't work. The real proxy is like a SIP-UA stateful entity. When A call B, then call C. it's different dialog. My aim is to let Kamailio send back 491 to A, if AB is in sendrecv state and A send INVITE to C with sendrecv before A hold B. I cannot keep the state of AB when

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

2011-04-13 Thread Alex Balashov
Derrick, If it's truly global variables you want, have you tried shared memory variables or htable? -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Apr 13, 2011,

Re: [SR-Users] Is there any globle variable/flag mechanisminKamailio

2011-04-13 Thread Derrick Ding
Hi Alex, If setting-value could only happen in initialization phase, and exported function has only: pv_isset() and pv_unset, this doesn't work. I need a function pv_set() to set the variable when condition is matched. Sincerely, Derrick -Original Message- From: