Line 5: |
Line 5: |
| | | |
| =DTMF Commands= | | =DTMF Commands= |
− | DTMF commands may be placed in any one of three [[Structure of Config Files|named stanzas]]. Function stanzas control access to DTMF commands that a user can issue from various | + | DTMF commands are placed in any one of three [[Structure of Config Files|named stanzas]]. Function stanzas control access to DTMF commands that a user can issue from various |
| control points. | | control points. |
| * The [[#Functions Stanza|fuctions stanza]] - to decode DTMF from the node's local receiver. | | * The [[#Functions Stanza|fuctions stanza]] - to decode DTMF from the node's local receiver. |
Line 11: |
Line 11: |
| * The [[#Phone Functions Stanza|phone_functions stanza]] - to decode DTMF from telephone connects. | | * The [[#Phone Functions Stanza|phone_functions stanza]] - to decode DTMF from telephone connects. |
| | | |
− | Nodes on the same server can have separate (or the same) function stanzas. A function stanza key/value pair has the following format:
| + | A function stanza key/value pair has the following format: |
| | | |
| dtmfcommand=functionclass,[functionmethod],[parameters] | | dtmfcommand=functionclass,[functionmethod],[parameters] |
| Where: | | Where: |
− | | + | * dtmfcommand is a DTMF digit sequence '''minus''' the start character (usually *) |
− | * dtmfcommand is a DTMF digit sequence minus the start character (usually *) | + | * functionclass is a string which defines what class of command; link, status or COP |
− | * functionclass is a string which defines what class of command (see the next page) | |
| * functionmethod defines the optional method number to use in the function class. | | * functionmethod defines the optional method number to use in the function class. |
| * functionoptions are one or more optional comma separated parameters which further define a command. | | * functionoptions are one or more optional comma separated parameters which further define a command. |