- Joined
- Aug 6, 2007
- Messages
- 5
- Reaction score
- 0
Help: Using a Patton 4114 gateway.
Lines all register, but when connecting to outside line the call does not go through. Any ideas?
Config file below
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile tone-set default
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 none
context ip router
interface eth0
ipaddress 192.168.10.10 255.255.255.0
context cs switch
no digit-collection timeout
interface sip sipif0
bind gateway sipgw0
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10000 host-part local-ip
interface sip sipif1
bind gateway sipgw1
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10001 host-part local-ip
interface sip sipif2
bind gateway sipgw2
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10002 host-part local-ip
interface sip sipif3
bind gateway sipgw3
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10003 host-part local-ip
interface fxo fxoif0
route call dest-interface sipif0
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
interface fxo fxoif1
route call dest-interface sipif1
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
interface fxo fxoif2
route call dest-interface sipif2
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
interface fxo fxoif3
route call dest-interface sipif3
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
service hunt-group fxohuntgroup
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
drop-cause user-busy
route call 1 dest-interface fxoif0
route call 2 dest-interface fxoif1
route call 3 dest-interface fxoif2
route call 4 dest-interface fxoif3
context cs switch
no shutdown
gateway sip sipgw0
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10000 password 10000 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10000
gateway sip sipgw0
no shutdown
gateway sip sipgw1
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10001 password 10001 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10001
gateway sip sipgw1
no shutdown
gateway sip sipgw2
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10002 password 10002 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10002
gateway sip sipgw2
no shutdown
gateway sip sipgw3
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10003 password 10003 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10003
gateway sip sipgw3
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
use profile fxo us
encapsulation cc-fxo
bind interface fxoif0 switch
no shutdown
port fxo 0 1
use profile fxo us
encapsulation cc-fxo
bind interface fxoif1 switch
no shutdown
port fxo 0 2
use profile fxo us
encapsulation cc-fxo
bind interface fxoif2 switch
no shutdown
port fxo 0 3
use profile fxo us
encapsulation cc-fxo
bind interface fxoif3 switch
no shutdown
Lines all register, but when connecting to outside line the call does not go through. Any ideas?
Config file below
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile tone-set default
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 none
context ip router
interface eth0
ipaddress 192.168.10.10 255.255.255.0
context cs switch
no digit-collection timeout
interface sip sipif0
bind gateway sipgw0
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10000 host-part local-ip
interface sip sipif1
bind gateway sipgw1
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10001 host-part local-ip
interface sip sipif2
bind gateway sipgw2
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10002 host-part local-ip
interface sip sipif3
bind gateway sipgw3
service default
route call dest-service fxohuntgroup
address-translation outgoing-call from-header user-part fix 10003 host-part local-ip
interface fxo fxoif0
route call dest-interface sipif0
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
interface fxo fxoif1
route call dest-interface sipif1
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
interface fxo fxoif2
route call dest-interface sipif2
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
interface fxo fxoif3
route call dest-interface sipif3
disconnect-signal battery-reversal
disconnect-signal busy-tone
use profile tone-set default
service hunt-group fxohuntgroup
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
drop-cause user-busy
route call 1 dest-interface fxoif0
route call 2 dest-interface fxoif1
route call 3 dest-interface fxoif2
route call 4 dest-interface fxoif3
context cs switch
no shutdown
gateway sip sipgw0
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10000 password 10000 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10000
gateway sip sipgw0
no shutdown
gateway sip sipgw1
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10001 password 10001 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10001
gateway sip sipgw1
no shutdown
gateway sip sipgw2
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10002 password 10002 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10002
gateway sip sipgw2
no shutdown
gateway sip sipgw3
bind interface eth0 router
service default
domain 192.168.10.2
authentication 10003 password 10003 default
default-server 192.168.10.2 loose-router
registrar 192.168.10.2
user 10003
gateway sip sipgw3
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
use profile fxo us
encapsulation cc-fxo
bind interface fxoif0 switch
no shutdown
port fxo 0 1
use profile fxo us
encapsulation cc-fxo
bind interface fxoif1 switch
no shutdown
port fxo 0 2
use profile fxo us
encapsulation cc-fxo
bind interface fxoif2 switch
no shutdown
port fxo 0 3
use profile fxo us
encapsulation cc-fxo
bind interface fxoif3 switch
no shutdown