# Creating a Programmable RS-232 Interface String

The RS-232 programmable interface string consists of the following parts:

- Initialization string, if required by the PBX.

- Reply string, if required by the PBX.

- Any of the applicable indicator-on or indicator-off request strings (pre-DN ON, pre-DN OFF, post-DN ON, post-DN OFF, ending trailer string).

To create a string of ASCII codes for the RS-232 programmable interface:

1. From the Main Menu, select (S) System Maintenance, (R) Reconfiguration, (R) Reconfigure System, and then (G) Offline Menu.

2. If desired, duplicate the configuration by selecting (B) Duplicate Active Configuration.
   The server copies the current (active) configuration. When copying is completed, the short form of the Offline Menu appears.
   All subsequent steps in this procedure – along with any other configuration entries – affect just the copy, and take effect only after you activate the configuration.

3. Select (M) RS232 Application Only.

4. Select (P) Serial Port Selected or (I) IP Serial Port Selected and enter the serial port index number (1-4).

5. Select (R) Programmable.

6. Select (I) Initialization String.

7. At the RS232 initialize string (0 - 30 chars) = prompt, enter the ASCII string (0-30 characters ) required by the PBX, or a period (.) to delete an existing string. To create the string, consult the PBX operating manual or the PBX vendor for the correct code, and use Table 1 at the end of this procedure.

8. Select (R) Reply String.

9. At the RS232 reply string (0 - 30 chars) = prompt, enter the ASCII string (0-30 characters ) sent by the PBX, or a period (.) to delete an existing string.
   To create the string, consult the PBX operating manual or the PBX vendor for the correct code, and use Table 1 at the end of this procedure.

10. Select (O) Pre-DN ON String.

11. At the RS232 pre-DN ON string (0 - 30 chars) = prompt, perform the action that corresponds to the following PBX behavior:

12. If the PBX requires the string before the directory number (sometimes called extension number), create an ASCII string (0-30 characters) using the characters in Table 1.

13. If the PBX sends the string after the directory number:

1. - enter a period (.) to delete an existing string, if necessary.

   - enter values for the Post-DN ON String and Post-DN OFF String parameters.

12. Select (F) Pre-DN OFF String.

13. At the RS232 pre-DN OFF string (0 - 30 chars) = prompt , perform the action that corresponds to the following PBX behavior:

14. If the PBX requires the string before the directory number, create an ASCII string (0-30 characters) using the characters in Table 1.

15. If the PBX sends the string after the directory number:

1. - enter a period (.) to delete an existing string, if necessary.

   - enter values for the Post-DN ON String and Post-DN OFF String parameters.

14. Select (P) Post-DN ON String.

15. At the RS232 post-DN ON string (0 - 30 chars) = prompt , perform the action that corresponds to the following PBX behavior:

16. If the PBX requires the string before the directory number, create an ASCII string (0-30 characters) using the characters in Table 1.

17. If the PBX sends the string after the directory number:

1. - enter a period (.) to delete an existing string, if necessary.

   - enter values for the Post-DN ON String and Post-DN OFF String parameters.

16. Select (Q) Post-DN OFF String.

17. At the RS232 post-DN OFF string (0 - 30 chars) = prompt , perform the action that corresponds to the following PBX behavior:

18. If the PBX requires the string before the directory number, create an ASCII string (0-30 characters) using the characters in Table 1.

19. If the PBX sends the string after the directory number:

1. - enter a period (.) to delete an existing string, if necessary.

   - enter values for the Post-DN ON String and Post-DN OFF String parameters.

17. Select (M) Ending Trailer String.

18. At the RS232 trailer string (0 - 30 chars) = prompt , perform the action that corresponds to the following PBX behavior:

19. If the PBX requires this string, create an ASCII string (0-30 characters) using the characters in the table below.

20. If the PBX does not require this string, enter a period (.) to delete an existing string.

19. Save the parameter settings by exiting to the Main Menu.

ASCII Characters

Character | Explanation
\b | Backspace
\f | Form feed
\n | New line
\r | Carriage return
\t | Tab
\\ | Backslash
\" | Double quotes
\? | Question mark