Fixes bug in chan_sip where nativeformats are not set correctly.
authorDavid Vossel <dvossel@digium.com>
Thu, 10 Feb 2011 17:12:10 +0000 (17:12 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 10 Feb 2011 17:12:10 +0000 (17:12 +0000)
commit08460fc094fc0defe5bf678fa6c56b4a404aa728
treeb1178c2a1616b098ffab3d86a90daae67a464f6d
parent707cf78c5af4ae221225a0351d79e0ddea5add26
Fixes bug in chan_sip where nativeformats are not set correctly.

The nativeformats field was being overwritten when it should have been
appended too.  This caused some format capabilities to be lost briefly and
some log warnings to be output.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@307433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
include/asterisk/format_cap.h
main/format_cap.c