You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/compatibility.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,10 @@ into no-ops or empty strings.
117
117
|`[$n]` / `[$name]`| supported | Action and string variables |
118
118
|`[dynamic_id]`| supported | Atomic per-message counter with `INT32` wraparound to mirror SIPp; supports `+/-offset`|
119
119
|`[routes]`| supported | When a `recv` command uses `rrs="true"`, captured `Record-Route` headers are replayed as `Route` headers (reverse order) in subsequent rendered messages |
120
+
|`[trunk_from]`| supported | Built-in UAC / `invite_media`: value before `;tag=` in `From`; default `gossip <sip:gossip@local_bind:port>`; CLI `-sip_from`|
121
+
|`[trunk_pai]`| supported | Optional full header line `P-Asserted-Identity: …` plus CRLF; empty when `-sip_pai` unset |
122
+
|`[trunk_provider]`| supported | Optional `X-provider: …` plus CRLF; empty when `-sip_provider` unset |
123
+
|`[trunk_extra]`| supported | Optional extra headers after `Via` (each line ends with CRLF); repeatable CLI `-sip_extra_header`|
120
124
|`[clock_tick]`| supported | Milliseconds elapsed since engine start; supports `+/-offset`|
121
125
|`[sipp_version]`| supported | Renders runtime version string (defaults to `Gossipper` when not explicitly provided) |
122
126
|`[tdmmap]`| partial | Stub: renders `0.0.0/0`; `-tdmmap` CLI flag is not parsed and per-call slot allocation is deferred |
fs.IntVar(&cfg.IPField, "ipfield", cfg.IPField, "alias for -ip_field (SIPp-compatible)")
216
222
fs.StringVar(&cfg.AuthUsername, "au", cfg.AuthUsername, "authorization username for authentication challenges")
217
223
fs.StringVar(&cfg.AuthPassword, "ap", cfg.AuthPassword, "authorization password for authentication challenges")
224
+
fs.StringVar(&cfg.SipFrom, "sip_from", cfg.SipFrom, "SIP From value before ;tag= in built-in UAC scenarios (name-addr or URI); empty = gossip <sip:gossip@local_ip:local_port>")
225
+
fs.StringVar(&cfg.SipPAI, "sip_pai", cfg.SipPAI, "P-Asserted-Identity value only (no header name); empty omits the header")
226
+
fs.StringVar(&cfg.SipProvider, "sip_provider", cfg.SipProvider, "sets X-provider to this token; empty omits")
227
+
fs.Func("sip_extra_header", "repeatable: one extra SIP header line \"Name: value\" after Via on first in-dialog requests in built-in UAC scenarios", func(sstring) error {
0 commit comments