Re: [Kamailio-Users] ACKed dialog remains in state 3 instead of 4

2009-05-29 Thread catalina oancea
Hi Daniel, The cseq is increased by one when the second INVITE arrives. I think this should be fixed in the code because others may experience the same problem. I tested with modified code, which didn't stop the search when the dialog was found with deleted state and it was all OK, the problem no

Re: [Kamailio-Users] How to avoid RtpProxy failure when 183 arrives after a CANCEL

2009-05-29 Thread Iñaki Baz Castillo
El Viernes, 29 de Mayo de 2009, Daniel-Constantin Mierla escribió: > > Yes, nothing wrong happens, but I would like to avoid this error in the > > logs. Unfortunatelly when processing the incoming CANCEL kamailio cannot > > unset a flag in the related INVITE transaction, so I cannot do > > "resetf

Re: [Kamailio-Users] How to avoid RtpProxy failure when 183 arrives after a CANCEL

2009-05-29 Thread Daniel-Constantin Mierla
Hello, On 05/29/2009 06:48 PM, Iñaki Baz Castillo wrote: > Hi, I'm experimenting this real case very often: > > - Kamailio invokes "force_rtproxy()" for an INVITE and sets a > flag(USE_RTPPROXY). > > - A CANCEL arrives (so I invoke "unforce_rtpproxy()"). > > - Inmediatelly a 183 arrives from dow

Re: [Kamailio-Users] play with vars

2009-05-29 Thread Iñaki Baz Castillo
El Viernes, 29 de Mayo de 2009, BERGANZ François escribió: > Hello, > > > > I am looking for : how to work with vars ? > > I need to do var(a)=var(a)+1 … > > How to? $var(a) = $var(a) + 1; It's also useful reading the documentation about pseudovariables in the wiki ;) -- Iñaki Baz Castillo

Re: [Kamailio-Users] play with vars

2009-05-29 Thread Daniel-Constantin Mierla
Hello, On 05/29/2009 06:47 PM, BERGANZ François wrote: > > Hello, > > I am looking for : how to work with vars ? > > I need to do var(a)=var(a)+1 … > > How to? > $var(a) = $var(a) + 1; Cheers, Daniel > Thank you > > Cordialement, > > BERGANZ François > > cid:image001.gif@01C8F7CD.6BC1D2C0 > > h

[Kamailio-Users] How to avoid RtpProxy failure when 183 arrives after a CANCEL

2009-05-29 Thread Iñaki Baz Castillo
Hi, I'm experimenting this real case very often: - Kamailio invokes "force_rtproxy()" for an INVITE and sets a flag(USE_RTPPROXY). - A CANCEL arrives (so I invoke "unforce_rtpproxy()"). - Inmediatelly a 183 arrives from downstream (before the UAS receives the CANCEL generated by Kamailio).

[Kamailio-Users] play with vars

2009-05-29 Thread BERGANZ François
Hello, I am looking for : how to work with vars ? I need to do var(a)=var(a)+1 … How to? Thank you Cordialement, BERGANZ François cid:image001.gif@01C8F7CD.6BC1D2C0 http://www.acropolistelecom.net P Pensez à l'Environnement, n'imprimez ce

Re: [Kamailio-Users] advertised_address is not used by nathelper

2009-05-29 Thread Daniel-Constantin Mierla
Hello, On 05/29/2009 12:41 PM, catalina oancea wrote: > Hello, > > I need to set listen=0.0.0.0 in kamailio (because it's very important > for me to add new IPs to my server without restarting kamailio), but I > see that the Via header remains 0.0.0.0 in this case. > So I added: > advertised_addre

Re: [Kamailio-Users] ACKed dialog remains in state 3 instead of 4

2009-05-29 Thread Daniel-Constantin Mierla
Hello, On 05/28/2009 02:48 PM, catalina oancea wrote: > Hi Daniel, > > Actually reading RFC 3261 I see that the same callid must be used: > > This >Note that when requests are retried after certain >failure responses that solicit an amendment to a request (for >example, a challenge for

Re: [Kamailio-Users] tcp_blocking_connect related errors and Kamailio using 100% CPU

2009-05-29 Thread Iñaki Baz Castillo
2009/5/29 Pascal Maugeri : > May 27 14:20:11 server2-operations /usr/local/sbin/kamailio[26227]: > WARNING:core:send2child: no free tcp receiver, connection passed to the > leastbusy one (1) Yes, this is the warning I told about in other mail. > - in top kamailio process have high values in the

[Kamailio-Users] advertised_address is not used by nathelper

2009-05-29 Thread catalina oancea
Hello, I need to set listen=0.0.0.0 in kamailio (because it's very important for me to add new IPs to my server without restarting kamailio), but I see that the Via header remains 0.0.0.0 in this case. So I added: advertised_address="my_ip_address" advertised_port=5060 Then I see that for normal

Re: [Kamailio-Users] tcp_blocking_connect related errors and Kamailio using 100% CPU

2009-05-29 Thread Pascal Maugeri
On Thu, May 28, 2009 at 12:59 PM, Iñaki Baz Castillo wrote: > 2009/5/28 Pascal Maugeri : > > FYI, I've changed the configuration to: > > > > tcp_children=8 > > tcp_send_timeout=3 > > tcp_connect_timeout=5 > > > > and it looks we get less often the problem described here ( > tcp_connect/send > > t

Re: [Kamailio-Users] Another table version issue

2009-05-29 Thread Henning Westerholt
On Montag, 25. Mai 2009, Raúl Alexis Betancor Santana wrote: > I have the same on a new fresh "kamdbctl create" database, but ... I get > lot of errors about fields that doesn't exist on carrierfailureroute table, > apart from the errors about versions. > > > Perhaps you've done some changes to the

Re: [Kamailio-Users] hangup problem

2009-05-29 Thread LetMeKnow
Hello Chandrakant, Problem in your Asterisk configuration of sip.conf, Please check the Trunk creation in sip.conf with Asterisk, Where Kamailio trunk is registered in Asterisk and See whether you getting option Message to Kamailio Server from Asterisk Server. It should works fine, both scenarios

[Kamailio-Users] hangup problem

2009-05-29 Thread Chandrakant Solanki
hi I am using.. Asterisk : 1.6.0.5 Kamailio : 1.5.0 Here, is network diagram ... 172.18.100.10/20/30 192.168.1.68==192.168.1.70 (SIP Phone Register on this IP) (Kamailio