[OpenSIPS-Users] using avp in opensips 1.8

Alex Solt alex_solt at hotmail.com
Mon Jul 30 16:49:09 CEST 2012



Hi,
I am new to opensips 1.8.  I am unable to pass a value from open sips to a perl script. Here is how I do it on openser 1.3 and which is working fine.  

# opensips.cfgroute{   $avp(999) = 1;      ....}
use OpenSIPS qw ( log );use OpenSIPS::Constants;
sub test{   $m = shift;   my $DEBUG = OpenSIPS::AVP::get(999);     // no value is being passed.   ...}

Am I missing something?
Thanks,Alex Solt

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120730/e612588d/attachment.htm>


More information about the Users mailing list