⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testtfsm-servernoninvite

📁 一个著名的SIP协议栈
💻
字号:
# Non-Invite from the transportinject_wire{REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1234;branch=z9hG4bK0000
Max-Forwards: 70
From: sip:A@inside.com;tag=12345
To: sip:A@inside.com
Call-ID: 0123456789@pc.inside.com
CSeq: 1 REGISTER
Contact: <sip:A@pc.inside.com>
Content-Length: 0

}# See the REGISTER be passed up to the TUexpect_tu{method=REGISTERtimeout=1000}# Wait for the above to expiredelay{timeout=2000}# Inject a provisional response from the TUinject_tu{SIP/2.0 100 Trying
Via: SIP/2.0/UDP 127.0.0.1:1234;branch=z9hG4bK0000
From: sip:A@inside.com;tag=12345
To: sip:A@inside.com
Call-ID: 0123456789@pc.inside.com
CSeq: 1 REGISTER
Content-Length: 0

}# See the 100 Trying provisional response passed by the stackexpect_wire{status=100timeout=1000}# Wait for the above to expiredelay{timeout=2000}# Retransmission of the REGISTER from the transportinject_wire{REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1234;branch=z9hG4bK0000
Max-Forwards: 70
From: sip:A@inside.com;tag=12345
To: sip:A@inside.com
Call-ID: 0123456789@pc.inside.com
CSeq: 1 REGISTER
Contact: <sip:A@pc.inside.com>
Content-Length: 0

}# See the 100 Trying provisional response passed (cached by the stack)expect_wire{status=100timeout=1000}# Wait for the above to expiredelay{timeout=2000}inject_tu{SIP/2.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:1234;branch=z9hG4bK0000
From: sip:A@inside.com;tag=12345
To: sip:A@inside.com
Call-ID: 0123456789@pc.inside.com
CSeq: 1 REGISTER
Content-Length: 0

}expect_wire{status=200timeout=1000}delay{timeout=2000}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -