sip-outbound-demo

command
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 11 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL