This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb [2013/05/14 13:19] – [Asterisk Database] admin | asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb [2013/05/14 13:50] – [Asterisk Database] admin | ||
---|---|---|---|
Line 513: | Line 513: | ||
</ | </ | ||
<note important> | <note important> | ||
- | In previous versions of this tutorial, there were different table names for **voicemail** and **voicemail_messages** (respectively **voiceboxes** and **voicemessages**) -- they were changed to match the default name in Asterisk, because they have same structure. **sipusers** and **sipregs** are a bit customized, thus they have different names - **sipusers** maps over **sippeers** and **sipregs** can be actually a view over **sipusers**. | + | In previous versions of this tutorial, there were different table names for **voicemail** and **voicemail_messages** (respectively **voiceboxes** and **voicemessages**) -- they were changed to match the default name in Asterisk, because they have same structure. **sipusers** and **sipregs** are a bit customized, thus they have different names - **sipusers** maps over **sippeers** and **sipregs** can be actually a view over **sipusers**. The table **voicemail_messages** is used for storing voice messages in database via odbc, you have to set its value inside voicemail.conf file, in the attribute **odbctable**. |
</ | </ | ||
Line 612: | Line 612: | ||
insert into sipregs(name) values(' | insert into sipregs(name) values(' | ||
- | insert into voiceboxes(customer_id, | + | insert into voicemail(context, mailbox, password) values (' |
- | insert into voiceboxes(customer_id, | + | insert into voicemail(context, mailbox, password) values (' |
- | insert into voiceboxes(customer_id, | + | insert into voicemail(context, mailbox, password) values (' |
</ | </ | ||