Networks Training

  • About
  • My Books
  • SUGGESTED TRAINING
  • HOME
  • Cisco Networking
    • Cisco General
    • Cisco IOS
    • Cisco VPN
    • Cisco Wireless
  • Cisco ASA
    • Cisco ASA General
    • Cisco ASA Firewall Configuration
  • Certifications Training
    • CCNA Training
    • Cisco Certifications
    • I.T Training
  • General
    • General Networking
    • IP Telephony
    • Network Security
    • Product Reviews
    • Software
  • Cisco Routers
  • Cisco Switches
You are here: Home / IP Telephony / SIP Trunking With Call Manager Express

SIP Trunking With Call Manager Express

Written By Harris Andrea

For many years now, telephony voice services for businesses and enterprises have been provided by using legacy PBX systems connected to the Public Switched Telephone Network (PSTN) using TDM connections (T1/E1 ISDN PRI lines or BRI or analog lines). This is shown on the figure below:

Newer telephony systems adopted the IP technology on the internal LAN, but they still used TDM connectivity (ISDN PRI/BRI and analog lines) to connect to the legacy PSTN network as shown below:

The newest trend is to go all-IP using SIP TRUNKING to connect your business office to the Telephony Service Provider network. A SIP Trunk allows the company to replace the traditional TDM fixed lines (PRI, BRI etc) with just a normal IP connection towards the service provider. This solution offers significant cost savings to the enterprise as you avoid costly BRI/PRI lines. Also, voice/data traffic can be converged on a single IP connection. This scenario is shown below:

MORE READING:  Hardware Conference with PVDM Module on Cisco 2801 Call Manager Express

The Cisco Call Manager Express product can be used as the telephony SIP trunk gateway between the local IP telephony network and the IP Telephony Service Provider. Calls from and to PSTN will be handled by a SIP PROXY server located in the Service Provider network.

 A sample Call Manager Express configuration for SIP trunking is shown below (a snippet of the complete configuration is shown):

voice service voip
   allow-connections sip to sip
   sip
       registrar server expires max 3600 min 3600
       localhost dns:mycompany.test.com

voice class codec 1
 codec preference 1 g711ulaw

!— Inbound Translation Rule
!—  for Auto Attendant pilot number “500”
voice translation-rule 1
 rule 1 /5552222100/ /500/

voice translation-profile AutoAttendant
!— Applied to the inbound dial-peers for AA
 translate called 1

!— SIP Trunk Configuration —
dial-peer voice 1 voip
 description **Incoming Call from SIP Trunk**
 translation-profile incoming AutoAttendant
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 incoming called-number .%
 dtmf-relay rtp-nte
 no vad

MORE READING:  IP Telephony and VoIP Tutorial

dial-peer voice 2 voip
 description **Outgoing Call to SIP Trunk**
  destination-pattern 9……….
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad

dial-peer voice 3 voip
 description **International Outgoing Call to SIP Trunk**
  destination-pattern 9011T
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad

!— SIP UA Configuration —
sip-ua
 authentication username 5552222100 password 075A701E1D5E415447425B
 no remote-party-id
 retry invite 2
 retry register 10
 retry options 0
 timers connect 100
 registrar dns: mycompany.test.com expires 3600
 sip-server dns: mycompany.test.com
  host-registrar
!

Related Posts

  • Comparison of H323 vs SIP Protocols Used in VoIP and IP Telephony
  • How to Use Cisco ECC Profile to Provide Caller ID Details for External Calls
  • IP Telephony and VoIP Tutorial
  • Cisco UC560 Dial Plan for Voice Mail Configuration Example
  • How does VoIP work-Brief Overview

Filed Under: IP Telephony

Download Free Cisco Commands Cheat Sheets

Enter your Email below to Download our Free Cisco Commands Cheat Sheets for Routers, Switches and ASA Firewalls.

We use Elastic Email as our marketing automation service. By submitting this form, you agree that the information you provide will be transferred to Elastic Email for processing in accordance with their Terms of Use and Privacy Policy. Also, you allow me to send you informational and marketing emails from time-to-time.

About Harris Andrea

Harris Andrea is an Engineer with more than two decades of professional experience in the fields of TCP/IP Networks, Information Security and I.T. Over the years he has acquired several professional certifications such as CCNA, CCNP, CEH, ECSA etc.

He is a self-published author of two books ("Cisco ASA Firewall Fundamentals" and "Cisco VPN Configuration Guide") which are available at Amazon and on this website as well.

Comments

  1. Momo says

    February 23, 2009 at 7:05 am

    Dear
    Do you have any video tutorial based upon the mentioned scenario.

    Please advice,
    Momo.

  2. BlogAdmin says

    February 23, 2009 at 8:20 am

    Sorry Momo, no video tutorial. You can search cisco site for some pretty good configuration examples

  3. Stewart Friday says

    June 14, 2021 at 6:07 pm

    Thanks for your help. I used this to establish an inbound SIP Trunk to a 3CX PBX. And I now have inbound calls working from 3CX to Cisco. However on my CME, I have an FXO/FXS configuration, and I need to redirect an FXS Port to VOIP, and then send that out the SIP Trunk towards the 3CX, and Im getting dead air.

    But in my lab, I have a bit of a difference, in that I have a trusted peer with my 3CX PBX, and I am not authenticating the calls across the TIELINE. So Im at a loss. The Dial-Peer is registering with the SIP server on the CUME side. Thoughts?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search this site

About Networks Training

We Provide Technical Tutorials and Configuration Examples about TCP/IP Networks with focus on Cisco Products and Technologies. This blog entails my own thoughts and ideas, which may not represent the thoughts of Cisco Systems Inc. This blog is NOT affiliated or endorsed by Cisco Systems Inc. All product names, logos and artwork are copyrights/trademarks of their respective owners.

Amazon Disclosure

As an Amazon Associate I earn from qualifying purchases.
Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.

Search

BLOGROLL

Tech21Century
Firewall.cx

Copyright © 2023 | Privacy Policy | Terms and Conditions | Hire Me | Contact | Amazon Disclaimer | Delivery Policy

0 shares