Hi,
I want to pass a variable from opener to a perl program
anyone has complete these ?

I try with :
# opensips.cfg
perl_exec("Urgence", "avp(s:password)");

# UrgenceScript.pl
my $hdr = OpenSIPS::AVP::get("password");

But the $hdr variable still be null
I've only use OpenSIPS qw ( log ); and use OpenSIPS::Message; for the USE
section.
OpenSIPS::AVP cause opensips to crash for lack of AVP.pm (which seems
doesn't exist).

thanks


-- 
Geoffroy Rabouin
HighColoc
13710 La Barque
téléphone : 06-27-19-13-07
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to