<div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;"><font class="Apple-style-span" color="#000000" face="Times" size="3"><span class="Apple-style-span" style="line-height: normal;"><b><pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Thanks David, I will try it.</pre><pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></pre><pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">for this you can do an SQL insert into your DB backend.

There is no "exposed" API there is kamctl to add users, but that does 
not expose any external interface.

you could probably call it from some code but all it does it perform an 
SQL query to kamailio db anyway.

Hope that helps.</pre></b></span></font><span style="font: 14px/1.5 'Lucida Grande';color:#333;"><br></span><div class="foxmail_blockquote_fromhere_element" style="font: 12px/1.5 'Lucida Grande';padding:2px 0 2px 0;"><span style="color:#333;text-decoration:line-through;white-space:pre-wrap;">                            </span> Original Message <span style="color:#333;text-decoration:line-through;white-space:pre-wrap;">                            </span></div><div style="font: 12px/1.5 'Lucida Grande';background:#efefef;color:#666666;padding:8px;"><div><b style="color:#999;">Sender:</b> Xiangwen Chen<cxw1987@gmail.com></div><div><b style="color:#999;">Recipient:</b> sr-users<sr-users@lists.sip-router.org></div><div><b style="color:#999;">Date:</b> Tuesday, Jun 25, 2013 23:31</div><div><b style="color:#999;">Subject:</b> Does Kamailio provide any API for other program to create sip account</div></div><br><div class="mail_quote_2467F626E0B342FB9E71DB548D9720CF" style="font: 14px/1.5 'Lucida Grande';color:#333;"><pre style="white-space:pre-wrap;">Hello,

I am developing a sip VoIP app in IOS, which want to provide the feature of allowing user to create sip account from client side.  I use Kamailio as sip server.
My thought is when user register to the the user account system, the user account system can communicate with Kamailio, create a sip account associated with the user and pass the sip account to the client, the client then can configure itself using the sip account. 
Does Kamailio provide any API  or module for me to do this?
Thanks!</pre></div></div>