Skip to content
The Chat Archive
chatgpt-4o-latest-20250326· OpenAI 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 the PCPro configuration tool (NEC's programming software for the XN120) involves several steps. While SIP functionality on the XN120 is somewhat limited compared to modern systems, some versions and optional modules do support SIP trunking when properly licensed.

    ⚠️ Important: The NEC XN120 PBX does not natively support SIP trunks unless a VoIP gateway card (e.g., VOIPDB or IPLA card) with SIP trunk licenses is installed. Make sure your system supports SIP trunks before proceeding.


    ✅ Prerequisites:

    1. NEC XN120 PBX with VoIP support (VoIP daughter board installed and licensed).

    2. PCPro Software installed on a Windows PC.

    3. SIP Trunk Provider Settings:

      • SIP server (IP or FQDN)
      • Username / Password
      • Authentication settings
      • RTP port range
      • DTMF settings (RFC2833, Inband, etc.)
    4. Network Configuration with appropriate port forwarding and QoS settings.


    🛠️ Step-by-Step Guide using PCPro:

    1. 🔌 Connect to the PBX

    • Launch PCPro.
    • Connect to the XN120 via LAN or serial (depending on setup).
    • Download the current configuration (File → Receive from XN120).

    2. 🔧 Enable VoIP/SIP Functionality

    • System Settings → VoIP Settings:

      • Ensure VoIP is enabled.
      • Configure codecs (G.711μ, G.711A, G.729 as supported by your provider).
    • Go to 10-01-01: VoIP DB Settings

      • Assign an IP address to the VoIP board.
      • Set subnet mask, default gateway.

    3. 📞 Configure SIP Trunk Details

    Go to the following PCPro options:

    ➤ 84-26: SIP Trunk Registration Settings

    • Enter:
      • SIP Server FQDN/IP
      • Domain/Realm Name (if needed)
      • User Authentication ID / Password
      • Registration expiry timer
      • SIP port (usually 5060)

    ➤ 84-01: SIP Trunk Basic Settings

    • Assign trunk channels (usually SIP Trunks 1~4 available depending on license).
    • Define the number of simultaneous calls (based on licensing).

    ➤ 84-17: SIP Trunk Codec Setting

    • Choose supported codec(s) based on what your SIP provider supports.
      • G.711 is most commonly compatible.
    • Match packetization interval (e.g., 20ms)

    ➤ 84-16: SIP DTMF Settings

    • Choose the DTMF method: usually RFC2833 is standard.

    ➤ 84-28: Outbound Proxy Settings (if required by your SIP provider)

    • Set outbound proxy server address and port.

    4. 🚏 Configure Call Routing

    ➤ 22-02: Trunk Group Settings

    • Add the SIP trunk to a new or existing trunk group.

    ➤ 44-05: ARS Routing

    • Configure ARS (Automatic Route Selection) to send outbound calls via the SIP Trunk.

    ➤ 21-11: Incoming Routing Table

    • Define DID/DDI routing for inbound numbers on the SIP trunk.
    • Assign to ring groups or extensions.

    5. 🌐 Network Setup

    Ensure your network passes SIP and RTP traffic to/from the NEC:

    • Port Forwarding (on router/firewall):

      • SIP: UDP port 5060
      • RTP: UDP ports 10020–10200 (may vary)
    • Set static IP and correct default gateway.

    • Enable NAT Traversal if using NAT (can be found under SIP NAT Traversal settings).


    6. ✅ Test and Finalize

    • Reboot the PBX if required or upload settings via PCPro (File → Send to XN120).
    • Test outbound and inbound calls.
    • Monitor the registration status via PCPro or from SIP provider's portal.

    🧪 Troubleshooting Tips

    IssueSolution
    SIP Trunk not registeringCheck SIP credentials, NAT settings, and whether the trunk requires registration or peer IP
    One-way or no audioCheck RTP port forwarding; confirm codec match
    DTMF tones not workingChange DTMF mode to RFC2833 or Inband
    Calls not routedVerify ARS and Inbound Call Routing settings

    📘 Documentation Reference

    NEC Manuals often used:

    • NEC XN120 System Programming Manual
    • NEC XN120 VoIP Installation Manual
    • NEC PCPro Help Files

    🧠 Final Notes

    • Make a full backup of your PBX configuration before making changes.
    • Ensure SIP trunk licenses are active. Without proper licensing, SIP options may be locked or unavailable.
    • The XN120 is a legacy system—consider future migration to a more modern VoIP platform like NEC SL2100 or a hosted PBX.

    Let me know your SIP provider, and I can help tailor specific settings.

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