[OpenSIPS-Users] Question about script variable names

Răzvan Crainea razvan at opensips.org
Mon Jun 14 15:35:29 EST 2021


Hi, Mark!

Yes, it is possible, just as you wrote it.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 6/14/21 6:19 PM, Mark Farmer wrote:
> Hi everyone, I have OpenSIPS 3.1.2
> 
> Is it possible to create a script variable with a name based on the 
> content of a header?
> 
> For example, create a variable who's name is the content of the Call-ID 
> header:
> 
> $var($ci) = $ci;
> 
> Many thanks
> Mark.
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list