Add SIP Gateway to Cisco CUCM

Adding a SIP Gateway to Cisco CUCM requires creating a SIP Trunk in CUCM and configuring Dial peer on the SIP Gateway.

Steps

SIP Gateway Configuration (CUCM)

  1. Open a web page to login to CUCM administration using CUCM IP address.
  2. Choose Device - Trunk from the menu
  3. Choose SIP Trunk from Trunk Type drop-down list, SIP from Device Protocol drop-down list, and keep the default None from Trunk Service Type drop-down menu
  4. Click Next to continue with SIP Trunk Parameters Configuration
  5. Enter a unique SIP Trunk name into the Device Name field (any name, but it may not match the gateway hostname) and optionally give it a description
  6. Choose a device pool from the Device Pool drop-down list.
  7. Enter the IP address of the desired Gateway
  8. Choose a profile from the SIP Trunk Security drop-down list
  9. Choose a profile from the SIP Profile drop-down list and then click save

SIP Gateway Configuration (IOS Gateway)

  1. Enter these commands
    • Voice Service VOIP
  2. SIP
  3. Bind Control Source-Interface ..int used for SIP Communication...
  4. Bind Media Source-Interface ..int used for SIP Communication...
  5. Session transport TCP(default is UDP)
  6. SIP Gateway Configuration (Call Routing)
  7. To incoming calls to CUCM you need to create a dial peer to tell the gateway which calls need to be routed where, As below:
  8. dial-peer voice tag VOIP
  9. destination-pattern .... (Called Numbers that should be routed to CUCM)
  10. Session Protocol sipv2 (this command is a must since the default Protocol on VOIP dial peer is H323)
  11. Session Target ipv4:...IP address of your primary CUCM...
  12. codec G711ulaw
  13. dtmf-relay h245-alphanumeric

Tips

  • If you have redundant CUCM you will need to add a second dial peer with Preference of 1. and don't forget that you need to associate this gateway to route pattern on CUCM if you would like your outgoing calls to be routed through this gateway.
  • If you have redundant connections to CUCM then you should use the loopback interface in the bind interface command

Related Articles

Sources and Citations