11
« on: 2016-01-25, 17:59:12 »
Har testat att köra anslutningen över IPSEC-VPN till andra sidan.
Såhär ser det ut i kontroll-änden med debug 2:
Power ON due to P1.30 high
CP-> Radio ON(Idle)
sipTx: 192.168.1.254 [13000] INVITE 0 [24] CI=19011147@192.168.127.110
duplex: New Audiocoding 111 (24 KHz)
sipRx: 192.168.1.254 [13000] SIP/2.0 401=Unauthorized [24] CI=19011147@192.168.127.110
sipTx: 192.168.1.254 [13000] ACK 0 [24] CI=19011147@192.168.127.110
sipTx: 192.168.1.254 [13000] INVITE 407 [25] CI=19011147@192.168.127.110
duplex: New Audiocoding 111 (24 KHz)
sipRx: 192.168.1.254 [13000] SIP/2.0 180=Ringing [25] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 4
AudioTonePlay, tone: 3
appSipCmdHandler: Sip-status: 0
duplex: New Audiocoding 111 (24 KHz)
New UDP CmdTxPort=13002
sipRx: 192.168.1.254 [13000] SIP/2.0 200=OK [25] CI=19011147@192.168.127.110
rtp enable [192.168.1.254/13001 192.168.1.254/13001]
sipTx: 192.168.1.254 [13000] ACK 0 [25] CI=19011147@192.168.127.110
sipTx: 192.168.1.254 [13000] INFO 0 [26] CI=19011147@192.168.127.110
CP-> Sending 8V: 0 Mute spk: 0
queueExtIOManually, In1=8 In2=32 In0=4
sendExtInputs, In1=8 In2=32 In0=4
sipRx: 192.168.1.254 [13000] INFO 0=unknown [16] CI=19011147@192.168.127.110
Got Radio Info, Len 5, data: '8VOff'
CP-> Panel '8V off' from radio
sipTx: 192.168.1.254 [13000] SIP/2.0 200 [16] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 6
controlUDPMsg, Out1=0 Out2=0 Out0=4
CP-> PTT off, sending RTP now
appSipCmdHandler: Sip-status: 0
CP-> audioQuality=11
duplex: New Audiocoding 111 (24 KHz)
sipRx: 192.168.1.254 [13000] SIP/2.0 200=OK [26] CI=19011147@192.168.127.110
sipRx: 192.168.1.254 [13000] INFO 0=unknown [17] CI=19011147@192.168.127.110
Got Radio Info, Len 4, data: '8VOn'
CP-> Panel '8V on' from radio
sipTx: 192.168.1.254 [13000] SIP/2.0 200 [17] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 6
appSipCmdHandler: Sip-status: 0
CP-> PTT off, sending RTP now
sipRx: 192.168.1.254 [13000] INFO 0=unknown [18] CI=19011147@192.168.127.110
Got Radio Info, Len 5, data: '8VOff'
CP-> Panel '8V off' from radio
sipTx: 192.168.1.254 [13000] SIP/2.0 200 [18] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 6
appSipCmdHandler: Sip-status: 0
sipRx: 192.168.1.254 [13000] INFO 0=unknown [19] CI=19011147@192.168.127.110
Got Radio Info, Len 4, data: '8VOn'
CP-> Panel '8V on' from radio
sipTx: 192.168.1.254 [13000] SIP/2.0 200 [19] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 6
appSipCmdHandler: Sip-status: 0
CP-> PTT off, sending RTP now
sipRx: 192.168.1.254 [13000] INFO 0=unknown [20] CI=19011147@192.168.127.110
Got Radio Info, Len 5, data: '8VOff'
CP-> Panel '8V off' from radio
sipTx: 192.168.1.254 [13000] SIP/2.0 200 [20] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 6
appSipCmdHandler: Sip-status: 0
sipRx: 192.168.1.254 [13000] INFO 0=unknown [21] CI=19011147@192.168.127.110
Got Radio Info, Len 4, data: '8VOn'
CP-> Panel '8V on' from radio
sipTx: 192.168.1.254 [13000] SIP/2.0 200 [21] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 6
appSipCmdHandler: Sip-status: 0
CP-> PTT off, sending RTP now
sipRx: 192.168.1.254 [13000] INFO 0=unknown [22] CI=19011147@192.168.127.110
Got Radio Info, Len 5, data: '8VOff'
CP-> Panel '8V off' from radio
sipTx: 192.168.1.254 [13000] SIP/2.0 200 [22] CI=19011147@192.168.127.110
appSipCmdHandler: Sip-status: 6
appSipCmdHandler: Sip-status: 0
CP-> Radio/Panel OFF
sipTx: 192.168.1.254 [13000] BYE 0 [27] CI=19011147@192.168.127.110
rtp disable
duplex: New Audiocoding 111 (24 KHz)
sipRx: 192.168.1.254 [13000] SIP/2.0 200=OK [27] CI=19011147@192.168.127.110
Jag tänkte fixa en likadan logg för radio-änden men när jag telnetar dit och aktiverar debug 2 fryser sessionen. Lådan hänger sig och startar sedan om. Kontroll-lådan spelar en ton-sekvens som brukar innebära att numret inte går att nå.
På websidan på radio-lådan står det:
Saved error message:
Data Abort at 0x00003710, called by 0x0000363c
Firmware och sånt i båda ändarna är:
Software 2.88
Bootloader 1.10
Compiler 4.6.2
Om jag ändrar till debug 1 istället för två får jag:
duplex: New Audiocoding 111 (24 KHz)
duplex: New Audiocoding 111 (24 KHz)
New UDP CmdTxPort=13002
SIP Saved Call-ID '19011145@192.168.127.110'(2)
duplex: New Audiocoding 111 (24 KHz)
duplex: New Audiocoding 111 (24 KHz)
duplex: New Audiocoding 111 (24 KHz)
New UDP CmdTxPort=13002
SIP Saved Call-ID '19011145@192.168.127.110'(2)
R-> Radio ON requested
rtp enable [192.168.127.110/13001 192.168.127.110/13001]
R-> Connection established, radio ON, audioQuality=11
duplex: New Audiocoding 111 (24 KHz)
R-> Sending '8V is off'
queueExtIOManually, In1=0 In2=0 In0=4
sendExtInputs, In1=0 In2=0 In0=4
Got Radio Info, Len 5, data: '8VOff'
R-> Radio '8V off' from panel
controlUDPMsg, Out1=8 Out2=32 Out0=4
ptt off (delayed)
R-> Sending '8V on'
R-> Radio power ON detected
R-> Sending '8V is off'
R-> Sending '8V on'
R-> Radio power ON detected
ptt off (delayed)
R-> Sending '8V is off'
R-> Sending '8V on'
R-> Radio power ON detected
ptt off (delayed)
R-> Sending '8V is off'
rtp disable
>>>Unknown ICMP-package received, type 3 code 3
>>>Unknown ICMP-package received, type 3 code 3
>>>Unknown ICMP-package received, type 3 code 3
>>>Unknown ICMP-package received, type 3 code 3
>>>Unknown ICMP-package received, type 3 code 3
>>>Unknown ICMP-package received, type 3 code 3
De sista raderna gör allt ännu mer konstigt!
Jag kör en trace på trafiken som går till och från radio-lådans IP. Här är slutet av den:
6.712816 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.719543 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.726301 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.732874 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.739472 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.746145 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.752800 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.759564 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.766187 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.768171 192.168.127.110.13000 -> 192.168.1.254.13000: udp 311
6.768408 192.168.127.110 -> 192.168.1.254: icmp: 192.168.127.110 udp port 13001 unreachable
6.772860 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.773527 192.168.127.110 -> 192.168.1.254: icmp: 192.168.127.110 udp port 13001 unreachable
6.779520 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.780164 192.168.127.110 -> 192.168.1.254: icmp: 192.168.127.110 udp port 13001 unreachable
6.786167 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.786790 192.168.127.110 -> 192.168.1.254: icmp: 192.168.127.110 udp port 13001 unreachable
6.792797 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.793509 192.168.127.110 -> 192.168.1.254: icmp: 192.168.127.110 udp port 13001 unreachable
6.799490 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.800149 192.168.127.110 -> 192.168.1.254: icmp: 192.168.127.110 udp port 13001 unreachable
6.806123 192.168.1.254.13001 -> 192.168.127.110.13001: udp 336
6.806774 192.168.127.110 -> 192.168.1.254: icmp: 192.168.127.110 udp port 13001 unreachable
6.813518 192.168.1.254.13000 -> 192.168.127.110.13000: udp 278
6.848688 192.168.1.254.13023 -> 192.168.127.13.62344: psh 23363 ack 844200022
6.849350 192.168.127.13.62344 -> 192.168.1.254.13023: ack 23719