[OpenSIPS-Devel] [OpenSIPS Public Meeting] Scripting variables in OpenSIPS 3.x

Liviu Chircu liviu at opensips.org
Tue Jan 26 10:45:49 CET 2016


Hello all,

The upcoming public meeting will be held on IRC (#opensips on FreeNode), 
Wednesday, 27th of January 2016, at 15:00 [1].

The discussions will be based on finding solutions / making improvements 
to the way different data types are both stored in and retrieved from 
scripting variables.

Here is a list of the current issues (as we see them):
- AVPs cannot hold NULL values
- confusion and zero flexibility with regards to variable scoping ($var 
is script-scoped; $avp is transaction-scoped; $dlg_val is dialog-scoped; 
$shv is global-scoped) - this often leads to all sort of hacks / 
auxiliary variables / workarounds in order to have the data processed 
the way it's meant to be
- confusion between NULL, int and string values a variable may hold
- $json variables cannot be passed as route parameters

Along with our own initial proposal of improving on these issues below 
[2] comes your valuable feedback and suggestions on this matter, so do 
not hesitate to join the meeting!

[1]: 
http://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenSIPS+Public+Meeting&iso=20160127T15&p1=1440&ah=1
[2]: http://www.opensips.org/Community/IRCmeeting20160127

-- 
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com




More information about the Devel mailing list