Documentation
¶
Overview ¶
SIP outbound (UAC) demo: dial a remote UAS, wait for 200 OK + ACK, then BYE.
Usage:
# Terminal A: inbound UAS go run ./examples/sip-uas-demo # Terminal B: outbound call to the UAS (same LAN) SIP_TARGET_URI="sip:1000@192.168.28.128" \ SIP_SIGNALING_ADDR="192.168.28.128:5060" \ go run ./examples/sip-outbound-demo
Env:
- SIP_UDP_PORT local bind port (default 5062)
- SIP_LOCAL_IP advertised in SDP (auto-detected if empty)
- SIP_TARGET_URI Request-URI for INVITE
- SIP_SIGNALING_ADDR host:port of next hop
- SIP_FROM_USER CLI user part (default lingllm)
- SIP_RTP_PORT SDP media port (signaling only, default 10002)
- SIP_HANGUP_AFTER seconds after 200 OK before BYE (default 5)
Click to show internal directories.
Click to hide internal directories.