=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.07.20 15:22:56 =~=~=~=~=~=~=~=~=~=~=~=
login as: administrator
[email protected]'s password:
Welcome!
192.168.1.182>ebabledcsdf
% ^ Keyword mismatch
192.168.1.182>enable
192.168.1.182#show running-config
#----------------------------------------------------------------#
# #
# SN4112/JO/EUI #
# R6.11 2019-07-02 H323 SIP FXS FXO #
# 2020-07-20T06:25:11 #
# SN/00A0BA0B9131 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
clock local default-offset +00:00
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
profile ppp default
profile call-progress-tone defaultDialtone
play 1 1000 400 -6
profile call-progress-tone defaultAlertingtone
play 1 1000 400 -13
pause 2 2000
profile call-progress-tone defaultBusytone
play 1 500 400 -7
pause 2 500
profile call-progress-tone defaultReleasetone
play 1 500 400 -7
pause 2 500
profile call-progress-tone defaultCongestiontone
play 1 500 400 -7
pause 2 500
profile tone-set default
profile voip default
codec 1 g711ulaw64k rx-length 20 tx-length 20 silence-suppression
codec 2 g711alaw64k rx-length 20 tx-length 20 silence-suppression
codec 3 g729 rx-length 20 tx-length 20 silence-suppression
fax transmission 1 relay t38-udp
profile pstn default
echo-canceler-hybrid-loss 0
echo-canceler-nlp silence
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_IP_WAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface IF_IP_LAN
ipaddress 192.168.1.182 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
routing-table called-e164 RT_SIP_TO_FXO
route .% dest-service HG_TO_FXO
routing-table called-e164 RT_FXO_00_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_00
routing-table called-e164 RT_FXO_01_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_01
routing-table called-e164 RT_FXO_02_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_02
routing-table called-e164 RT_FXO_03_TO_SIP
route default dest-interface IF_SIP MT_CALL_ID_03
mapping-table called-e164 to called-e164 MT_CALL_ID_00
map .% to 000000
mapping-table called-e164 to called-e164 MT_CALL_ID_01
map .% to 000001
mapping-table called-e164 to called-e164 MT_CALL_ID_02
map .% to 000002
mapping-table called-e164 to called-e164 MT_CALL_ID_03
map .% to 000003
interface sip IF_SIP
bind context sip-gateway GW_SIP
route call dest-table RT_SIP_TO_FXO
remote 192.168.1.249 5060
early-disconnect
address-translation outgoing-call request-uri user-part fix 10004 host-part to-header target-param none
trust remote
interface fxo IF_FXO_0
route call dest-table RT_FXO_00_TO_SIP
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-table RT_FXO_01_TO_SIP
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_2
route call dest-table RT_FXO_02_TO_SIP
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_3
route call dest-table RT_FXO_03_TO_SIP
loop-break-duration min 60 max 1000
disconnect-signal loop-break
disconnect-signal busy-tone
ring-number on-caller-id
mute-dialing
service hunt-group HG_TO_FXO
drop-cause destination-out-of-order
drop-cause user-busy
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 IF_FXO_0
route call 2 dest-interface IF_FXO_1
context cs switch
no shutdown
authentication-service AS_ALL_LINES
realm 1 3CXPhoneSystem
username 10004 password HuKYZSLtV11OjnKNZrbccA== encrypted
location-service LS_10004
domain 1 192.168.1.249
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10004
identity 10004
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES
authentication inbound
registration outbound
registrar 192.168.1.249 5060
lifetime 300
register auto
retry-timeout on-system-error 10
retry-timeout on-client-error 10
retry-timeout on-server-error 10
nat-traversal minimal
registration inbound
contact 192.168.1.249 5060 switch IF_SIP priority 1000
lifetime default 3600 min 1 max 4294967295
context sip-gateway GW_SIP
interface LAN
bind interface IF_IP_LAN context router port 5060
context sip-gateway GW_SIP
bind location-service LS_10004
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface IF_IP_LAN 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
192.168.1.182#configure
192.168.1.182(cfg)#debug ccfxo
192.168.1.182(cfg)#debug fxo
192.168.1.182(cfg)#
192.168.1.182(cfg)#
192.168.1.182(cfg)#debug call-control
192.168.1.182(cfg)#debug call-router
192.168.1.182(cfg)#debug context sip-gateway transport
192.168.1.182(cfg)#debug context sip-gateway error
192.168.1.182(cfg)#06:26:50 SIP_TR> [STACK] > 438 Stack: to 192.168.1.249
REGISTER sip:192.168.1.249:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bK83b68253b11a9a79b
Max-Forwards: 70
From: <sip:[email protected]>;tag=d181dd2b2a
To: <sip:[email protected]>
Call-ID: f7875c8f44e41ba3
CSeq: 34148 REGISTER
Contact: <sip:[email protected]:5060>
Expires: 300
User-Agent: Patton SN4112 JO EUI 00A0BA0B9131 R6.11 2019-07-02 H323 SIP FXS FXO M5T SIP Stack/4.2.26.112
Content-Length: 0
06:26:50 SIP_TR> [STACK] < 415 Stack: from 192.168.1.249
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bK83b68253b11a9a79b
Proxy-Authenticate: Digest nonce="414d53595f15393924:5266378bc875aae193a07b9431c3a07b",algorithm=MD5,realm="3CXPhoneSystem"
To: <sip:[email protected]:5060>;tag=a884b378
From: <sip:[email protected]:5060>;tag=d181dd2b2a
Call-ID: f7875c8f44e41ba3
CSeq: 34148 REGISTER
Content-Length: 0
06:26:50 SIP_TR> [STACK] > 654 Stack: to 192.168.1.249
REGISTER sip:192.168.1.249:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bKb0301efec41e2bd6e
Proxy-Authorization: Digest username="10004",realm="3CXPhoneSystem",nonce="414d53595f15393924:5266378bc875aae193a07b9431c3a07b",uri="sip:192.168.1.249:5060",response="41d6bfe68708e8ef624aee6cd3390ad2",algorithm=MD5
Max-Forwards: 70
From: <sip:[email protected]>;tag=d181dd2b2a
To: <sip:[email protected]>
Call-ID: f7875c8f44e41ba3
CSeq: 34149 REGISTER
Contact: <sip:[email protected]:5060>
Expires: 300
User-Agent: Patton SN4112 JO EUI 00A0BA0B9131 R6.11 2019-07-02 H323 SIP FXS FXO M5T SIP Stack/4.2.26.112
Content-Length: 0
06:26:51 SIP_TR> [STACK] < 438 Stack: from 192.168.1.249
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bKb0301efec41e2bd6e
Record-Route: <sip:[email protected]:5060;user=proxy;tnlid=sbc.8a11e105>
Contact: <sip:[email protected]:5060>;expires=300
To: <sip:[email protected]:5060>;tag=249cb92f
From: <sip:[email protected]:5060>;tag=d181dd2b2a
Call-ID: f7875c8f44e41ba3
CSeq: 34149 REGISTER
User-Agent: 3CXPhoneSystem 16.0.5.619 (619)
Content-Length: 0
06:28:25 FXO > [0 0] Driver: Line reversal
06:28:25 FXO > [fxo 0 0 0/fxo 0] Dispatching event 'PortLineReversal' in state 'OnHook'
06:28:25 FXO > [fxo 0 0 0/fxo 0] Action 'Line-Reversal'
06:28:25 FXO > [fxo 0 0 0/fxo 0] Event 'PortLineReversal' handled in state 'OnHook'
06:28:25 CFXO > [EP IF_FXO_0] State IDLE, event BATTERY REVERSAL
06:28:25 FXO > [0 0] Driver: Line reversal
06:28:25 FXO > [fxo 0 0 0/fxo 0] Dispatching event 'PortLineReversal' in state 'OnHook'
06:28:25 FXO > [fxo 0 0 0/fxo 0] Action 'Line-Reversal'