diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-08-21 13:41:05 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-08-21 13:41:05 +0000 |
commit | e85dd769452ad7d27e22bd14405e93f9de27dd7a (patch) | |
tree | 98ba284b77034fb15e6b4a4fb43e21cdf115a2ed /CHANGES | |
parent | c7c8eb5ea49f60038d201b0d3123a32d69d5b2a2 (diff) |
Allow the SIP_CODEC family of variables to specify more than one codec
The SIP_CODEC family of variables let you set the preferred codec to be
offered on an outbound INVITE request. However, for video calls, you need to
be able to set both the audio and video codecs to be offered. This patch lets
the SIP_CODEC variables accept a comma delineated list of codecs. The first
codec in the list is set as the preferred codec; additional codecs are still
offered however.
This lets a dialplan writer set both audio and video codecs, e.g.,
Set(SIP_CODEC=ulaw,h264)
Note that this feature was written by both Dennis Guse and Frank Haase
Review: https://reviewboard.asterisk.org/r/2728
(closes issue ASTERISK-21976)
Reported by: Denis Guse
Tested by: mjordan, sysreq
patches:
patch-channels-chan__sip.c-393919 uploaded by dennis.guse (license 6513)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -553,6 +553,10 @@ chan_sip set of proxies by using a pre-loaded route-set defined by the Path headers in the REGISTER request. See Realtime updates for more configuration information. + * The SIP_CODEC family of variables may now specify more than one codec. Each + codec must be separated by a comma. The first codec specified is the + preferred codec for the offer. This allows a dialplan writer to specify both + audio and video codecs, e.g., Set(SIP_CODEC=ulaw,h264) Functions ------------------ |