<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Those additions will most likely make it into the upcoming 2.2!<br>
<br>
Thank you for the feedback,<br>
</tt>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 29.01.2016 06:35, sevpal wrote:<br>
</div>
<blockquote cite="mid:DAFE9DBAA8684E968A18BE0519028C90@LenovoPC"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="content-type">
<div dir="ltr">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
#000000">
<div>I want to suggest allowing some key functions to also
accept variables as input. To name a few: save(), lookup(),
remove(), force_send_socket(). For example, when using
mongo, multiple Opensips servers and multiple location
tables it’s inflexible in the script to use some of these
functions when you have to hardcode something like,
lookup(“location”,””) . </div>
<div style="FONT-SIZE: small; TEXT-DECORATION: none;
FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal;
COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">
<div style="FONT: 10pt tahoma">
<div> </div>
<div style="BACKGROUND: #f5f5f5">
<div style="font-color: black"><b>From:</b> <a
moz-do-not-send="true" title="liviu@opensips.org"
href="mailto:liviu@opensips.org">Liviu Chircu</a> </div>
<div><b>Sent:</b> Thursday, January 28, 2016 1:09 PM</div>
<div><b>To:</b> <a moz-do-not-send="true"
title="devel@lists.opensips.org"
href="mailto:devel@lists.opensips.org">OpenSIPS
devel mailling list</a> ; <a moz-do-not-send="true"
title="users@lists.opensips.org"
href="mailto:users@lists.opensips.org">OpenSIPS
users mailling list</a> </div>
<div><b>Subject:</b> [OpenSIPS-Users] [OpenSIPS Public
Meeting] Follow-up: Scripting variables in OpenSIPS
3.x</div>
</div>
</div>
<div> </div>
</div>
<div style="FONT-SIZE: small; TEXT-DECORATION: none;
FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal;
COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline"><tt>Hello!</tt><tt><br>
</tt>
<div class="moz-forward-container"><tt><br>
</tt><tt>The conclusions of yesterday's Public Meeting can
be found here [1]</tt><tt><br>
</tt><tt><br>
</tt><tt>Here is a quick summary of the decided upon
changes for variable restructuring in OpenSIPS 3.x:</tt><tt><br>
</tt><tt><br>
</tt><tt>* variable referencing will now mandate an </tt><tt><b>explicit
scope</b></tt><tt> (local, msg (read/write into the
SIP msg), tm, dlg, global)</tt><tt><br>
</tt><tt>* variables will still be </tt><tt><b>dynamically
typed</b></tt><tt><br>
</tt><tt>* improvements to </tt><tt><b>explicit casting</b></tt><tt>
(from a couple of transformations to int(), str(),
list() and json())</tt><tt><br>
</tt><tt>* </tt><tt><b>new data types</b></tt><tt>: list
and json, along with contructors and specific operators
("+" for concat, [] for indexing)</tt><tt><br>
</tt><tt>* </tt><tt><b>AVPs dropped</b></tt><tt><br>
</tt><tt>* </tt><tt><b>NULL </b></tt><tt>special value
to be kept</tt><tt><br>
</tt><tt>* find the best way of adapting the multi-index
pseudo-vars, e.g. $(hdr(Contact)[1])</tt><tt><br>
</tt><tt><br>
</tt><tt>This is still an ongoing effort, any feature is
subject to change as we go along with the development of
OpenSIPS 3.0, so this is the ideal time to reply to this
thread and suggest improvements!</tt><tt><br>
</tt><tt><br>
</tt><tt>[1]: </tt><tt><a class="moz-txt-link-freetext"
href="http://www.opensips.org/Community/IRCmeeting20160127"
moz-do-not-send="true">http://www.opensips.org/Community/IRCmeeting20160127</a></tt><tt><br>
</tt><tt><br>
</tt><tt>Best regards,</tt><tt><br>
</tt>
<pre class="moz-signature" cols="72">--
Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</a></pre>
</div>
<p>
</p>
<hr>
_______________________________________________<br>
Users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>