Thanks David, I will try it.

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.

 Original Message 
Sender: Xiangwen Chen<cxw1987@gmail.com>
Recipient: sr-users<sr-users@lists.sip-router.org>
Date: Tuesday, Jun 25, 2013 23:31
Subject: Does Kamailio provide any API for other program to create sip account

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!