# 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:

    - 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 (F) Pre-DN OFF String.

15. At the RS232 pre-DN OFF 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:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

26. Select (M) Ending Trailer String.

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

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

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

30. 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

Parent topic: Programming (Text Console)