Re: [SR-Users] Kamailio : Listening on multiple ports behind NAT

2012-01-18 Thread Reda Aouad
Okay, it seems we're on the right track.. BUT This is my code in the branch_route if (is_method("INVITE|SUBSCRIBE")){ $avp(s:fs) = $fs; $avp(s:Rp) = $Rp; avp_subst("$avp(s:fs)", "/(.*):(.*):(.*)/\3/"); #xlog("fs: $avp(s:fs) |

Re: [SR-Users] Kamailio : Listening on multiple ports behind NAT

2012-01-18 Thread Ovidiu Sas
Test them in branch_route: http://www.kamailio.org/wiki/cookbooks/3.2.x/core#branch_route and set the Record-Route header there, for each individual branch. Regards, Ovidiu Sas -- VoIP Embedded, Inc. http://www.voipembedded.com On Wed, Jan 18, 2012 at 5:37 PM, Reda Aouad wrote: > Thank you for

Re: [SR-Users] Kamailio : Listening on multiple ports behind NAT

2012-01-18 Thread Reda Aouad
Thank you for your reply. I tried what you suggested. The problem is when there are multiple locations/registrations per AOR on different ports and doing parallel forking. Accessing $fs only gives one of the sockets (first or last?), not all of them. Accessing $sndfrom gives all of the used outgoi

Re: [SR-Users] Kamailio Keepalive

2012-01-18 Thread Daniel-Constantin Mierla
Hello, never used nat_traversal module, but from the readme it looks that it has no relation with user location table -- it keeps records in a file for backup, maybe someone else that is using it can tell more. What I use for such case is nathelper module, which is tied to usrloc for keepali

Re: [SR-Users] pua_usrloc, PUBLISH not send when contact is deleted or expires

2012-01-18 Thread Daniel-Constantin Mierla
Hello, On 1/18/12 12:50 PM, Giacomo Vacca wrote: Thanks Daniel, > can you switch to nightly builds from branch 3.2 just to be sure it is not related to something that was fixed since 3.2.0 was released? I've switched and now have installed 3.2.1, and moved to sqlite too. I've spent some ti

Re: [SR-Users] re-route SIP response message

2012-01-18 Thread Marius Zbihlei
On 01/18/2012 06:36 PM, Robert R wrote: Hi, Can I re-route a SIP response message? In other words, after the SIP proxy receives a 503 from node A, I need to change the TO field and re-route it to node B. I tried to modify $rd or $rU and didn't work. Thanks, R Hello , You need to use tm's

[SR-Users] re-route SIP response message

2012-01-18 Thread Robert R
Hi, Can I re-route a SIP response message? In other words, after the SIP proxy receives a 503 from node A, I need to change the TO field and re-route it to node B. I tried to modify $rd or $rU and didn't work. Thanks, R ___ SIP Express Router (SER) and

Re: [SR-Users] ip address error with exec module

2012-01-18 Thread Uri Shacked
still 13(11851) ERROR: exec [exec.c:86]: cmd nc -u -w0 10.2.0.54 514 <<< ",denied_calls-0,dos-green" failed. exit_status=-1, errno=32: Broken pipe On Wed, Jan 18, 2012 at 11:22 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > ok, looked in the sources the rtimer modu

Re: [SR-Users] Dialogs not removed from memory, and occasionally persistent in DB as well

2012-01-18 Thread Øyvind Kolbu
On 2012-01-17 at 23:47, Timo Reimann wrote: > Hey Øyvind, > Am 17.01.2012 um 13:41 schrieb Øyvind Kolbu: > > > > Then in the main route: > > > >if !allow_trusted() { > >route(AUTH); > >} > > > >if (is_method("INVITE")) { > >setflag(3); > >

[SR-Users] Kamailio Keepalive

2012-01-18 Thread Reda Aouad
Hi, I am using the nat_keepalive function of the nat_traversal module, using the OPTIONS message, and my code is the following : if (is_method("REGISTER")) nat_keepalive(); I see that Kamailio still sends OPTIONS packets even if the client unregisters itself. It stops later, but I don't know

Re: [SR-Users] pua_usrloc, PUBLISH not send when contact is deleted or expires

2012-01-18 Thread Giacomo Vacca
Thanks Daniel, > can you switch to nightly builds from branch 3.2 just to be sure it is not > related to something that was fixed since 3.2.0 was released? I've switched and now have installed 3.2.1, and moved to sqlite too. I've spent some time to verify a change in behaviour, but I'm observing

Re: [SR-Users] pua_usrloc, PUBLISH not send when contact is deleted or expires

2012-01-18 Thread Daniel-Constantin Mierla
Hello, On 1/18/12 10:53 AM, Giacomo Vacca wrote: Hi all, I've made a clean installation of kamailio 3.2.0 from 'http://deb.kamailio.org/kamailio32 squeeze main' repository, on a squeeze debian machine (2.6.32-5-686). can you switch to nightly builds from branch 3.2 just to be sure it is n

[SR-Users] pua_usrloc, PUBLISH not send when contact is deleted or expires

2012-01-18 Thread Giacomo Vacca
Hi all, I've made a clean installation of kamailio 3.2.0 from 'http://deb.kamailio.org/kamailio32 squeeze main' repository, on a squeeze debian machine (2.6.32-5-686). Installed also kamailio-presence-modules, same version. I'm just using the default kamailio.cfg that comes with the package, wit

Re: [SR-Users] New feature: embedded MSRP relay

2012-01-18 Thread Daniel-Constantin Mierla
On 1/17/12 5:00 PM, Carsten Bock wrote: Thumbs up, definitely cool new feature! Thanks! I hope to see you at FOSDEM, not sure if i can make it Looking forward to it... Cheers, Daniel Thanks! Carsten 2012/1/17 Daniel-Constantin Mierla: Hello, a new module is now on development bran

Re: [SR-Users] [Kamailio-Business] New feature: embedded MSRP relay

2012-01-18 Thread Daniel-Constantin Mierla
Hello, On 1/17/12 11:29 PM, Iñaki Baz Castillo wrote: 2012/1/17 Daniel-Constantin Mierla: Hello, a new module is now on development branch, named msrp, offering an embedded MSRP relay. Message Session Relay Protocol is specified by IETF ( core and relay part in RFC4975 and RFC4976), one of typ

Re: [SR-Users] ip address error with exec module

2012-01-18 Thread Daniel-Constantin Mierla
Hello, ok, looked in the sources the rtimer module had its own internal faked msg, so my previous patch didn't apply for it. I just committed a patch to rtimer, so now it uses the common faked msg. Can you cherry pick commit 6c829c1794fb79fbce213238e88346522f584fcf and try again? Cheers,

Re: [SR-Users] New feature: embedded MSRP relay

2012-01-18 Thread Daniel-Constantin Mierla
Hello, On 1/17/12 7:50 PM, Stoyan Mihaylov wrote: We use kamailio 3.2 and imsdroid to make videocalls, send messages etc. What we have to this moment is kamailio 3.2, rtpproxy, asterisk and modified imsdroid (for Android phones). Asterisk is used for billing and some other services. Imsdroid c