Better late then never....
Here a 5.2 config I made, the sip part is working fine..
As far as I know the location-service is not needed in Michael's config.
If I understand it correctly it is only needed if the Patton is used as a 
SIP-GW.
If anyone can explain this better then the Patton manual then I am 
interested.

I am still waiting for my E1 connection, so please don't look at the ISDN 
part
(that's also why I manipulate URI's, as I am sending calls from SipXecs to 
SipXecs 
via the Patton GW to test....).



Best regards / Mit freundlichen Grüßen / Sincères salutations

Paul Scheepens

> 
> ----- Message from Jim Canfield <[email protected]> on Thu, 2 Jul
> 2009 16:51:25 -0500 -----
> 
> To:
> 
> "Picher, Michael" <[email protected]>
> 
> cc:
> 
> [email protected], [email protected]
> 
> Subject:
> 
> Re: [sipx-users] Gateway Suggestion for testing
> 
> Thanks Mike,
> 
> Patton also sent me two more 5.x configs for the 4960. One with and
> one without registration (attached).  I tested the later and it seems
> to be working fine on the SIP side.  I'll polish them up a bit and put
> them on the wiki.
> 
> -Jim
> 
#----------------------------------------------------------------#
#                                                                #
# SN4960/1E15V                                                   #
# R5.2 2009-01-14 H323 RBS SIP                                   #
# 2009-06-22T13:40:47                                            #
# SN/00A0BA048AF4                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator ntadmin password QzzdjYBTF65CgrLq3ul31Q== encrypted
banner "Welcome to the EPO PTHW GW\nPlease log on"
clock local offset +02:00
dns-client server 10.0.10.11
dns-relay
webserver port 80 language en
snmp community public ro
sntp-client
sntp-client server primary mntime01.internal.epo.org port 123 version 4
sntp-client server secondary mdns01.internal.epo.org port 123 version 4
sntp-client poll-interval 1800
system hostname mspatton01.internal.epo.org
system location BT7-CR
system contact "P. Scheepens"

radius-client mnw198
  radius-server 172.18.32.210 1812
  shared-secret authentication QzzdjYBTF65CgrLq3ul31Q== encrypted

system

  ic voice 0

system
  clock-source 1 e1t1 0 0

profile napt NAPT_WAN

profile ppp default

profile tone-set default
profile tone-set EU

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20

profile pstn default

profile sip default

profile aaa default
  method 1 local
  method 2 radius mnw198
  method 3 none

context ip router

  interface WAN
    ipaddress dhcp
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface LAN
    ipaddress 10.31.48.23 255.255.248.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 10.31.48.1 0

context cs switch
  digit-collection timeout 4

  routing-table called-e164 Route-from-Sip
    route 6906.... dest-interface MN-Ericsson
    route 6907.... dest-interface MN-Ericsson
    route 6908.... dest-interface MN-Ericsson
    route 6909.... dest-interface MN-Ericsson
    route 6910.... dest-interface MN-Ericsson
                
  routing-table called-e164 Route-from-MN-Ericsson
    route 6906.... dest-interface MN-sip
    route 6907.... dest-interface TH-sip

  mapping-table called-e164 to called-e164 Sip2All
    map 6901(....) to 6906\1
    map 6902(....) to 6907\1
    map 6903(....) to 6908\1
    map 6904(....) to 6909\1
    map 6905(....) to 6910\1
            
  mapping-table uri to uri Sip2AllUri
    map sip:6901(.+) to sip:6906\1

  interface isdn MN-Ericsson
    route call dest-interface Route-from-MN-Ericsson
    use mapping-table in Sip2All 
    

  interface sip testsip
    bind context sip-gateway gssipx02
    route call dest-table Route-from-Sip
    use mapping-table in Sip2All
    use mapping-table in Sip2AllUri
    remote th.internal.epo.org
    local mspatton01.internal.epo.org

  interface sip prodsip
    bind context sip-gateway gssipx01
    route call dest-table Route-from-Sip
    use mapping-table in Sip2All
    use mapping-table in Sip2AllUri
    remote internal.epo.org
    local mspatton01.internal.epo.org

  service hunt-group Hunt-Em
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    route call 1 dest-interface MN-Ericsson

context cs switch
  no shutdown

context sip-gateway gssipx02

  interface testintf
    bind interface LAN context router port 5060

context sip-gateway gssipx02
  no shutdown

context sip-gateway gssipx01

  interface prodintf
    bind interface LAN context router port 5090

context sip-gateway gssipx01
  no shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  bind interface WAN router
  no shutdown

port ethernet 0 1
  medium auto
  encapsulation ip
  bind interface LAN router
  no shutdown

port e1t1 0 0
  port-type t1
  clock slave
  linecode b8zs
  framing esf
  encapsulation q921

  q921
    uni-side user
    encapsulation q931

    q931
      protocol ni2
      uni-side user
      bchan-number-order ascending-cyclic
      encapsulation cc-isdn
      bind interface IF_PRI_1 switch


mspatton01.internal.epo.org#
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to