Re: [Kamailio-Users] Checking the destination IP after dispatcher

2010-01-11 Thread Alex Balashov
No reason, but $rd takes you straight to the domain without having to do the work of parsing it out of $ru, so it's just cleaner. It's the same way that $rU gets you the user part without having to extract it with string operations yourself. There may be a minor performance argument, too, sin

Re: [Kamailio-Users] Checking the destination IP after dispatcher

2010-01-11 Thread Geoffrey Mina
Is there any reason I shouldn't use $ru as I am doing now? All seems to be working. Thanks. On 1/11/10, Alex Balashov wrote: > On 01/11/2010 12:55 PM, Geoffrey Mina wrote: >> this was from a regular route[] block. I ended up finding an old >> thread which pointed me in the right direction. >>

[Kamailio-Users] Rtpproxy not recording media stream

2010-01-11 Thread Vikram Ragukumar
Hello, I have setup Kamailio(v1.5) and Rtpproxy(v1.2.1) on a Centos5.4 linux box. Kamailio's config file has been edited to include Nat and mysql support. With Kamailio running, i started rtpproxy using rtpproxy -l ip_addrs -s udp:127.0.0.1:7722 -a -r /var/log -F However rtpproxy does not se

Re: [Kamailio-Users] Kamailio (OpenSER) v3.0.0 Released

2010-01-11 Thread Edson - Lists
I second this thanks... Good job congratulations... Edson. Alex Balashov escreveu: I offer an e-toast to Herculean effort that went into this. Congratulations to all of you, from we, the users, who will reap the rewards. On 01/11/2010 01:38 PM, Daniel-Constantin Mierla wrote: Hi every

Re: [Kamailio-Users] Kamailio (OpenSER) v3.0.0 Released

2010-01-11 Thread Alex Balashov
I offer an e-toast to Herculean effort that went into this. Congratulations to all of you, from we, the users, who will reap the rewards. On 01/11/2010 01:38 PM, Daniel-Constantin Mierla wrote: Hi everybody, after ten months since previous major release 1.5.0, I am glad to announce that Kama

[Kamailio-Users] Kamailio (OpenSER) v3.0.0 Released

2010-01-11 Thread Daniel-Constantin Mierla
Hi everybody, after ten months since previous major release 1.5.0, I am glad to announce that Kamailio (OpenSER) v3.0.0 is out. It is a special release, being the first based on SIP Router project. Along with new things developed during the past months, you can blend features and modules pro

Re: [Kamailio-Users] Checking the destination IP after dispatcher

2010-01-11 Thread Alex Balashov
On 01/11/2010 12:55 PM, Geoffrey Mina wrote: this was from a regular route[] block. I ended up finding an old thread which pointed me in the right direction. I am currently using this to retrieve the destination IP POST dispatcher lookup: $var(destIP) = $(ru{s.select,1,:}{s.select,1,@}); Oh.

Re: [Kamailio-Users] Checking the destination IP after dispatcher

2010-01-11 Thread Geoffrey Mina
this was from a regular route[] block. I ended up finding an old thread which pointed me in the right direction. I am currently using this to retrieve the destination IP POST dispatcher lookup: $var(destIP) = $(ru{s.select,1,:}{s.select,1,@}); It seems to be working well. Anything I should be

Re: [Kamailio-Users] Logical operators

2010-01-11 Thread Antonio Reale
Sorry for the question. The problem was in my head. I don't need the OR operator, but an AND operator. So the right expression is that reported in the previous email. Regards, -- Antonio 2010/1/11 Antonio Reale : > I solved in this way: > if(is_avp_set("$avp(s:avp)") && !isflagset(1) && !isflag

Re: [Kamailio-Users] Checking the destination IP after dispatcher

2010-01-11 Thread Alex Balashov
Branch route? On 01/11/2010 11:50 AM, Geoffrey Mina wrote: What pseudo variable would i check after running ds_next_dst() to check the IP we are about to forward the INVITE to? Basically I want to have a check for $si == [something] to ensure I am not about to send the INVITE to the same UI wh

[Kamailio-Users] This has probably been asked a thousand times before...

2010-01-11 Thread Robert B
Regardless, despite my Googlage, I can't seem to find what I am looking for. I've looked at the Wiki and the documentation. While I do have a programming background, I still am having a hard time grasping some of these tutorials. Many of them seem very specific and not at all relevant to what

[Kamailio-Users] Checking the destination IP after dispatcher

