diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-05 18:28:05 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-05 18:28:05 +0000 |
commit | aa215fc662b03f5d665f910b2e3002e255809cd6 (patch) | |
tree | 97e0403e2ac2050edfee5f402eb319dbabc6ce63 /channels/chan_phone.c | |
parent | e8516dd762521c747a96a904cbf204285d8b9366 (diff) |
Prevent unnecessary warnings when getting rtpsource or rtpdest.
If a recognized media type was present, but the media type was not
enabled for the channel, then a warning would be emitted. For instance,
attempting to get CHANNEL(rtpsource,video) on a call with no video would
cause a warning message to appear.
With this change, the warning will only appear if the stream argument
is not recognized as being a media type that can be specified.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@261313 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_phone.c')
0 files changed, 0 insertions, 0 deletions