It is used to access parameters that were passed to a custom route. $param(1) 
is the first passed parameter.

https://www.opensips.org/Documentation/Script-CoreVar-3-3#toc60

Ben Newlin

From: Users <[email protected]> on behalf of David Villasmil 
<[email protected]>
Date: Thursday, August 4, 2022 at 1:54 PM
To: [email protected] <[email protected]>
Subject: [OpenSIPS-Users] $param?
 EXTERNAL EMAIL - Please use caution with links and attachments

________________________________
Hello folks,

It's been a while since i've worked with OpenSIPS, and I'm seeing a script using

$var(addPrefix) = $param(1);

I don't really know what that $param does, can anyone help me out here?

Regards,

David Villasmil
email: [email protected]<mailto:[email protected]>
phone: +34669448337
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to