I have a application that I have one pri that two sip PBX's need to access. How to I define that incoming numbers go to what sip server and have both sip servers access the PRI. I have one server working, but the other not yet. Here is the config so far, PBX (T02) works, but PBX2 (T03) does not, and I am not sure how to define what numbers to go to PBX2 (T03). Both PBX's are the same make/model. Thanks! - Jeremy
!
ip subnet-zero
ip classless
ip routing
!
!
ip domain-proxy
!
!
no auto-config
!
event-history on
no logging forwarding
no logging email
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
no dot11ap access-point-control
!
!
interface eth 0/1
ip address 10.11.10.237 255.255.255.0
media-gateway ip primary
no shutdown
!
!
!
!
interface t1 0/1
shutdown
!
interface t1 0/2
description PRI
tdm-group 1 timeslots 1-24 speed 64
no shutdown
!
!
interface pri 1
description pri 1
connect t1 0/2 tdm-group 1
role user
no shutdown
!
!
isdn-group 1
connect pri 1
!
!
!
!
!
!
!
!timing-source t1 0/2
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 10.11.10.1
!
no ip tftp server
no ip tftp server overwrite
ip http server
no ip http secure-server
no ip snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
ip sip
ip sip udp 5060
no ip sip tcp
!
!
!
voice feature-mode network
voice transfer-mode local
voice forward-mode local
!
!
isdn-number-template 1 prefix "" subscriber NXX-XXXX
isdn-number-template 2 prefix "" national NXX-NXX-XXXX
isdn-number-template 3 prefix "" international 011-X$
isdn-number-template 4 prefix "" national 1NXX-NXX-XXXX
!
!
!
!
voice codec-list G711_G729
default
codec g711ulaw
codec g729
!
!
voice trunk-list PBX_TRUNK
trunk T02
!
!
voice trunk T01 type isdn
description "PSTN"
resource-selection linear descending
connect isdn-group 1
modem-passthrough
t38
rtp delay-mode adaptive
!
!
voice trunk T02 type sip
description "PBX"
sip-server primary 10.11.10.236
codec-group G711_G729
grammar from host local
grammar from host override registered-users sip-server
update-supported
transfer-mode network
no prefer reinvite-without-sdp
!
!
voice trunk T03 type sip
description "PBX2"
sip-server primary 10.11.11.7
codec-group G711_G729
grammar from host local
grammar from host override registered-users sip-server
update-supported
transfer-mode network
no prefer reinvite-without-sdp
!
!
!
voice grouped-trunk PBX
description "PBX SIP Trunks"
trunk T02
accept XXXX cost 0
accept NXX-XXXX cost 0
accept NXX-NXX-XXXX cost 0
accept 0-NXX-NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept 411 cost 0
accept 611 cost 0
accept 911 cost 0
accept 011$ cost 0
accept *$ cost 0
accept #$ cost 0
accept 9NXX-XXXX cost 0
accept 9NXX-NXX-XXXX cost 0
!
!
voice grouped-trunk PBX2
description "PBX2 SIP Trunks"
trunk T03
accept XXXX cost 0
accept NXX-XXXX cost 0
accept NXX-NXX-XXXX cost 0
accept 0-NXX-NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept 411 cost 0
accept 611 cost 0
accept 911 cost 0
accept 011$ cost 0
accept *$ cost 0
accept #$ cost 0
accept 9NXX-XXXX cost 0
accept 9NXX-NXX-XXXX cost 0
!
!
voice grouped-trunk PSTN
description "PSTN PRI Trunks"
trunk T01
accept NXX-XXXX cost 0
accept NXX-NXX-XXXX cost 0
accept 0-NXX-NXX-XXXX cost 0
accept 1-NXX-NXX-XXXX cost 0
accept *$ cost 0
accept 411 cost 0
accept 611 cost 0
accept 911 cost 0
accept 011-$ cost 0
reject 976-XXXX
reject 1-900-NXX-XXXX
reject 1-976-NXX-XXXX
permit list PBX_TRUNK
!deny all other trunks
!deny all other ani
!
!
!
!
!
!
!
!
ip sip
!
ip sip authenticate
!
!
no ip sip prefer double-reinvite
!
!
!
!
!
!
!
!
!
!
!
!
!
!
line con 0
no login
!
line telnet 0 4
login
no shutdown
line ssh 0 4
login local-userlist
no shutdown
!
!
!
!
!
end
Never Mind, figured it out. - Jeremy
Never Mind, figured it out. - Jeremy