Re: [SR-Users] Does Kamailio provide any API for other program to create sip account

2013-06-26 Thread Olle E. Johansson
26 jun 2013 kl. 06:36 skrev Xiangwen Chen : > Thanks David, > > My user account system is written in Python, can "kamctl" script be called in > a python program? > if not, can the user account system directly access the kamailio database, > and do an SQL insert to create a new sip account? Bet

Re: [SR-Users] Does Kamailio provide any API for other program to create sip account

2013-06-26 Thread Olle E. Johansson
25 jun 2013 kl. 17:31 skrev Xiangwen Chen : > 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 u

Re: [SR-Users] Does Kamailio provide any API for other program to create sip account

2013-06-25 Thread Xiangwen Chen
Thanks David, My user account system is written in Python, can "kamctl" script be called in a python program? if not, can the user account system directly access the kamailio database, and do an SQL insert to create a new sip account? Thanks in advance! __

Re: [SR-Users] Does Kamailio provide any API for other program to create sip account

2013-06-25 Thread cxw1987
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.

Re: [SR-Users] Does Kamailio provide any API for other program to create sip account

2013-06-25 Thread David | StyleFlare
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/

[SR-Users] Does Kamailio provide any API for other program to create sip account

2013-06-25 Thread Xiangwen Chen
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