shimaore / ccnq3

ISP VoIP (SIP) softswitch platform
https://shimaore.github.io/ccnq4/
GNU General Public License v3.0
13 stars 8 forks source link

API to create voicemail box #34

Closed shimaore closed 11 years ago

shimaore commented 11 years ago

..so that off-box (third-party) voicemail setup gets replication too.

Model after @put '/ccnq3/roles/userdb/:name' for the content.

Proposed API:

@put '/ccnq3/voicemail/:number@:number_domain'
body: initial voicemail_settings content: pin, etc.
returns: at least { user_database }

Note: updates local-number with the new user_database field unless ones already exists.

Pontax commented 11 years ago

The API works fine to create the user voicemail database and fill the global number user_database field out but that does not fix the issue #16

Pontax commented 11 years ago

Now OK. design_documents were not created but that's fixed.