[SR-Users] Git Error on Kamailio-3.3 Install

2012-06-25 Thread SamyGo
Hello, I'm setting up new Kamailio 3.3 from git ref-link: http://www.kamailio.org/wiki/install/3.3.x/git I'm using CentOS 5.8 and when I execute the line # git checkout -b 3.3 origin/3.3 it gives me error. fatal: git checkout: updating paths is incompatible with switching branches. Did you inten

Re: [SR-Users] Nathelper module, FLT_NATS, FLT_NATB

2012-06-25 Thread SamyGo
I had this thread already starred here in inbox, a wiki page is definitely going to be bookmarked. On Mon, Jun 25, 2012 at 9:44 PM, Daniel-Constantin Mierla wrote: > > On 6/25/12 3:34 PM, SamyGo wrote: > > This is a great thread, really full of answers and concepts for me > atleast. > :) > > > l

Re: [SR-Users] Subscription-State: terminated;reason=terminated?

2012-06-25 Thread Min Wang
HI I did more analysis: as before, the configure is: 101 --- kamailio proxy/xcap server -- 102 101/102 : jitsi night build, xcap/SIMPLE mode kamailio is 3.3 101 has 102 on its contacts list, and 102 has 101 on its contacts list as well now 101 remove 102 from its cont

Re: [SR-Users] EOF Error in pass_fd

2012-06-25 Thread Ricardo Martinez
Thanks Daniel. We are going to do some test with the new patch, but before can you guide me on how to download only the modification via git ¿ Thanks!!. Best Regards, Ricardo Martinez.- *De:* Daniel-Constantin Mierla [mailto:mico...@gmail.com] *Enviado el:* lunes, 25 de junio de 2012 12:

Re: [SR-Users] Nathelper module, FLT_NATS, FLT_NATB

2012-06-25 Thread Fred Posner
On Jun 25, 2012, at 8:57 AM, Richard Brady wrote: > Klaus / Daniel > > Thanks again for assistance with this. > > I've tried the solution based on add_contact_alias() and > handle_ruri_alias() and it works perfectly. > > Richard > Do you have an example of the cfg you can share? Fred http:/

[SR-Users] kamailio.org server maintenance - estimated 1 hour downtime, 26/27 June

2012-06-25 Thread Daniel-Constantin Mierla
Hello, during the night of 26/27th of June, Central European Standard Time (GMT+1, with daylight saving time on), the server hosting kamailio.org and lists.sip-router.org will be down for approx 1 hour. This is a planned maintenance work to upgrade the server to a new infrastructure. Hopeful

Re: [SR-Users] Nathelper module, FLT_NATS, FLT_NATB

2012-06-25 Thread Daniel-Constantin Mierla
On 6/25/12 3:34 PM, SamyGo wrote: This is a great thread, really full of answers and concepts for me atleast. :) looks like we will have a new wiki page with the digested content of this thread :-) Cheers, Daniel On Mon, Jun 25, 2012 at 5:57 PM, Richard Brady >

Re: [SR-Users] EOF Error in pass_fd

2012-06-25 Thread Daniel-Constantin Mierla
Hello, there was a wrong unlocking of the profile while printing its content via MI, that could caused a race and eventually this kind of crash (in the case a dlg was added/removed in/from profile while the mi command was run). I committed a patch, you have to use latest branch 3.2. Let us k

[SR-Users] Subscription-State: terminated;reason=terminated?

2012-06-25 Thread Min Wang
HI when I removed 102 from 101's contact list (using jitsi nightly 1.1 build), kamailio 3.3 send out NOTIFY to 102 like this: NOTIFY sip:102@192.168.122.147:5060;transport=udp;registering_acc=192_168_122_32 SIP/2.0. Via: SIP/2.0/UDP 192.168.122.32;branch=z9hG4bK1bfb.afbf0a85.0. To: sip:102

Re: [SR-Users] Alias possible for presence...

2012-06-25 Thread Gertjan Wolzak
Daniel, Thanks for the info, will dive into it together with an programmer that does the client.. Thanks. From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: woensdag 20 juni 2012 11:42 To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List C

[SR-Users] EOF Error in pass_fd

2012-06-25 Thread Ricardo Martinez
Hello List. The last weekend our kamailio process crashed with this error : Jun 24 06:55:08 pxh /usr/local/sbin/kamailio[10661]: : [pass_fd.c:293]: ERROR: receive_fd: EOF on 29 Jun 24 06:55:08 pxh /usr/local/sbin/kamailio[10542]: ALERT: [main.c:751]: child process 10601 exited by a signal 1

Re: [SR-Users] Nathelper module, FLT_NATS, FLT_NATB

