Sipexer
Revision as of 01:21, 30 August 2023 by Pchero (talk | contribs) (Created page with "== Overview == sipexer - Modern and flexible SIP (RFC3261) command line tool 내용 정리. == OPTIONS ping == <pre> # /usr/local/bin/sipexer -nagios -fu heartbeat 10.75.0.42:5060 [info] [sipexer.go:1578] main.SIPExerDialogLoop(): local socket address: 10.75.0.42:36617 (udp) [info] [sipexer.go:1579] main.SIPExerDialogLoop(): local via address: 10.75.0.42:36617 [info] [sipexer.go:1580] main.SIPExerDialogLoop(): sending to udp 10.75.0.42:5060: --- OPTIONS sip:10.75.0.4...")
Overview
sipexer - Modern and flexible SIP (RFC3261) command line tool 내용 정리.
OPTIONS ping
# /usr/local/bin/sipexer -nagios -fu heartbeat 10.75.0.42:5060 [info] [sipexer.go:1578] main.SIPExerDialogLoop(): local socket address: 10.75.0.42:36617 (udp) [info] [sipexer.go:1579] main.SIPExerDialogLoop(): local via address: 10.75.0.42:36617 [info] [sipexer.go:1580] main.SIPExerDialogLoop(): sending to udp 10.75.0.42:5060: [[--- OPTIONS sip:10.75.0.42:5060 SIP/2.0 Via: SIP/2.0/UDP 10.75.0.42:36617;rport;branch=z9hG4bKSG.3b6e77cc-dbf8-4f58-9809-7bca9c3f9272 From: <sip:heartbeat@localhost>;tag=2d5b7fec-6f21-45e6-a20c-b2ae39535657 To: <sip:bob@localhost> Call-ID: 9a11ff73-de7a-4a19-a0e4-38fa8757ea66 CSeq: 514429 OPTIONS Date: Wed, 30 Aug 2023 00:40:44 UTC User-Agent: SIPExer v1.1.0 Max-Forwards: 10 Content-Length: 0 [info] [sipexer.go:1582] main.SIPExerDialogLoop(): ---]] [info] [sipexer.go:1633] main.SIPExerDialogLoop(): response-received: from=10.75.0.42:5060 bytes=438 data=[[--- SIP/2.0 200 OK Via: SIP/2.0/UDP 10.75.0.42:36617;rport=36617;branch=z9hG4bKSG.3b6e77cc-dbf8-4f58-9809-7bca9c3f9272;received=10.75.0.42 From: <sip:heartbeat@localhost>;tag=2d5b7fec-6f21-45e6-a20c-b2ae39535657 To: <sip:bob@localhost>;tag=8cc31d58288b2b802886d8395a3eac46.7aa55e46 Call-ID: 9a11ff73-de7a-4a19-a0e4-38fa8757ea66 CSeq: 514429 OPTIONS Accept: */* Accept-Encoding: Accept-Language: en Supported: Content-Length: 0 [info] [sipexer.go:1635] main.SIPExerDialogLoop(): ---]]