Debug voip sip при звонке с Addpac`а на софт-фонКод:
Sending SIP PDU to ( 192.168.0.248:5060 ) from 5060
INVITE sip:102@192.168.0.248 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a470
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 70 INVITE
Supported: timer, replaces
Min-SE: 1800
Date: Tue, 05 Sep 2017 16:33:45 GMT
User-Agent: AddPac SIP Gateway
Contact: <sip:202@192.168.0.247>
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Content-Type: application/sdp
Content-Length: 282
Max-Forwards: 70
v=0
o=202 1504629225 1504629225 IN IP4 192.168.0.247
s=AddPac Gateway SDP
c=IN IP4 192.168.0.247
t=1504629225 0
m=audio 23402 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
Received SIP PDU from ( 192.168.0.248:5060 )
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a470;received=192.168.0.247;rport=5060
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>;tag=as753923f8
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 70 INVITE
Server: FPBX-13.0.192.16(13.15.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3e757d49"
Content-Length: 0
Sending SIP PDU to ( 192.168.0.248:5060 ) from 5060
ACK sip:102@192.168.0.248 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a470
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>;tag=as753923f8
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 70 ACK
Content-Length: 0
Max-Forwards: 70
Sending SIP PDU to ( 192.168.0.248:5060 ) from 5060
INVITE sip:102@192.168.0.248 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 INVITE
Supported: timer, replaces
Min-SE: 1800
Date: Tue, 05 Sep 2017 16:33:45 GMT
User-Agent: AddPac SIP Gateway
Authorization: Digest username="202", realm="asterisk", nonce="3e757d49", uri="sip:102@192.168.0.248", response="c63be5ccf2e89378fabb6e9c83c68cf2", algorithm=MD5
Contact: <sip:202@192.168.0.247>
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Content-Type: application/sdp
Content-Length: 290
Max-Forwards: 70
v=0
o=202 1504629225 1504629225 IN IP4 192.168.0.247
s=AddPac Gateway SDP
c=IN IP4 192.168.0.247
t=1504629225 0
m=audio 23402 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-15
a=ptime:20
Received SIP PDU from ( 192.168.0.248:5060 )
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471;received=192.168.0.247;rport=5060
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 INVITE
Server: FPBX-13.0.192.16(13.15.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:102@192.168.0.248:5060>
Content-Length: 0
Received SIP PDU from ( 192.168.0.248:5060 )
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471;received=192.168.0.247;rport=5060
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>;tag=as760bb0c5
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 INVITE
Server: FPBX-13.0.192.16(13.15.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:102@192.168.0.248:5060>
P-Asserted-Identity: "102" <sip:102@192.168.0.247>
Content-Length: 0
Received SIP PDU from ( 192.168.0.248:5060 )
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471;received=192.168.0.247;rport=5060
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>;tag=as760bb0c5
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 INVITE
Server: FPBX-13.0.192.16(13.15.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:102@192.168.0.248:5060>
Content-Length: 0
Sending SIP PDU to ( 192.168.0.248:5060 ) from 5060
CANCEL sip:102@192.168.0.248 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 CANCEL
Date: Tue, 05 Sep 2017 16:33:53 GMT
User-Agent: AddPac SIP Gateway
Content-Length: 0
Max-Forwards: 70
Received SIP PDU from ( 192.168.0.248:5060 )
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471;received=192.168.0.247;rport=5060
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>;tag=as760bb0c5
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 INVITE
Server: FPBX-13.0.192.16(13.15.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
Sending SIP PDU to ( 192.168.0.248:5060 ) from 5060
ACK sip:102@192.168.0.248 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>;tag=as760bb0c5
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 ACK
Content-Length: 0
Max-Forwards: 70
Received SIP PDU from ( 192.168.0.248:5060 )
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.247:5060;branch=z9hG4bKe9593b28a471;received=192.168.0.247;rport=5060
From: <sip:202@192.168.0.247>;tag=e9593b28a4
To: <sip:102@192.168.0.248>;tag=as760bb0c5
Call-ID: e9d1ae59-9dc1-3ba5-8128-0002a4034602@192.168.0.247
CSeq: 71 CANCEL
Server: FPBX-13.0.192.16(13.15.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
А это Debug voip call при звонке внутри Addpac`а с одного порта на другойКод:
1 <CEP 000200> : Call Received
2 <CEP 000200> : Call Initiated : calledNumber() crv(0) total(0)
3 <Call 220> : ****************** Call Created status(InitiatedByFXS) *******************
4 <CEP 000200> : Calling number(202)
5 <CEP 000200> : Call id(95d2ae59-346d-25ff-8130-0002a4034602) callNum(220)
6 <Call 220> : Digit(2) at InitiatedByFXS
7 <Call 220> : MatchedAll
8 <Call 220> : Digit(0) at CalleeDeterminedWaitDigit
9 <Call 220> : MatchedAll
10 <Call 220> : Digit(3) at CalleeDeterminedWaitDigit
11 <Call 220> : MatchedPerfect
12 <Call 220> : MatchAllProcess After Sorted
<0> id(3) dest(203) prefer(0) selected(2)
<1> id(1001) dest(.T) prefer(0) selected(29)
13 <Call 220> : Initiate callee with dial-peer(203) status(CalleeDeterminedAll) id(95d2ae59-346d-25ff-8130-0002a4034602)
14 <CEP 000300> : InitiateOutCall : calledNum(), callingNum(202), callerPort(200) type(FXS)
15 <CEP 000300> : Outbound call to CEP callId(95d2ae59-346d-25ff-8130-0002a4034602) callNum(220)
16 <Call 220> : Connected from(300)
17 <Call 220> : Connected from(200)
18 <CEP 000200> : Disconnected(16) at Busy
19 <Call 220> : Terminated from(200) this(Local:CallClear) before(NULL) forced(0)
20 <CEP 000200> : DisconnectCall at Idle
21 <CEP 000300> : DisconnectCall at Busy
22 <CEP 000300> : StopSignal
23 <CEP 000300> : Disconnect (0)
24 <CEP 000300> : Disconnected(16) at Disconnecting