[OpenSIPS-Users] I have some query regarding rest_client module of opensips .

Pasan Meemaduma pasandev at ymail.com
Tue Feb 5 20:40:25 EST 2019


 Hi Sasmita,
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.

    On Tuesday, 5 February 2019, 4:25:28 PM GMT+5:30, Sasmita Panda <spanda at 3clogic.com> wrote:  
 
 Hi All , 
I have a requirement .  while doing lookup location , I got 3 contacts for 1 username . Now I will do serial fork on these contacts . 
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 . 
Then will do the matching , and will override the DB contact with the contact I got from http get request . 
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 ? 
Can anybody help me on this please . 
Thanks & RegardsSasmita PandaSenior Network Testing and Software Engineer3CLogic , ph:07827611765_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190206/e5eece19/attachment.html>


More information about the Users mailing list