[OpenSIPS-Users] a simple perl question

Chris axisml at gmail.com
Wed Nov 12 22:01:34 CET 2008

On Wednesday 12 November 2008 1:50:59 pm Robert R wrote:
> How can I return a string value from perl function in openSER?
> return $x;   is not working.

Here's the way I'm doing it...from my Perl script code:

if ($routeid) {
	# set AVP variable with the destination route ID to route call to

And then  in the OpenSIPS script opensips.cfg, I can read it:

if ($avp(i:369) == "whatever") {


More information about the Users mailing list