No subject


Wed Jan 27 21:05:54 CET 2016


be done in 2.1 version.
Is it possible to change in asynchronous mode in 1.11 version?
If not, is there a way to achieve asynchronous REST calls for the version o=
f opensips what we are using?

Also I see from documentation,

The following functions may also be called asynchronously:

  *   avp_db_query<http://www.opensips.org/html/docs/modules/2.1.x/avpops.h=
tml#id294986>
  *   rest_get<http://www.opensips.org/html/docs/modules/2.1.x/rest_client.=
html#id293741>
  *   rest_post<http://www.opensips.org/html/docs/modules/2.1.x/rest_client=
.html#id293886>
  *   exec<http://www.opensips.org/html/docs/modules/2.1.x/exec#id294052>
Can rest_put can also be called asynchronously if we use 2.1 version ?
Please clarify.

Regards,
Agalya

--_000_105bbed280a54ae6bf96fc28ec5a7076COPDCEX28cablecomcastco_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:blue">Hi team,<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"color:blue"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:blue">We are using opensips1.11=
.3 version for our project.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:blue">I have a question here. R=
ight now we are using a REST API call from config file for our project requ=
irement and it is in synchronous mode currently.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:blue">From the opensips documen=
t, I see asynchronous support at script level can be done in 2.1 version.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:blue">Is it possible to change =
in asynchronous mode in 1.11 version?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:blue">If not, is there a way to=
 achieve asynchronous REST calls for the version of opensips what we are us=
ing?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:blue"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:blue">Also I see from documenta=
tion,<o:p></o:p></span></p>
<p style=3D"margin:0in;margin-bottom:.0001pt;line-height:16.2pt;background:=
white"><span style=3D"font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;=
,sans-serif;color:#666666">The following functions may also be called async=
hronously:<o:p></o:p></span></p>
<ul type=3D"disc">
<li class=3D"MsoNormal" style=3D"color:#666666;mso-margin-top-alt:auto;mso-=
margin-bottom-alt:auto;line-height:16.2pt;mso-list:l0 level1 lfo1;backgroun=
d:white">
<span style=3D"font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,sans-s=
erif"><a href=3D"http://www.opensips.org/html/docs/modules/2.1.x/avpops.htm=
l#id294986"><b><span style=3D"color:#185662;text-decoration:none">avp_db_qu=
ery</span></b></a><o:p></o:p></span></li><li class=3D"MsoNormal" style=3D"c=
olor:#666666;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height=
:16.2pt;mso-list:l0 level1 lfo1;background:white">
<span style=3D"font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,sans-s=
erif"><a href=3D"http://www.opensips.org/html/docs/modules/2.1.x/rest_clien=
t.html#id293741"><b><span style=3D"color:#185662;text-decoration:none">rest=
_get</span></b></a><o:p></o:p></span></li><li class=3D"MsoNormal" style=3D"=
color:#666666;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-heigh=
t:16.2pt;mso-list:l0 level1 lfo1;background:white">
<span style=3D"font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,sans-s=
erif"><a href=3D"http://www.opensips.org/html/docs/modules/2.1.x/rest_clien=
t.html#id293886"><b><span style=3D"color:#185662;text-decoration:none">rest=
_post</span></b></a><o:p></o:p></span></li><li class=3D"MsoNormal" style=3D=
"color:#666666;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-heig=
ht:16.2pt;mso-list:l0 level1 lfo1;background:white">
<span style=3D"font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,sans-s=
erif"><a href=3D"http://www.opensips.org/html/docs/modules/2.1.x/exec#id294=
052"><b><span style=3D"color:#185662;text-decoration:none">exec</span></b><=
/a><o:p></o:p></span></li></ul>
<p class=3D"MsoNormal"><span style=3D"color:blue">Can rest_put can also be =
called asynchronously if we use 2.1 version ?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:blue">Please clarify.<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"color:blue"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:blue">Regards,<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"color:blue">Agalya<o:p></o:p></span><=
/p>
</div>
</body>
</html>

--_000_105bbed280a54ae6bf96fc28ec5a7076COPDCEX28cablecomcastco_--



More information about the Users mailing list