вот дебаг входящего звонка на Addpac:
Код:
AP200#
43 <SIP 6> : Set Terminated Success for 1 INVITE
44 <Call 7> : ****************** Call Created status(InitiatedByNet) *******************
45 <SIP 7> : Receive INVITE Request
46 <NetCon 7> : Found inbound voip peer by dest-pattern id(1000)
47 <NetCon 7> : Found inbound voip peer by dest-pattern id(1005)
48 <Call 7> : From Net - calledParty(73467062900) callingParty(3467062026)
49 <Call 7> : MatchedPerfect
50 <Call 7> : MatchAllProcess After Sorted
<0> id(0) dest(73467062900) prefer(0) selected(3)
51 <Call 7> : Initiate callee with dial-peer(73467062900) status(CalleeDeterminedAll) id(00000000-0000-0000-0000-000000000000)
52 <CEP 000000> : InitiateOutCall : calledNum(), callingNum(3467062026), callerPort(ffffffff) type(FXS)
53 <CEP 000000> : Outbound call to CEP callId(00000000-0000-0000-0000-000000000000) callNum(7)
54 <SIP 7> : SetAlerting
55 <Call 7> : Connected from(0)
56 <SIP 7> : SetConnected
57 <SIP 7> : Add Local Audio MediaFormat : 8
58 <SIP 7> : ACK received
59 <SIP 7> : Receive ACK Request
60 <SIP 7> : Set Terminated Success for 1 INVITE
61 <CEP 000000> : Disconnected(16) at Busy
62 <Call 7> : Terminated from(0) this(Local:CallClear) before(NULL) forced(0)
63 <SIP 7> : ReleaseWithBYE
64 <SIP 7> : Send BYE Request
65 <NetEP 7> : Call TO <192.192.1.4> terminated reason(Local:CallClear)
66 <CEP 000000> : DisconnectCall at Idle
67 <SIP 7> : Receive 200 OK
68 <SIP 7> : Transaction (1 BYE) completed
69 <SIP 7> : Set Terminated Success for 1 BYE
AP200#
[78859.605] RTA(0/0/0) Rx CC_RING_REQ peerId(-1)
[78859.605] VM(0/0/0) Line Reverse
[78859.605] VM(0/0/0) Start ring actv
[78859.605] VM(0/0/0) set T38 mode STD
[78859.610] VM(0/0/0) Fax rate 9600
[78860.605] VM(0/0/0) Gen ring idle
[78862.605] VM(0/0/0) Gen ring actv
[78863.605] VM(0/0/0) Gen ring idle
[78865.605] VM(0/0/0) Gen ring actv
[78866.605] VM(0/0/0) Gen ring idle
[78867.360] VM(0/0/0) vmOffHook
[78867.420] VM(0/0/0) vmTmoOffHook
[78867.420] VM(0/0/0) Line Forward
[78867.440] VM(0/0/0) vmOnHook
[78867.445] VM(0/0/0) vmOffHook
[78867.460] VM(0/0/0) vmOnHook
[78867.475] VM(0/0/0) vmOffHook
[78867.535] VM(0/0/0) vmTmoOffHook
[78867.535] VM(0/0/0) Rx OffHook
[78867.535] VM(0/0/0) Modem attribute disable
[78867.535] VM(0/0/0) Modem attribute G711A
[78867.535] VM(0/0/0) vopp enable
[78867.535] VM(0/0/0) Fax enable
[78867.535] VM(0/0/0) play mute
[78867.535] VM(0/0/0) Tx CONNECT_CNF
[78867.535] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[78867.535] VM(0/0/0) VAD disable
[78867.535] VM(0/0/0) SID disable by CCC
[78867.535] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_CTRL 0
[78867.535] VM(0/0/0) DTMF disable
[78867.540] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[78867.540] VM(0/0/0) VAD disable
[78867.565] RTA(0/0/0) Rx RS_LISTEN_REQ callId=12 ssId=1 G711A
peer=192.192.1.4 mp=23000/23001 hp=41456/41457
[78867.570] VM(0/0/0) vopp idle
[78867.570] VM(0/0/0) start codec replace timer to G711A
[78867.570] RTA(0/0/0) Rx RS_OPEN_REQ callId=12 ssId=1 G711A
peer=192.192.1.4 mp=23000/23001 hp=41456/41457
[78867.570] VM(0/0/0) under codec replace to G711A
[78867.570] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_CTRL 0
[78867.630] VM(0/0/0) Modem attribute disable
[78867.630] VM(0/0/0) Modem attribute G711A
[78867.630] VM(0/0/0) vopp enable
[78867.630] VM(0/0/0) codec replaced to G711A
[78867.630] VM(0/0/0) Fax enable
[78867.630] VM(0/0/0) play mute
[78872.920] VM(0/0/0) vmOnHook
[78872.970] VM(0/0/0) vmTmoOnHook
[78873.020] VM(0/0/0) vmTmoOnHook
[78873.070] VM(0/0/0) vmTmoOnHook
[78873.120] VM(0/0/0) vmTmoOnHook
[78873.170] VM(0/0/0) vmTmoOnHook
[78873.220] VM(0/0/0) vmTmoOnHook
[78873.270] VM(0/0/0) vmTmoOnHook
[78873.320] VM(0/0/0) vmTmoOnHook
[78873.370] VM(0/0/0) vmTmoOnHook
[78873.420] VM(0/0/0) vmTmoOnHook
[78873.470] VM(0/0/0) vmTmoOnHook
[78873.520] VM(0/0/0) vmTmoOnHook
[78873.570] VM(0/0/0) vmTmoOnHook
[78873.620] VM(0/0/0) vmTmoOnHook
[78873.620] VM(0/0/0) Rx OnHook
[78873.620] VM(0/0/0) vopp idle
[78873.620] VM(0/0/0) Tx DISCONN_CNF
[78873.640] RTA(0/0/0) Rx RS_CLOSE_REQ callId=12 ssId=1 dir=reve
[78873.640] RTA(0/0/0) Rx RS_CLOSE_REQ callId=12 ssId=1 dir=forw
[78873.640] RTA(0/0/0) close Media socket
[78873.640] RTA(0/0/0) close RTCP socket
AP200# deb voip sip
AP200#
AP200#
AP200#
Received SIP PDU from ( 192.192.1.4:5060 )
INVITE sip:73467062900@192.192.1.236:5060 SIP/2.0
From: <sip:3467062026@192.192.1.4:5060>;tag=3754
To: <sip:73467062900@192.192.1.236:5060>
Call-ID: 227E2C60-2B56-48BB-AF1F-4CE5B081D6D0
CSeq: 1 INVITE
Via: SIP/2.0/UDP 192.192.1.4:5060;rport;branch=z9hG4bK-b433658-4bac7118;vtservice=CallControl.CallControlServlet
Contact: <sip:3467062026@192.192.1.4:5060>
P-Charging-Vector: icid-value=6C4AEC09-7BB0-4170-8B85-CB2D2E45DC8B
User-Agent: vocl-essentra-bax/7.4.36
Content-Type: application/sdp
Content-Length: 379
v=0
o=Essentra-Relay 387538132 387537803 IN IP4 192.192.1.4
s=Phone-Call
c=IN IP4 192.192.1.4
t=0 0
m=audio 41448 RTP/AVP 8 0 18 4 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
a=rtcp:6031 IN IP4 192.192.1.8
Sending SIP PDU to ( 192.192.1.4:5060 ) from 5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.192.1.4:5060;rport;branch=z9hG4bK-b433658-4bac7118;vtservice=CallControl.CallControlServlet
From: <sip:3467062026@192.192.1.4:5060>;tag=3754
To: <sip:73467062900@192.192.1.236:5060>
Call-ID: 227E2C60-2B56-48BB-AF1F-4CE5B081D6D0
CSeq: 1 INVITE
User-Agent: AddPac SIP Gateway
Content-Length: 0
Sending SIP PDU to ( 192.192.1.4:5060 ) from 5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.192.1.4:5060;rport;branch=z9hG4bK-b433658-4bac7118;vtservice=CallControl.CallControlServlet
From: <sip:3467062026@192.192.1.4:5060>;tag=3754
To: <sip:73467062900@192.192.1.236:5060>;tag=124a9416a4
Call-ID: 227E2C60-2B56-48BB-AF1F-4CE5B081D6D0
CSeq: 1 INVITE
User-Agent: AddPac SIP Gateway
Contact: sip:73467062900@192.192.1.236
Content-Length: 0
Received SIP PDU from ( 192.192.1.4:5060 )
CANCEL sip:73467062900@192.192.1.236:5060 SIP/2.0
From: <sip:3467062026@192.192.1.4:5060>;tag=3754
To: <sip:73467062900@192.192.1.236:5060>
Call-ID: 227E2C60-2B56-48BB-AF1F-4CE5B081D6D0
CSeq: 1 CANCEL
Via: SIP/2.0/UDP 192.192.1.4:5060;rport;branch=z9hG4bK-b433658-4bac7118;vtservice=CallControl.CallControlServlet
Max-Forwards: 70
Supported: 100rel
User-Agent: vocl-essentra-bax/7.4.36
Content-Length: 0
Sending SIP PDU to ( 192.192.1.4:5060 ) from 5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.192.1.4:5060;rport;branch=z9hG4bK-b433658-4bac7118;vtservice=CallControl.CallControlServlet
From: <sip:3467062026@192.192.1.4:5060>;tag=3754
To: <sip:73467062900@192.192.1.236:5060>
Call-ID: 227E2C60-2B56-48BB-AF1F-4CE5B081D6D0
CSeq: 1 CANCEL
User-Agent: AddPac SIP Gateway
Content-Length: 0
Sending SIP PDU to ( 192.192.1.4:5060 ) from 5060
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.192.1.4:5060;rport;branch=z9hG4bK-b433658-4bac7118;vtservice=CallControl.CallControlServlet
From: <sip:3467062026@192.192.1.4:5060>;tag=3754
To: <sip:73467062900@192.192.1.236:5060>;tag=124a9416a4
Call-ID: 227E2C60-2B56-48BB-AF1F-4CE5B081D6D0
CSeq: 1 INVITE
User-Agent: AddPac SIP Gateway
Content-Length: 0
Received SIP PDU from ( 192.192.1.4:5060 )
ACK sip:73467062900@192.192.1.236:5060 SIP/2.0
From: <sip:3467062026@192.192.1.4:5060>;tag=3754
To: <sip:73467062900@192.192.1.236:5060>;tag=124a9416a4
Call-ID: 227E2C60-2B56-48BB-AF1F-4CE5B081D6D0
CSeq: 1 ACK
Via: SIP/2.0/UDP 192.192.1.4:5060;rport;branch=z9hG4bK-b433658-4bac7118;vtservice=CallControl.CallControlServlet
Max-Forwards: 70
Content-Length: 0
и исходящего:
AP200# 131 <CEP 000000> : Call Received
132 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0)
133 <Call 11> : ****************** Call Created status(InitiatedByFXS) *******************
134 <CEP 000000> : Calling number(73467062900)
135 <CEP 000000> : Call id(3090184a-1c1c-92b5-8011-0002a405a5c8) callNum(11)
136 <SIP 10> : Set Terminated Success for 1 INVITE
137 <Time 11> : initial digit timer timeout.
138 <Call 11> : Terminated from(fffffff7) this(Local:InterdigitTimerExpired) before(NULL) forced(1)
139 <CEP 000000> : DisconnectCall at Busy
140 <CEP 000000> : StopSignal
141 <CEP 000000> : Disconnect (0)
142 <CEP 000000> : Disconnected(16) at Disconnecting
AP200#
AP200# [78894.690] VM(0/0/0) vmOffHook
[78894.750] VM(0/0/0) vmTmoOffHook
[78894.750] VM(0/0/0) Rx OffHook
[78894.750] VM(0/0/0) Modem attribute disable
[78894.750] VM(0/0/0) Modem attribute G711A
[78894.750] VM(0/0/0) vopp enable
[78894.750] VM(0/0/0) Tx OFFHOOK_IND
[78894.750] VM(0/0/0) play Dial tone
[78904.750] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_STOP
[78904.750] VM(0/0/0) play mute
[78904.750] RTA(0/0/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0)
[78904.750] VM(0/0/0) play Reorder tone
[78907.260] VM(0/0/0) vmOnHook
[78907.310] VM(0/0/0) vmTmoOnHook
[78907.360] VM(0/0/0) vmTmoOnHook
[78907.410] VM(0/0/0) vmTmoOnHook
[78907.460] VM(0/0/0) vmTmoOnHook
[78907.510] VM(0/0/0) vmTmoOnHook
[78907.560] VM(0/0/0) vmTmoOnHook
[78907.610] VM(0/0/0) vmTmoOnHook
[78907.660] VM(0/0/0) vmTmoOnHook
[78907.710] VM(0/0/0) vmTmoOnHook
[78907.760] VM(0/0/0) vmTmoOnHook
[78907.810] VM(0/0/0) vmTmoOnHook
[78907.860] VM(0/0/0) vmTmoOnHook
[78907.910] VM(0/0/0) vmTmoOnHook
[78907.960] VM(0/0/0) vmTmoOnHook
[78907.960] VM(0/0/0) Rx OnHook
[78907.960] VM(0/0/0) vopp idle
[78907.960] VM(0/0/0) Tx DISCONN_CNF