From 775f3517b0e85d5e07704061fa7c53024e7f1ea7 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 4 Apr 2024 12:39:39 +0200 Subject: [PATCH] cookbooks/devel/pseudovariables: updated list of variables from sdpops --- docs/cookbooks/devel/pseudovariables.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/cookbooks/devel/pseudovariables.md b/docs/cookbooks/devel/pseudovariables.md index 53f62f14..3dd80875 100644 --- a/docs/cookbooks/devel/pseudovariables.md +++ b/docs/cookbooks/devel/pseudovariables.md @@ -3370,12 +3370,22 @@ if(secsipid_build_identity("$fU", "$rU", "A", "", ## sdpops module variables -- $sdp(body) - full SDP body (read only) -- $sdp(sess_version) - sess-version -attribute from SDP o= -line. When - set to special value -1, current value is incremented. (read + +The variables are read-only unless specified otherwise. + +- `$sdp(body)` or `$sdp(raw)` - full SDP body +- `$sdp(sess_version)` - `sess-version` attribute from SDP `o=` line. When + set to special value `-1`, current value is incremented. (read + write) -- $sdp(c:ip) - connection IP (read only) - taken from first media stream if specified, +- `$sdp(c:ip)` - connection IP - taken from first media stream if specified, otherwise from first session +- `$sdp(c:af)` - connection address family +- `$sdp(o:ip)` - origin IP +- `$sdp(m0:raw)` - all lines (raw) of first media stream +- `$sdp(m0:rtp:port)` - rtp port of first media stream +- `$sdp(m0:rtcp:port)` - rtcp port of first media stream, if not set is rtp port incremented +- `$sdp(m0:b:AS)` - value from `b=AS:...` line of first media stream +- `$sdp(m0:b:RR)` - value from `b=RR:...` line of first media stream +- `$sdp(m0:b:RS)` - value from `b=AS:...` line of first media stream ## $sruid - Unique ID