salve, il problema è scritto nel titolo, purtroppo.
In entrata sembra che il routing lo fa correttamente, in uscita no...
vi allego gentilmente la configurazione che esce dall'export del patton:
#
#
# #
# SN4112/JO/EUI #
# R5.7 2011-11-09 H323 SIP FXS FXO #
# 2012-03-14T15:42:19 #
# SN/00A0BA06EC74 #
# Generated configuration file #
# #
#
#
cli version 3.20
clock local default-offset +00:00
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultDialtone
play 1 200 425 0
pause 2 200
play 3 600 425 0
pause 4 1000
profile call-progress-tone defaultBusytone
play 1 200 425 -7
pause 2 200
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
codec 3 g729 rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
interface eth0
ipaddress 192.168.1.4 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
no digit-collection timeout
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
route call dest-interface IF_FXO_0
remote 192.168.1.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
route call dest-interface IF_FXO_1
remote 192.168.1.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
interface fxo IF_FXO_0
route call dest-interface IF_SIP_0
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
interface fxo IF_FXO_1
route call dest-interface IF_SIP_1
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10001 password dZ8edXkjFnM= encrypted
username 10002 password iAaKwKfxX4Q= encrypted
location-service LS_10001
domain 1 192.168.1.10
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10001
identity 10001
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.10 5060
lifetime 300
register auto
location-service LS_10002
domain 1 192.168.1.10
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.10 5060
lifetime 300
register auto
context sip-gateway GW_SIP_0
interface LAN
bind interface eth0 context router port 5060
context sip-gateway GW_SIP_0
bind location-service LS_10001
no shutdown
context sip-gateway GW_SIP_1
interface LAN
bind interface eth0 context router port 5062
context sip-gateway GW_SIP_1
bind location-service LS_10002
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
encapsulation cc-fxo
bind interface IF_FXO_0 switch
no shutdown
port fxo 0 1
encapsulation cc-fxo
bind interface IF_FXO_1 switch
no shutdown
In entrata sembra che il routing lo fa correttamente, in uscita no...
vi allego gentilmente la configurazione che esce dall'export del patton:
#
#
# #
# SN4112/JO/EUI #
# R5.7 2011-11-09 H323 SIP FXS FXO #
# 2012-03-14T15:42:19 #
# SN/00A0BA06EC74 #
# Generated configuration file #
# #
#
#
cli version 3.20
clock local default-offset +00:00
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultDialtone
play 1 200 425 0
pause 2 200
play 3 600 425 0
pause 4 1000
profile call-progress-tone defaultBusytone
play 1 200 425 -7
pause 2 200
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
codec 3 g729 rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
interface eth0
ipaddress 192.168.1.4 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
no digit-collection timeout
interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0
route call dest-interface IF_FXO_0
remote 192.168.1.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
route call dest-interface IF_FXO_1
remote 192.168.1.10 5060
early-connect
early-disconnect
address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
interface fxo IF_FXO_0
route call dest-interface IF_SIP_0
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
interface fxo IF_FXO_1
route call dest-interface IF_SIP_1
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10001 password dZ8edXkjFnM= encrypted
username 10002 password iAaKwKfxX4Q= encrypted
location-service LS_10001
domain 1 192.168.1.10
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10001
identity 10001
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.10 5060
lifetime 300
register auto
location-service LS_10002
domain 1 192.168.1.10
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
registration outbound
registrar 192.168.1.10 5060
lifetime 300
register auto
context sip-gateway GW_SIP_0
interface LAN
bind interface eth0 context router port 5060
context sip-gateway GW_SIP_0
bind location-service LS_10001
no shutdown
context sip-gateway GW_SIP_1
interface LAN
bind interface eth0 context router port 5062
context sip-gateway GW_SIP_1
bind location-service LS_10002
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
encapsulation cc-fxo
bind interface IF_FXO_0 switch
no shutdown
port fxo 0 1
encapsulation cc-fxo
bind interface IF_FXO_1 switch
no shutdown