2012-06-25 Thread SamyGo
This is a great thread, really full of answers and concepts for me atleast. :) On Mon, Jun 25, 2012 at 5:57 PM, Richard Brady wrote: > Klaus / Daniel > > Thanks again for assistance with this. > > I've tried the solution based on add_contact_alias() and > handle_ruri_alias() and it works perfect

Re: [SR-Users] Nathelper module, FLT_NATS, FLT_NATB

2012-06-25 Thread Richard Brady
Klaus / Daniel Thanks again for assistance with this. I've tried the solution based on add_contact_alias() and handle_ruri_alias() and it works perfectly. Richard On 22 June 2012 13:47, Klaus Darilion wrote: > > > On 22.06.2012 13:50, Richard Brady wrote: >> >> Thanks guys, fantastic answers.

[SR-Users] default kamailio configuration

2012-06-25 Thread Vitaliy Aleksandrov
Hi All, After reading default kamailio configuration i can't understand why does kamailio remove preloaded route headers from the incoming initial INVITE before calling record_route(). remove_hf("Route"); if (is_method("INVITE|SUBSCRIBE")) record_route(); What will happen if

[SR-Users] Kamailio v3.3.0 packages

2012-06-25 Thread Daniel-Constantin Mierla
Hello, I'm summarizing the status of packages for latest release v3.3.0. Debian/Ubuntu packages are ready in the usual APT repository, including nightly builds of the GIT branch 3.3, details at: * http://www.kamailio.org/wiki/packages/debs RPMs for CentOS/RedHat, Fedora, openSuse (various v

Re: [SR-Users] Kamailio Unexpectedly Terminating

2012-06-25 Thread Daniel-Constantin Mierla
Hello, thanks for troubleshooting further -- as I expected, it is a memalign problem, but some confusing reports by not using always the patches I made to registrar module to align the structure, made thinking is something else. Now is no longer in registrar, but in another module. There mig

Re: [SR-Users] Over 100% of CPU usage on kamailio

2012-06-25 Thread Konstantin M.
Yes, I'll bt if it will appear again... Here is a version: # /opt/kamailio/sbin/kamailio -V version: kamailio 3.2.3 (x86_64/linux) flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTE

Re: [SR-Users] Over 100% of CPU usage on kamailio

2012-06-25 Thread Daniel-Constantin Mierla
Hello, when it occurs again, get the backtrace with gdb using the PIDs from all kamailio processes eating lot of CPU. Btw, what version are you using (kamailio -V)? Cheers, Daniel On 6/25/12 9:43 AM, Konstantin M. wrote: > do you have heavy traffic on that instance? How many children have y

Re: [SR-Users] Over 100% of CPU usage on kamailio

2012-06-25 Thread Konstantin M.
> do you have heavy traffic on that instance? How many children have you configured? Yes, but only a voip. There are over 10k calls per day. fork=yes children=4 This configuration is working during 1.5 months without any issues till now... > What you can do is to attach with gdb to a process us

Re: [SR-Users] Fwd: Can Kamailio be used to redirect media between a client that switches from wifi to 3g/gsm

2012-06-25 Thread Klaus Darilion
Within Kamailio there is nothing you can do to trigger a reINVITE. You need a B2BUA (e.g. Asterisk) to force a reINVITE, and even then it is not sure that the SIP client sends properly updated SDP and contact header (I would try this with a manually sent reINVITE). Further, even if there is no

Re: [SR-Users] ERROR: uri2dst: bad_uri

2012-06-25 Thread Daniel-Constantin Mierla
Hello, On 6/22/12 4:13 PM, Barthel Marco (CI/AFU1) wrote: Hi, we are using kamailio at Bosch with some several thousand users. From time to time we encounter the following in the logs of kamailio: /usr/sbin/kamailio[9247]: ERROR: tm [ut.h:255]: ERROR: uri2dst: bad_uri: sip: /usr/sbin/kamaili

Re: [SR-Users] Reply 503 was replaced to 500

2012-06-25 Thread Daniel-Constantin Mierla
Hello, this 503 to 500 is a requirement from RFC, to prevent propagation of blacklisting/disabling destination hosts. I don't remember right now any configuration option for it, but you can try to enforce it from the failure route, like: t_reply("503", "..."); Cheers, Daniel On 6/24/12 4:3

Re: [SR-Users] Over 100% of CPU usage on kamailio

2012-06-25 Thread Daniel-Constantin Mierla
Hello, On 6/24/12 10:50 PM, Konstantin M. wrote: Hello, Is there any reason to consume over 135% of CPU usage on kamailio ? (sreenshot: http://i48.tinypic.com/2u72hr8.png). Any ideas ? do you have heavy traffic on that instance? How many children have you configured? What you can do is