Re: [SR-Users] Fwd: perl_exec() using parameter?

2010-10-19 Thread Daniel-Constantin Mierla
Hello, On 10/15/10 3:43 PM, Nicolas Rüger wrote: Hello, thanks for adding it to the list. The feature would help me a lot. In the meanwhile... I tried to use AVPs instead, but didn't work. I guess I use them in a wrong way...!? $avp(i:3) = $fu; perl_exec(mytest,$avp(i:3));

Re: [SR-Users] Fwd: perl_exec() using parameter?

2010-10-15 Thread Nicolas Rüger
Hello, thanks for adding it to the list. The feature would help me a lot. In the meanwhile... I tried to use AVPs instead, but didn't work. I guess I use them in a wrong way...!? $avp(i:3) = $fu; perl_exec(mytest,$avp(i:3)); Using these lines $avp(i:3) is passed as a static string

Re: [SR-Users] Fwd: perl_exec() using parameter?

2010-10-12 Thread Nicolas Rüger
, Nicolas Original-Nachricht Datum: Mon, 11 Oct 2010 23:48:12 +0200 Von: Daniel-Constantin Mierla mico...@gmail.com An: Nicolas Rüger nicolasrue...@gmx.de CC: sr-users@lists.sip-router.org Betreff: Re: [SR-Users] Fwd: perl_exec() using parameter? Hello, On 10/11/10 2:06 PM

Re: [SR-Users] Fwd: perl_exec() using parameter?

2010-10-12 Thread Daniel-Constantin Mierla
you... Regards, Nicolas Original-Nachricht Datum: Mon, 11 Oct 2010 23:48:12 +0200 Von: Daniel-Constantin Mierlamico...@gmail.com An: Nicolas Rügernicolasrue...@gmx.de CC: sr-users@lists.sip-router.org Betreff: Re: [SR-Users] Fwd: perl_exec() using parameter? Hello, On 10

[SR-Users] Fwd: perl_exec() using parameter?

2010-10-11 Thread Nicolas Rüger
Hello, any ideas for parameter passing to perl-scripts are appreciated!!! Regards, Nicolas original Hello, is there any chance to pass parameters (like from_uri or to_uri) from the kamailio routing logic to a perl script? I know that the whole sip message is provided

Re: [SR-Users] Fwd: perl_exec() using parameter?

2010-10-11 Thread Alex Balashov
I used AVPs back when I used to use the Perl module... On 10/11/2010 08:06 AM, Nicolas Rüger wrote: Hello, any ideas for parameter passing to perl-scripts are appreciated!!! Regards, Nicolas original Hello, is there any chance to pass parameters (like from_uri or

Re: [SR-Users] Fwd: perl_exec() using parameter?

2010-10-11 Thread Daniel-Constantin Mierla
Hello, On 10/11/10 2:06 PM, Nicolas Rüger wrote: Hello, any ideas for parameter passing to perl-scripts are appreciated!!! as I understand the documentation, perl_exec() executes a function in Perl script set by filename parameter. I checked the sources and the second parameter to perl