<html><head></head><body><div class="ydpc718e602yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div>Hi Sasmita,</div><div><br></div><div>I think json objects are the way to go. I have a similar call for blocking services where i make a rest api call to an api to block the service. both request/response is based on json data. opensips has json module for json object handling.<br></div><div><br></div>
</div><div id="yahoo_quoted_9460656213" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, 5 February 2019, 4:25:28 PM GMT+5:30, Sasmita Panda <spanda@3clogic.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv6001053078"><div dir="ltr">Hi All , <div><br></div><div>I have a requirement . while doing lookup location , I got 3 contacts for 1 username . Now I will do serial fork on these contacts . </div><div><br></div><div>Before doing serial fork , I wanted to hit a http url and get some data , that data will be 2 contact of the same username I have done db lookup before . </div><div><br></div><div>Then will do the matching , and will override the DB contact with the contact I got from http get request . </div><div><br></div><div>Is this possible ? If yes , Then how I will do this . What kind of data should be the http response , so that I can use it further ? </div><div><br></div><div>Can anybody help me on this please . </div><div><br clear="all"><div><div dir="ltr" class="yiv6001053078gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div></div></div></div>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div>
</div>
</div></body></html>