<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div>Hi,</div><div><br></div><div>I am new to opensips 1.8. I am unable to pass a value from open sips to a perl script. </div><div>Here is how I do it on openser 1.3 and which is working fine. </div><div><br></div><div><br></div><div># opensips.cfg</div><div><div>route</div><div>{</div><div> $avp(999) = 1; </div></div><div> ....</div><div>}</div><div><br></div><div><div>use OpenSIPS qw ( log );</div><div>use OpenSIPS::Constants;</div><div><br></div><div>sub test</div><div>{</div><div> $m = shift;</div><div> my $DEBUG = OpenSIPS::AVP::get(999); // no value is being passed.</div><div> ...</div><div>}</div><div><br></div></div><div><br></div><div>Am I missing something?</div><div><br></div><div>Thanks,</div><div>Alex Solt</div><div><br></div><div><br></div>                                            </div></body>
</html>