Skip to content
The Chat Archive
qwen-max-2025-01-25· Alibaba (Qwen) LMArena Human Preference 140K

how to setup a SIP trunk on an NEC XN120 PBX using PCPRo

  1. User

    how to setup a SIP trunk on an NEC XN120 PBX using PCPRo

  2. Assistant

    Setting up a SIP trunk on an NEC XN120 PBX using PCPRo involves several steps. The process includes configuring the PBX to connect to your SIP provider, setting up the necessary dialing rules, and ensuring proper communication between the PBX and the SIP provider. Below is a detailed guide to help you through the process:


    Prerequisites

    1. PCPRo Software: Ensure you have the latest version of PCPRo installed on your computer.
    2. SIP Provider Details: Obtain the following information from your SIP provider:
      • SIP server address (hostname or IP)
      • Port number (usually 5060 for SIP)
      • Authentication credentials (username, password, and domain)
      • DTMF method (in-band, RFC 2833, or SIP INFO)
      • Codec preferences (e.g., G.711, G.729)
    3. Network Configuration: Ensure the XN120 PBX is connected to the network with a static IP address and has internet access.

    Step-by-Step Guide

    1. Connect to the XN120 PBX Using PCPRo

    • Open PCPRo on your computer.
    • Connect to the XN120 PBX using the appropriate IP address and login credentials.
    • Once connected, navigate to the System Programming menu.

    2. Configure the SIP Trunk

    1. Access the SIP Settings:

      • Go to System Programming > Network > VoIP Settings.
      • Enable VoIP functionality if it is not already enabled.
    2. Add a SIP Trunk:

      • Navigate to VoIP > SIP Trunk Settings.
      • Select an available SIP trunk (e.g., Trunk 1) and configure the following:
        • Trunk Type: Set to "SIP".
        • SIP Server Address: Enter the SIP server address provided by your SIP provider.
        • Port: Typically 5060 (or as specified by your provider).
        • Transport Protocol: Choose UDP, TCP, or TLS based on your provider's requirements.
        • Authentication:
          • Username: Enter the username provided by your SIP provider.
          • Password: Enter the password provided by your SIP provider.
          • Domain: Enter the domain or realm (if required).
    3. Codec Settings:

      • Go to VoIP > Codec Settings.
      • Select the codecs supported by your SIP provider (e.g., G.711, G.729).
      • Set the preferred codec order.
    4. DTMF Method:

      • Go to VoIP > DTMF Settings.
      • Select the DTMF method specified by your SIP provider (e.g., RFC 2833).

    3. Configure Outbound Routes

    1. Access the Outbound Route Settings:

      • Go to System Programming > Dialing Plan > Outgoing Calls.
      • Create a new outbound route for the SIP trunk.
      • Assign the SIP trunk (e.g., Trunk 1) to this route.
    2. Define Dial Patterns:

      • Specify the dial patterns for outgoing calls (e.g., 9 for external calls, followed by the destination number).
      • Map these patterns to the SIP trunk.

    4. Configure Inbound Routes

    1. Access the Inbound Route Settings:

      • Go to System Programming > Dialing Plan > Incoming Calls.
      • Create a new inbound route for the SIP trunk.
      • Assign the SIP trunk (e.g., Trunk 1) to this route.
    2. Set Destination for Incoming Calls:

      • Define how incoming calls should be routed (e.g., to an auto-attendant, specific extension, or hunt group).

    5. Test the SIP Trunk

    1. Save and Apply Changes:

      • Save all configurations in PCPRo and apply them to the XN120 PBX.
    2. Test Outbound Calls:

      • Make test calls to external numbers using the SIP trunk.
      • Verify that calls are successfully routed through the SIP provider.
    3. Test Inbound Calls:

      • Ask someone to call the DID number assigned by your SIP provider.
      • Verify that the call is received and routed correctly.

    6. Troubleshooting

    If the SIP trunk does not work as expected:

    1. Check Logs:
      • Use PCPRo to view system logs and identify any errors related to the SIP trunk.
    2. Verify Network Connectivity:
      • Ensure the XN120 PBX can reach the SIP provider's server (ping the SIP server address).
    3. Firewall Settings:
      • Confirm that the necessary ports (e.g., 5060 for SIP and RTP ports) are open on your firewall.
    4. Contact SIP Provider:
      • Reach out to your SIP provider for assistance if issues persist.

    Additional Notes

    • Failover Configuration: If you have analog trunks or other backup lines, configure failover settings to ensure calls are routed through alternative paths if the SIP trunk fails.
    • Security: Enable SIP ALG on your router if required, but disable it if it causes issues. Also, consider using TLS for secure communication.

    By following these steps, you should be able to successfully set up and configure a SIP trunk on your NEC XN120 PBX using PCPRo. If you encounter any specific issues during the setup, feel free to provide additional details for further assistance.

    Final Answer: Follow the step-by-step guide above to configure a SIP trunk on an NEC XN120 PBX using PCPRo.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.