General SIP outbound registrations example
Posted by , Last modified by Daniel Lizaola on 14 December 2017 05:00 PM

Configuration Description

This configuration shows an example for how to route calls beetwen an ISDN and SIP network including registration on a SIP server using the new SIP gateway configuration architecture within the SWR5.T software version.

Commande Sequence to copy, edit and paste

#----------------------------------------------------------------#
#
# SN411X / SN452X / SN453X / SN455X / SN463X / SN483X / SN4960 /
# R5.X and R6.X SIP / H323
#
# NEW SIP GATEWAY CONFIGURATION INCLUDING CONTEXT CS
#
# After replacing all variables you may copy and paste this
# configuration part into your offline configuration file.
#
# This configuration shows an example for how to route calls
# beetwen an ISDN and SIP network including registration on a SIP
# server using the new SIP gateway configuration architecture
# within the SWR5.T software version.
#
# DATE:   2007-10-31
# AUTHOR: Gion Padrun;
#         PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN
#         WWW.PATTON.COM    WWW.INALP.COM
#        
#
#----------------------------------------------------------------#

context cs switch

  routing-table called-e164 RT_TO_SIP
    route .T dest-interface IF_SIP

  interface isdn IF_ISDN
    route call dest-table RT_TO_SIP

  interface sip IF_SIP
    route call dest-interface IF_ISDN
    remote <remote domain-name or ip-address>
    local <remote domain-name or ip-address>
    bind context sip-gateway GW_SIP

context cs switch
  no shutdown

authentication-service SER_AUTH_OB
  username <authentication username> password <authentication password>

location-service SER_LOC_CERT
  domain 1 <sip domain>

  identity <your sip identity>

    authentication outbound
      authenticate 1 authentication-service SER_AUTH_OB username <authentication username>

    registration outbound
      registrar <URL or IP-address of registrar server>
      lifetime 300
      register auto

context sip-gateway GW_SIP

  interface IF_GW_WAN
    bind interface <bind interface name> context router

context sip-gateway GW_SIP
  bind location-service SER_LOC_CERT
  no shutdown

(8748 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).