<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<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>&nbsp;</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>&nbsp;</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:&quot;Trebuchet MS&quot;,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:&quot;Trebuchet MS&quot;,sans-serif"><a 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:&quot;Trebuchet MS&quot;,sans-serif"><a 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:&quot;Trebuchet MS&quot;,sans-serif"><a 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:&quot;Trebuchet MS&quot;,sans-serif"><a 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>&nbsp;</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>
</body>
</html>