summaryrefslogtreecommitdiff
path: root/tests/test_stasis.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-06-23 13:21:41 -0300
committerJoshua Colp <jcolp@digium.com>2015-06-24 13:50:55 -0500
commite99e654d75a2428ce4b8bc504acf2ec1927779ed (patch)
tree4d4374dbf4d75e0609cdf621b21814e4837c9d2e /tests/test_stasis.c
parenta419c69def639745ac9988b3800501f68dfef350 (diff)
app_dial: Hold reference to calling channel formats when dialing outbound.
Currently when requesting a channel the native formats of the calling channel are provided to the core for usage when dialing the outbound channel. This occurs without holding the channel lock or keeping a reference to the formats. This is problematic as the channel driver may end up changing the formats during this time. In the case of chan_sip this happens when an SDP negotiation completes. This change makes it so app_dial keeps a reference to the native formats of the calling channel which guarantees that they will remain valid for the period of time needed. ASTERISK-25172 #close Change-Id: I2f0a67bd0d5d14c3bdbaae552b4b1613a283f0db
Diffstat (limited to 'tests/test_stasis.c')
0 files changed, 0 insertions, 0 deletions