Re: [SR-Users] detect the direction of the BYE

2012-01-25 Thread Uri Shacked
On Thu, Jan 26, 2012 at 9:24 AM, Uri Shacked wrote: > Hi, > > i would like to detct the direction of the BYE. was it drom the caller or > the callee? > in the ACC module i can do that if i analyze the to and from tags... > how do i do it (in a nice way) in the cfg file? > > cheers. > ___

Re: [SR-Users] Kamailio Redundancy examples/pointers required

2012-01-25 Thread Sammy Govind
Hi, Thanks for taking out time for this. really appreciate your ideas. Here are few things I've found useful so far. http://kamailio.org/events/2011-fosdem/p_usrloc.pdf This looks like one thing that one could have to ensure more reliability but we do need other application level and physical leve

[SR-Users] dbcassandra - 483

2012-01-25 Thread David
Anca, for some strange reason I am getting "SIP/2.0 483 Too Many Hops" back when I try to register. I am running kamaikio -EE and I see we get authenticated correctly but then lots of other info is spit out very quickly and I am having a hard time trying to understand it. I think it ma

[SR-Users] Gentoo ebuild pkg v3.2.1

2012-01-25 Thread caio
Hello, I want to announce the availability of an ebuild for version 3.2.1 on Gentoo Portage Overlays. Here the git link: http://goo.gl/JXLQ4 The unofficial overlays portage website: * http://gpo.zugaina.org/net-misc/sip-router Remember this is not an official ebuild, and neither it's not at o

Re: [SR-Users] rpid to from header.

2012-01-25 Thread David
Thank you. Got it. On 1/25/12 12:30 PM, Alex Balashov wrote: On 01/25/2012 12:22 PM, David wrote: One of my upstream gateways does not support rpid, so I want to rewrite the from header from the rpid. is just a matter if setting $fU = $rpid? No, $fu/$fU/$fd/etc. are not mutable. What you w

Re: [SR-Users] get the kamailio up time and other params from the cfg file.

2012-01-25 Thread Yaron Nachum
Uri, I found something nice for U : http://www.kamailio.org/wiki/features/new-in-3.2.x#dispatcher There's a new route event when a destination goes down. You can use it in order to send event / write it to a local variable. The question is if there is a way to know which destination went down?

Re: [SR-Users] access to the "Available Functions" in the modules & the way to bridge a call based on username and domain

2012-01-25 Thread Xi Liu
Hi Daniel, Thanks for the advice. Actually I found that i can just modify the $ru to do the work….not good start but I'm in :) Regards, Xi On Jan 20, 2012, at 4:25 PM, Daniel-Constantin Mierla wrote: > Hello, > > On 1/20/12 9:48 PM, Xi Liu wrote: >> >> Hi, >> >> I'm new to kamailio, have s

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-25 Thread Henning Westerholt
On Tuesday 24 January 2012, laura testi wrote: > we are using the XMPP gateway modules: > • PUA > • PUA_XMPP > • XMPP > The behavior is ok but since the modules are started, the memory usage > is getting increased and now also the swap memory area is used. > I send to you the following

Re: [SR-Users] rpid to from header.

2012-01-25 Thread Alex Balashov
On 01/25/2012 12:22 PM, David wrote: One of my upstream gateways does not support rpid, so I want to rewrite the from header from the rpid. is just a matter if setting $fU = $rpid? No, $fu/$fU/$fd/etc. are not mutable. What you want is uac_replace_from(), in the 'uac' module. -- Alex Balasho

[SR-Users] rpid to from header.

2012-01-25 Thread David
One of my upstream gateways does not support rpid, so I want to rewrite the from header from the rpid. is just a matter if setting $fU = $rpid? Thanks. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-ro

Re: [SR-Users] Kamailio Redundancy examples/pointers required

2012-01-25 Thread Andreas Granig
Hi Sammy, On 01/25/2012 02:08 PM, Sammy Govind wrote: > I've been looking for ways to create a redundant Kamailio cluster. I've > googled alot but haven't got any concrete or final wording on any one > solution that'll just work perfectly. The basic requirement is that in HA is never really easy

Re: [SR-Users] redirect client to keep original ruri

2012-01-25 Thread Andrew Pogrebennyk
On 01/25/2012 03:18 PM, Alex Balashov wrote: > Put the 302 Contact URI in the destination set instead, i.e. $du, not > $ru. That will cause it to be relayed to the redirect destination on > the network and transport level, but the logical target will remain the > same. Ok. I was thinking that uac

Re: [SR-Users] redirect client to keep original ruri

