<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Vishal!<br>
<br>
You could insert directly a subscriber in the database, using
something like:<br>
insert into subscriber (username, domain, password, ha1, ha1b)
values ('100', 'opensips.org', 'password', md5(concat(username,
':', domain, ':', password)), md5(concat(username, '@', domain,
':', domain, ':', password)));<br>
<br>
You can find more info here:<br>
<a class="moz-txt-link-freetext" href="https://www.opensips.org/Documentation/TipsFAQ#toc2">https://www.opensips.org/Documentation/TipsFAQ#toc2</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 11/28/2016 06:50 AM, vishal dubey
wrote:<br>
</div>
<blockquote
cite="mid:424736387.1648153.1480308601268@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, Sans-Serif;font-size:13px">
<div id="yui_3_16_0_1_1480307797267_58690"><span
id="yui_3_16_0_1_1480307797267_58844">Team,</span></div>
<div id="yui_3_16_0_1_1480307797267_58690"><span><br>
</span></div>
<div id="yui_3_16_0_1_1480307797267_58690" dir="ltr"><span
id="yui_3_16_0_1_1480307797267_58802">Any suggestion on my
earlier request "</span><span style="font-family:
"Helvetica Neue", "Segoe UI", Helvetica,
Arial, "Lucida Grande", sans-serif; font-size:
18px; white-space: nowrap;"
id="yui_3_16_0_1_1480307797267_58722">Want to create
opensips subscriber from restful api or from web
application".</span></div>
<div id="yui_3_16_0_1_1480307797267_58690" dir="ltr"><span
style="font-family: "Helvetica Neue", "Segoe
UI", Helvetica, Arial, "Lucida Grande",
sans-serif; font-size: 18px; white-space: nowrap;"><br>
</span></div>
<div id="yui_3_16_0_1_1480307797267_58690" dir="ltr"><span
style="font-family: "Helvetica Neue", "Segoe
UI", Helvetica, Arial, "Lucida Grande",
sans-serif; font-size: 18px; white-space: nowrap;"
id="yui_3_16_0_1_1480307797267_58723">I want to add </span><span
style="font-family: "Helvetica Neue", "Segoe
UI", Helvetica, Arial, "Lucida Grande",
sans-serif; font-size: 18px; white-space: nowrap;"
id="yui_3_16_0_1_1480307797267_58750">subscribers from other
web application. Is there any webservice or other way
available to do this?</span></div>
<div id="yui_3_16_0_1_1480307797267_58690" dir="ltr"><span
style="font-family: "Helvetica Neue", "Segoe
UI", Helvetica, Arial, "Lucida Grande",
sans-serif; font-size: 18px; white-space: nowrap;"><br>
</span></div>
<div id="yui_3_16_0_1_1480307797267_58690" dir="ltr"><span
style="font-family: "Helvetica Neue", "Segoe
UI", Helvetica, Arial, "Lucida Grande",
sans-serif; font-size: 18px; white-space: nowrap;"
id="yui_3_16_0_1_1480307797267_58842">Thanks, in advance. </span></div>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div class="yahoo_quoted" style="display: block;">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, Sans-Serif; font-size:
13px;">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, Sans-Serif; font-size:
16px;">
<div dir="ltr"><font size="2" face="Arial"> On Monday, 21
November 2016 6:21 PM, vishal dubey
<a class="moz-txt-link-rfc2396E" href="mailto:dubeyvishal@yahoo.com"><dubeyvishal@yahoo.com></a> wrote:<br>
</font></div>
<br>
<br>
<div class="y_msg_container">
<div id="yiv1234397446">
<div>
<div
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida Grande,
Sans-Serif;font-size:13px;">
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930">Hi
Team,</div>
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930"><br>
</div>
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930"
dir="ltr">I want to create opensips subscriber
from other web application. I think it is
possible through pi_httpd or db_httpd. but i am
not able to find any example hot to do this.</div>
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930"
dir="ltr"><br>
</div>
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930"
dir="ltr">Please help.</div>
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930"
dir="ltr"><br>
</div>
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930"
dir="ltr">Thanks,</div>
<div
id="yiv1234397446yui_3_16_0_ym19_1_1479732060976_11930"
dir="ltr">Vishal</div>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</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>