2010-01-11 Thread Geoffrey Mina
What pseudo variable would i check after running ds_next_dst() to check the IP we are about to forward the INVITE to? Basically I want to have a check for $si == [something] to ensure I am not about to send the INVITE to the same UI which just requested it. While I have your attention, I may as w

Re: [Kamailio-Users] Logical operators

2010-01-11 Thread Antonio Reale
I solved in this way: if(is_avp_set("$avp(s:avp)") && !isflagset(1) && !isflagset(2)) { ...; } Anyway, I'm interested to know, why the syntax in the previous email doesn't work? Thanks. Regards. -- Antonio 2010/1/11 Antonio Reale : > Hi, > I'm trying this: > if(is_avp_set("$avp(s:avp)") &

Re: [Kamailio-Users] preparing Kamailio 3.0.0 release

2010-01-11 Thread Daniel-Constantin Mierla
On 1/11/10 10:48 AM, Daniel-Constantin Mierla wrote: Hello, as announced previously, today will package the kamailio 3.0.0 release. Please commit any change to kamailio_3.0 branch before 14:00UTC to avoid overlappings. If you are aware of new bugs, just drop an email to devel mailing list. I

[Kamailio-Users] Logical operators

2010-01-11 Thread Antonio Reale
Hi, I'm trying this: if(is_avp_set("$avp(s:avp)") && !isflagset(1) || is_avp_set("$avp(s:avp)") && !isflagset(2)) { ...; } The first condition before OR operator is never matched. Could you please suggest the correct syntax? Thank you very much. Regards. -- Antonio ___

Re: [Kamailio-Users] Users Digest, Vol 56, Issue 19

2010-01-11 Thread Klaus Darilion
mustafa samara schrieb: thank you very much i will see kamailio 3.0 but is there any voip soft phone which support sctp, please? Maybe pjsip? At least the type is defined (ask on pjsip list) http://www.pjsip.org/pjsip/docs/html/sip__types_8h.htm#281800a20f69fd1cfb7b552377a89f211df18569bea816

[Kamailio-Users] 30x Redirect / Forward, even questions

2010-01-11 Thread Samuel Muller
Hello all, I've questions 'bout the redirect/forward with 30x requests. Actually, it does not work, it seems the uac redirect module doesn' t use the new contact for the new invite. simple schema : pstn gw -> kamailio -> linksys -> call forward unconditionnal to another pstn number -> kamailio -

Re: [Kamailio-Users] Users Digest, Vol 56, Issue 19

2010-01-11 Thread mustafa samara
thank you very much i will see kamailio 3.0 but is there any voip soft phone which support sctp, please? thanks ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.ope

[Kamailio-Users] "Permanent" AVP

2010-01-11 Thread Antonio Reale
Hi all, I'd like to simulate in kamailio 1.4.4, the loading of a global setting (like a parameter that is loaded only at startup), using AVPs. So, I want to load some AVP only at proxy startup. Probably it is not possible because, if I'm not wrong, AVPs are transaction persistent. The problem is th

Re: [Kamailio-Users] oracle sqlops URL

2010-01-11 Thread Henning Westerholt
On Friday 08 January 2010, alex pappas wrote: > As I mentioned in previous email , when I'm running the query with the > ./kamailio_orasel tool I get respond normally. > Why I wanted to try oracle is that we already have one oracle db that keeps > the portability data (and works with other systems)

Re: [Kamailio-Users] about kamailio and tls

2010-01-11 Thread Daniel-Constantin Mierla
Hi, On 1/9/10 11:01 PM, Klaus Darilion wrote: Hi Mustafa! mustafa samara wrote: i am mustafa samara master degree student. i try to test qjsimple with kamailio openser is it possible (to test the tls support) ? Yes, this should be no problem. Just configure TLS support in kamailio (I sugge

Re: [Kamailio-Users] about kamailio with sctp

2010-01-11 Thread Daniel-Constantin Mierla
Hello, On 1/11/10 1:37 AM, mustafa samara wrote: Hello i do not know how to try sctp, imake kmailio 1.5 with sctp=1 could you help me? if you want to play with sctp then I recommend to use 3.0.0 (to be released today). It has far more improvements and new features than older versions to SCTP.

[Kamailio-Users] preparing Kamailio 3.0.0 release

2010-01-11 Thread Daniel-Constantin Mierla
Hello, as announced previously, today will package the kamailio 3.0.0 release. Please commit any change to kamailio_3.0 branch before 14:00UTC to avoid overlappings. If you are aware of new bugs, just drop an email to devel mailing list. Cheers, Daniel -- Daniel-Constantin Mierla * http://w