2012-01-25 Thread Andrew Pogrebennyk
Daniel, thank you - method (2) works like a charm. On 01/25/2012 03:16 PM, Daniel-Constantin Mierla wrote: > an option - get the contact header from 302 in failure route via > $T_rpl($ct). Use its uri to set $du. I was getting an error for some reason: 0(7860) ERROR: [pvapi.c:516]: error searc

Re: [SR-Users] redirect client to keep original ruri

2012-01-25 Thread Alex Balashov
On 01/25/2012 08:56 AM, Andrew Pogrebennyk wrote: Hello, assuming that I want to use contact from 302 response as outbound proxy but keep the original Request-URI, what should I do? Calling the revert_uri() after get_redirects() in failure_route doesn't do the trick. Put the 302 Contact URI in

Re: [SR-Users] redirect client to keep original ruri

2012-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/25/12 2:56 PM, Andrew Pogrebennyk wrote: Hello, assuming that I want to use contact from 302 response as outbound proxy but keep the original Request-URI, what should I do? Calling the revert_uri() after get_redirects() in failure_route doesn't do the trick. an option - get the conta

Re: [SR-Users] UAC module + customize user_agent

2012-01-25 Thread Daniel-Constantin Mierla
Hello, try to set user_agent_header global parameter: http://www.kamailio.org/wiki/cookbooks/3.2.x/core#user_agent_header Cheers, Daniel On 1/16/12 11:48 PM, Douglas Adami wrote: Hello everyone, I'm new here and I go to test my settings, but I need to authenticate a remote server, I was readi

Re: [SR-Users] Radius and kamailio: avp unknown attribute

2012-01-25 Thread Daniel-Constantin Mierla
Hello, do you have the radius dictionaries configured to libradius client and radius server? One is delivered with kamailio, should be located in the same place as kamailio.cfg. Then there are some dictionary files shipped with radius server/client, you have to load those for sip/voip. Cheer

Re: [SR-Users] Images missing

2012-01-25 Thread Daniel-Constantin Mierla
Hello, thanks for pointing out, should be fixed now. Cheers, Daniel On 1/17/12 12:15 PM, sjs205.li...@googlemail.com wrote: Hello all, Just reading through some of the docs on the website; is it possible to get the images in this file: http://sip-router.org/docbook/sip-router/branch/master/s

[SR-Users] redirect client to keep original ruri

2012-01-25 Thread Andrew Pogrebennyk
Hello, assuming that I want to use contact from 302 response as outbound proxy but keep the original Request-URI, what should I do? Calling the revert_uri() after get_redirects() in failure_route doesn't do the trick. ___ SIP Express Router (SER) and Kam

[SR-Users] Kamailio Redundancy examples/pointers required

2012-01-25 Thread Sammy Govind
Hello list, I've been looking for ways to create a redundant Kamailio cluster. I've googled alot but haven't got any concrete or final wording on any one solution that'll just work perfectly. The basic requirement is that in case of Kamailio application failure or in case of physical machine error

Re: [SR-Users] Kamailio Crashing

2012-01-25 Thread Daniel-Constantin Mierla
Hello, there were many fixes in branch 3.1 since 3.1.0 was released, the latest patch release in that series is 3.1.5. Can you upgrade to it (or to latest git version on branch 3.1) to be sure this is not a bug already fixed? Cheers, Daniel On 1/25/12 10:59 AM, Ali Jawad wrote: Hi The vers

Re: [SR-Users] Kamailio Crashing

2012-01-25 Thread Ali Jawad
Hi The version is 3.1.0 - In more detail [root@Kam-RTP-100-58 ~]# kamailio -V version: kamailio 3.1.0 (i386/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_FUTEX, FAST_LOCK-ADAP

Re: [SR-Users] IRC devel meeting

2012-01-25 Thread Daniel-Constantin Mierla
Hello, since we got three votes so far (other may not have a preference as well or not participate), all being ok with both dates, the IRC devel meeting will be next Tuesday. If you want to participate, join #sip-router channel on irc.freenode.net. Don't forget to add topics to agenda if you

Re: [SR-Users] get the kamailio up time and other params from the cfg file.

2012-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/24/12 4:07 PM, Uri Shacked wrote: Hi, is there a way to get the total up time of kamailio from the cfg file? like $stat(used_size) gives me the stat of the shared memory used size. and if i am in it... is there a way to get the dispatcher status as well? i am trying to find

Re: [SR-Users] Kamailio Crashing

2012-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/24/12 12:57 PM, Ali Jawad wrote: Hi I am running Kamailio and at times it just crashes, sometimes it happens once a day sometimes a few times a day, in debug mode it shows the following when it crashes http://pastebin.com/ZcQRnXmM are you sure this is the right log? The signal