Use the set chat command to
Configure entries in the chat table
Display chat table entries
Remove entries
Rename entries
Chat table entries provide telephone number string translation and can be accessed by any script that you configure. The chat table holds a maximum of 12 entries.
Anyone can display chat table entries. Root privileges are required to configure entries.
See the set script command for information on creating scripts that use telephone string translation.
Enter the set chat command as shown below to configure chat table entries.
set chat [name=chat_name] [delay=string] [pound=string] [range=range] [retry=number] [star=string] [wait=string]
Enter the set chat command as shown below to display chat table entries.
set chat [range=range]
Enter the set chat command as shown below to remove a chat table entry:
set chat {rmchat=on range=range}|{rmchat=chatname}
Enter the set chat command as shown below to rename a chat table entry:
set chat name=name newname=new_name
|
Command Field |
Description |
|
delay |
Specifies a string of up to 24 characters to substitute into telephone numbers in place of the delay character. |
|
name |
Specifies the name of the chat table entry. |
| newname | Specifies a new name for the chat table entry identified by the name field. |
|
pound |
Is a string of up to 24 characters to substitute into telephone numbers in place of the # character |
|
range |
Is one of the following:
|
|
retry |
Specifies the number of times to retry a call. The range is 0 to 99 times. |
|
rmchat |
Removes the chat table entry specified on the range or name field |
|
star |
Specifies a string of up to 24 characters to substitute into telephone numbers in place of the * character. |
|
wait |
Specifies a string of up to 24 characters to substitute into telephone numbers in place of the wait character. |
In this example, the set chat command displays the entire chat table.
set chat
In this example, the set chat command configures a new entry.
set chat name=chat1 star=4452624
In this example, the set chat command removes a chat table entry from the chat table.
set chat rmchat=chat1
In this example, the set chat command renames the chat table entry.
set chat name=chat1 newname=chat2