H-294: 实现 SIP/RTP 单次呼出 MVP (#3)
Co-authored-by: Rogee <rogee@ipao.vip>
This commit was merged in pull request #3.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
[2026-08-18T00:00:00Z] >>>
|
||||
INVITE sip:7089*******1234@61.132.228.221:5060 SIP/2.0
|
||||
Via: SIP/2.0/UDP 192.0.2.10:5062;branch=z9hG4bK-sample;rport
|
||||
From: "BD****5882" <sip:BD****5882@61.132.228.221>;tag=sample-from
|
||||
To: <sip:7089*******1234@61.132.228.221>
|
||||
Call-ID: 00000000-0000-0000-0000-000000000000
|
||||
CSeq: 1 INVITE
|
||||
Contact: <sip:BD****5882@192.0.2.10:5062>
|
||||
Content-Type: application/sdp
|
||||
Content-Length: 170
|
||||
|
||||
v=0
|
||||
o=- 0 0 IN IP4 192.0.2.10
|
||||
s=magic-sonar
|
||||
c=IN IP4 192.0.2.10
|
||||
t=0 0
|
||||
m=audio 40000 RTP/AVP 8 0
|
||||
a=rtpmap:8 PCMA/8000
|
||||
a=rtpmap:0 PCMU/8000
|
||||
a=ptime:20
|
||||
a=sendrecv
|
||||
[2026-08-18T00:00:01Z] <<<
|
||||
SIP/2.0 180 Ringing
|
||||
Via: SIP/2.0/UDP 192.0.2.10:5062;branch=z9hG4bK-sample;rport
|
||||
From: "BD****5882" <sip:BD****5882@61.132.228.221>;tag=sample-from
|
||||
To: <sip:7089*******1234@61.132.228.221>;tag=sample-to
|
||||
Call-ID: 00000000-0000-0000-0000-000000000000
|
||||
CSeq: 1 INVITE
|
||||
Content-Length: 0
|
||||
[2026-08-18T00:00:02Z] <<<
|
||||
SIP/2.0 200 OK
|
||||
Via: SIP/2.0/UDP 192.0.2.10:5062;branch=z9hG4bK-sample;rport
|
||||
From: "BD****5882" <sip:BD****5882@61.132.228.221>;tag=sample-from
|
||||
To: <sip:7089*******1234@61.132.228.221>;tag=sample-to
|
||||
Call-ID: 00000000-0000-0000-0000-000000000000
|
||||
CSeq: 1 INVITE
|
||||
Contact: <sip:gateway@192.0.2.20:5060>
|
||||
Content-Type: application/sdp
|
||||
Content-Length: 73
|
||||
|
||||
v=0
|
||||
c=IN IP4 192.0.2.20
|
||||
m=audio 42000 RTP/AVP 8
|
||||
a=rtpmap:8 PCMA/8000
|
||||
[2026-08-18T00:00:02Z] >>> ACK call-id=00000000-0000-0000-0000-000000000000 cseq=1
|
||||
[2026-08-18T00:00:04Z] playback interrupted by inbound voice
|
||||
[2026-08-18T00:00:10Z] >>> BYE call-id=00000000-0000-0000-0000-000000000000 cseq=2
|
||||
Reference in New Issue
Block a user