<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Agalya,<br>
<br>
1.11 has no async support at core level. If you need that, you
will have to use 2.1+<br>
<br>
Async rest_put() is currently not implemented, but its logic would
be fairly similar to the GET and POST counterparts.</tt><br>
<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 04.08.2016 23:14, Ramachandran,
Agalya (Contractor) wrote:<br>
</div>
<blockquote
cite="mid:105bbed280a54ae6bf96fc28ec5a7076@COPDCEX28.cable.comcast.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:920869609;
        mso-list-template-ids:-1225891966;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New",serif;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:blue">Hi team,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:blue">We are using
opensips1.11.3 version for our project.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue">I have a question
here. Right now we are using a REST API call from config
file for our project requirement and it is in synchronous
mode currently.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue">From the opensips
document, I see asynchronous support at script level can be
done in 2.1 version.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue">Is it possible to
change in asynchronous mode in 1.11 version?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue">If not, is there a
way to achieve asynchronous REST calls for the version of
opensips what we are using?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:blue">Also I see from
documentation,<o:p></o:p></span></p>
<p
style="margin:0in;margin-bottom:.0001pt;line-height:16.2pt;background:white"><span
style="font-size:10.0pt;font-family:"Trebuchet
MS",sans-serif;color:#666666">The following functions
may also be called asynchronously:<o:p></o:p></span></p>
<ul type="disc">
<li class="MsoNormal"
style="color:#666666;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:16.2pt;mso-list:l0
level1 lfo1;background:white">
<span style="font-size:10.0pt;font-family:"Trebuchet
MS",sans-serif"><a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.1.x/avpops.html#id294986"><b><span
style="color:#185662;text-decoration:none">avp_db_query</span></b></a><o:p></o:p></span></li>
<li class="MsoNormal"
style="color:#666666;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:16.2pt;mso-list:l0
level1 lfo1;background:white">
<span style="font-size:10.0pt;font-family:"Trebuchet
MS",sans-serif"><a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.1.x/rest_client.html#id293741"><b><span
style="color:#185662;text-decoration:none">rest_get</span></b></a><o:p></o:p></span></li>
<li class="MsoNormal"
style="color:#666666;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:16.2pt;mso-list:l0
level1 lfo1;background:white">
<span style="font-size:10.0pt;font-family:"Trebuchet
MS",sans-serif"><a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.1.x/rest_client.html#id293886"><b><span
style="color:#185662;text-decoration:none">rest_post</span></b></a><o:p></o:p></span></li>
<li class="MsoNormal"
style="color:#666666;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:16.2pt;mso-list:l0
level1 lfo1;background:white">
<span style="font-size:10.0pt;font-family:"Trebuchet
MS",sans-serif"><a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.1.x/exec#id294052"><b><span
style="color:#185662;text-decoration:none">exec</span></b></a><o:p></o:p></span></li>
</ul>
<p class="MsoNormal"><span style="color:blue">Can rest_put can
also be called asynchronously if we use 2.1 version ?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue">Please clarify.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:blue">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:blue">Agalya<o:p></o:p></span></p>
</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>