Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-30 Thread Carsten Bock
Hi, if no one objects, i would push my changes into master then tonight Kind regards, Carsten 2010/8/30 Timo Reimann : > Hey, > > > Timo Reimann wrote: >> "Iñaki Baz Castillo" schrieb: >> >>> 2010/8/18 Carsten Bock : Hi, I've noticed, my RTP-Proxy changes where for the latest K al

Re: [SR-Users] Kamailio 1.5.4 crash

2010-08-30 Thread Iñaki Baz Castillo
2010/8/30 : > We were experiencing the issue with 1.5.4 released version, we upgraded from > svn and the issue still persists.  I have a backtrace from both versions. > > > > I agree it is a free of a null pointer, but the if(hf->parsed) should be the > test for NULL, and only execute code if not

Re: [SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Geoffrey Mina
Cool. Thanks to you both for your input. I am promoted my new config to production and we'll see if we have any more failures with retransmissions. So far so good though. Thanks, Geoff On Mon, Aug 30, 2010 at 2:02 PM, Iñaki Baz Castillo wrote: > 2010/8/30 Geoffrey Mina : > > t_check_trans();

Re: [SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Iñaki Baz Castillo
2010/8/30 Geoffrey Mina : > t_check_trans(); > > right inline in my script in place of all my incorrect logic and it will > just take care of everything, right?  If I am reading this correctly, I > don't even need to conditionally check to see the result as I am only > concerned about the retransmi

Re: [SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Uriel Rozenbaum
Hey, I do exactly as you say, I had no issues so far. I guess you can use the retvalue to do something else, I'm just not interested on doing anything else (as it handles retransmissions very well). On Mon, Aug 30, 2010 at 2:36 PM, Geoffrey Mina wrote: > Cool.  So in theory, i should just be abl

Re: [SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Geoffrey Mina
Cool. So in theory, i should just be able to place t_check_trans(); right inline in my script in place of all my incorrect logic and it will just take care of everything, right? If I am reading this correctly, I don't even need to conditionally check to see the result as I am only concerned abo

Re: [SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Uriel Rozenbaum
Hi, Check t_check_trans() from tm module. It does all on its own http://kamailio.org/docs/modules/1.5.x/tm.html#id2509242 Cheers, Uriel On Mon, Aug 30, 2010 at 2:19 PM, Geoffrey Mina wrote: > Hello, > I have a question about what the proper way to handle a duplicate > presentation of an INVIT

[SR-Users] Duplicate INVITE Handling

2010-08-30 Thread Geoffrey Mina
Hello, I have a question about what the proper way to handle a duplicate presentation of an INVITE is. On occasion I am seeing some packet loss and/or timing issues which are causing some of my end-points to retransmit the INVITE. Here is what I am doing in the most basic sense: ITSP (Bandwidth

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-30 Thread Timo Reimann
Hey, Timo Reimann wrote: > "Iñaki Baz Castillo" schrieb: > >> 2010/8/18 Carsten Bock : >>> Hi, I've noticed, my RTP-Proxy changes where for the latest K >>> already. I have modified them, to work with the latest >>> rtpproxy/nathelper split. I will do some more testing (they >>> are in the

Re: [SR-Users] kamailio and asterisk proiblem

2010-08-30 Thread Iñaki Baz Castillo
Please, replies to the maillist. 2010/8/30 : > I have just that on asterisk, host = kamailio IP and insecure=host,invite. I > don't think this is asterisk related. If you have "insecure=host,invite" then it's wrong. -- Iñaki Baz Castillo ___ SIP

Re: [SR-Users] Kamailio 1.5.4 crash

2010-08-30 Thread gwillingham
We were experiencing the issue with 1.5.4 released version, we upgraded from svn and the issue still persists.  I have a backtrace from both versions. I agree it is a free of a null pointer, but the if(hf->parsed) should be the test for NULL, and only execute code if not NULL.  However this

Re: [SR-Users] Kamailio 1.5.4 crash

2010-08-30 Thread Henning Westerholt
On Monday 30 August 2010, Alex Balashov wrote: > On 08/30/2010 11:33 AM, gwilling...@comcast.net wrote: > > output from gdb shows hf->parsed to be NULL, however the call to > > free_to(hf->parsed) is being called, from there bad things happen. > > Sounds like a double free(), or a free() of someth

Re: [SR-Users] Kamailio 1.5.4 crash

2010-08-30 Thread Alex Balashov
On 08/30/2010 11:33 AM, gwilling...@comcast.net wrote: output from gdb shows hf->parsed to be NULL, however the call to free_to(hf->parsed) is being called, from there bad things happen. Sounds like a double free(), or a free() of something that was never allocated. -- Alex Balashov - Princ

[SR-Users] Kamailio 1.5.4 crash

2010-08-30 Thread gwillingham
Kamailio 1.5.4 crashes with the following backtrace. (gdb) bt #0  free_to_params (tb=0x79ffc0) at parser/parse_to.c:79 #1  free_to (tb=0x79ffc0) at parser/parse_to.c:88 #2  0x0047fe82 in clean_hdr_field (hf=0x2b32776ec6a0) at parser/hf.c:187 #3  0x2b327492f525 in clean_msg_c

Re: [SR-Users] Error when integrate xmpp module to Kamailio 3.0.1

2010-08-30 Thread Huy Nguyen
Hi Daniel, Thanks so much for your help. Maybe I still don't understand clearly yet about the scenario to test with this module (component mode): I install Kamailio and local ejabberd on server 192.168.1.25 with the same domain: kamailio1.com. I also have another ejabberd server for test wit

Re: [SR-Users] load_credentials PVs

2010-08-30 Thread Henning Westerholt
On Sunday 29 August 2010, Alex Balashov wrote: > Is there a particular reason why in the 'load_credentials' parameter > to the 'auth_db' module, one can only store values in AVPs, not script > variables? > > e.g. this works: > > modparam("auth_db", "load_credentials", "$avp(s:var1)=column") >

[SR-Users] help to use force_rtp_proxy([flags [, ip_address]]).

2010-08-30 Thread peter_green lion
hi all, i am a new user kamailio. i have configure kamailio with RTP proxy, but i have a problem in using : force_rtp_proxy("c","192.168.1.10")because i want to change to force to this ip. my configure is : when server receive "200 OK" it change value in "c= IN IP4 " to "c = IN IP4 192.168.1

[SR-Users] kamailio and asterisk proiblem

2010-08-30 Thread chuks
Hello I have been having issues with kamailio and asterisk realtime. I have used all the configurations posted, but it just has not worked for me. What I am trying to do is to use asterisk as PSTN & voicemail for kamailio. But I keep getting this 401 not authorized from asterisk like this:-

Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy

2010-08-30 Thread Daniel-Constantin Mierla
Hello, On 8/26/10 7:18 PM, KevinJin wrote: > Hello, > > May I have any comments on the issue? > It blocks the application for monthes. if you are in a hurry, then maybe you can find a consultant. The public mailing list is best effort, many of us having other jobs/travelings/vacations, and canno

Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy

2010-08-30 Thread KevinJin
Hello, I got some debug info using the truss as below, hope it can provide some info why it reports "invalid argument" error. Any suggestions are greatly appreciated. ==explanation for the EINVAL of writew() === The write() and writev() functions may fail if: EINVAL The STREAM

Re: [SR-Users] Question

2010-08-30 Thread Daniel-Constantin Mierla
Hello, On 8/27/10 2:37 AM, Stefan Parreiras wrote: Hello, My name is Stefan, I am from Brazil I created a Iptel SIP account, but I would like to know if is possible make to call to the phone number...Could you help me with this doubt? afaik you can route calls to pstn if you provide connect

Re: [SR-Users] Error when integrate xmpp module to Kamailio 3.0.1

2010-08-30 Thread Daniel-Constantin Mierla
Hello, the sip trace you attached shows SIP MESSAGE requests sent for key typing events. They have xml payload. You must not send them to xmpp, they are not real message, just indication the user is typing. As said in previous message, you cannot send xml content via XMPP IM. Cheers, Daniel

Re: [SR-Users] Error when integrate xmpp module to Kamailio 3.0.1

2010-08-30 Thread Daniel-Constantin Mierla
Hello, On 8/26/10 10:27 AM, Quốc Huy Nguyễn wrote: Hi all, I have some problem when integrate module xmpp to Kamailio 3.0.1. I have already searched on google and mailing-list but can't find the right way to fix it. I install Kamailio 3.0.1 on server 192.168.1.25 (kamailio1.com), Ejabberd

Re: [SR-Users] load_credentials PVs

2010-08-30 Thread Daniel-Constantin Mierla
Hello, On 8/29/10 1:21 AM, Alex Balashov wrote: Is there a particular reason why in the 'load_credentials' parameter to the 'auth_db' module, one can only store values in AVPs, not script variables? when this parameter was added, only avps were like script variables. Then probably nobody ne

Re: [SR-Users] Error when integrate xmpp module to Kamailio 3.0.1

2010-08-30 Thread Huy Nguyen
Have any suggest for me about this ? Thanks in advanced, Huy Nguyen www.htk-inc.com http://pbxvn.com/forum/ From: huy_quocngu...@live.com To: sr-users@lists.sip-router.org Subject: RE: Error when integrate xmpp module to Kamailio 3.0.1 Date: Fri, 27 Aug 2010 17:34:45 +0700 Hi all, I h

Re: [SR-Users] lcr

2010-08-30 Thread Anders
Hi Antanas, Great idea - I'll try that solution - makes a lot of sense. Thank you! //Anders On Mon, Aug 30, 2010 at 8:43 AM, Antanas Masevicius wrote: > Hi Anders, > > you probably will need to create this 5512 prefix for trunk 2. > This logic of including only the same length prefixes for re-