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!
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.
On 6/25/13 11:31 AM, Xiangwen Chen wrote:
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! _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
25 jun 2013 kl. 17:31 skrev Xiangwen Chen cxw1987@gmail.com:
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?
If you run over databases you can just add a record into the database. If you use LDAP, you add to the LDAP server. Kamailio can fetch account data from almost any storage or remote application you build.
/O