[SR-Users] centos (fedora) service startup file

2012-08-03 Thread andre
Somwhere losted since openser 1.0 :) Please fix in: start() { echo -n $Starting $prog: . [ $RETVAL = 0 ] touch something to [ $RETVAL = 0 ] touch someting success I mean call function success in the end of the expression. Thanks in advance

[SR-Users] centos (fedora) service startup file

2012-08-03 Thread andre
Somwhere losted since openser 1.0 file kamailio.init Please fix in function start: start() { echo -n $Starting $prog: . [ $RETVAL = 0 ] touch something to [ $RETVAL = 0 ] touch someting success I mean call function success in the end of the expression. Thanks in advance.

Re: [SR-Users] Question on ACK behavior

2012-08-03 Thread Daniel-Constantin Mierla
Hello, On 8/3/12 1:43 AM, Varsha Venkatraramani wrote: I have a question regarding the below ACK response Kamilaio receives from a carrier.Can someone please help me understand why the *Route: sip:callmanager@192.168.160.43:5060 *sent from Kamailio is missing a as shown in

[SR-Users] kernel: nf_ct_sip: dropping packetIN= OUT=eth0 Error

2012-08-03 Thread Vijay Thakur
Hello all, I have configure Kamailio 3.1.5 Server. All things are working fine. When i make a call from Soft phone (X-Lite) to iphone, all is working fine. But in other case call from iphone to Softphone is not working, even not ringing. During checking the logs i am getting the error: Aug

Re: [SR-Users] postgres in kamailio 3.3.0-9.1

2012-08-03 Thread Daniel-Constantin Mierla
Hello, On 8/3/12 5:42 AM, Nathaniel L Keeling wrote: Yes but it was for an older version that was uninstalled. I changed the path to pull in the current version and still received the same error. I checked the version for openssl and the same thing was happening. I changed the path again and

[SR-Users] 302 redirect with 2 numbers registered

2012-08-03 Thread Mino Haluz
Hi, one number is registered on 2 phones. Phone1 has Always redirect set to another number. When incoming call is initiated, Phone2 is ringing and Phone1 sends 302 to the proxy. However the proxy does not send 302 to the caller (for ex. GW), but it waits for timeout of the Phone2. Then the proxy

Re: [SR-Users] 302 redirect with 2 numbers registered

2012-08-03 Thread Andrew Pogrebennyk
Mino, I am not sure, but you could try the following: set failure_reply_mode 3 (http://kamailio.org/docs/modules/stable/modules/tm.html#failure_reply_mode), then handle 302 redirect in the proxy and use the contact as a new branch like this: if(status == 302) { $var(contact) = $ct;

Re: [SR-Users] kernel: nf_ct_sip: dropping packetIN= OUT=eth0 Error

2012-08-03 Thread Konstantin M.
Looks like your firewall is passing a state RELATED,ESTABLISHED and don't have a permit rule for a state NEW. Check your iptables or simply do a command: iptables-save /tmp/iptables.txtand paste this file (/tmp/iptables.txt) to pastebin 2012/8/3 Vijay Thakur vijay.tha...@loopmethods.com

[SR-Users] REGISTER replication to multiple hosts

2012-08-03 Thread Henning Holtschneider
Hello, I'm trying to migrate an existing configuration from OpenSIPS 1.4.x to Kamailio 3.2.x. The old configuration replicates REGISTER requests to multiple servers using this code in the REGISTER routing block: add_sock_hdr(Local-Sock); add_rcv_param();