myredrook Posted October 16, 2013 Report Posted October 16, 2013 How to add and remove extension alias by SOAP? Quote
Vodia PBX Posted October 17, 2013 Report Posted October 17, 2013 There is still an old API available where you can mess with the internal tables, see http://kiwi.pbxnsip.com/index.php/Access_to_the_Database. However as we are moving more and more to the new REST interface, and depending on your timing, you might want to wait a few more builds and then just use REST. Quote
myredrook Posted October 17, 2013 Author Report Posted October 17, 2013 Yes I did follow the link you provided, as well as http://wiki.snomone.com/index.php?title=Access_to_the_Database I can change all parameters related to user account except alias, because it sits in separate table. So how I can add remove extension alias? Quote
Vodia PBX Posted October 17, 2013 Report Posted October 17, 2013 There is a table user_alias. It should be possible to change that one as well? Quote
myredrook Posted October 17, 2013 Author Report Posted October 17, 2013 Having just 2 functions to manipulate with tables: DBGet DBSet I am missing functions to create/add and delete/remove entries (rows). Am I missing something? Quote
Vodia PBX Posted October 17, 2013 Report Posted October 17, 2013 Well there is also DBSearch. Check what is in the XML files in the file system, then you can try out if you are able to read the user_alias table the right way. Quote
myredrook Posted October 17, 2013 Author Report Posted October 17, 2013 Yes I can read user_alias table entries fine. Problems is if I want remove alias how to delete entry? Same thing applies for adding. Quote
Vodia PBX Posted October 17, 2013 Report Posted October 17, 2013 If there are no parameters in the DBSet request, the row will be deleted. Quote
myredrook Posted October 18, 2013 Author Report Posted October 18, 2013 > If there are no parameters in the DBSet request, the row will be deleted. Okay, useful information. Anything about how to create a row? Quote
Vodia PBX Posted October 18, 2013 Report Posted October 18, 2013 If you don't provide the index number but content, then a new row will be inserted. The new row number is returned in the response. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.