-
- Downloads
Improve timing interface to remember which provider provided a timer
The ability to load/unload timing interfaces is nice, but it means that when a timer is allocated, it may come from provider A, but later provider B becomes the 'preferred' provider. If this happens, all timer API calls on the timer that was provided by provider A will actually be handed to provider B, which will say WTF and return an error. This patch changes the timer API to include a pointer to the provider of the timer handle so that future operations on the timer will be forwarded to the proper provider. (closes issue #14697) Reported by: moy Review: http://reviewboard.digium.com/r/211/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- bridges/bridge_softmix.c 8 additions, 9 deletionsbridges/bridge_softmix.c
- channels/chan_iax2.c 11 additions, 12 deletionschannels/chan_iax2.c
- include/asterisk/channel.h 1 addition, 0 deletionsinclude/asterisk/channel.h
- include/asterisk/timing.h 39 additions, 30 deletionsinclude/asterisk/timing.h
- main/channel.c 16 additions, 13 deletionsmain/channel.c
- main/timing.c 48 additions, 83 deletionsmain/timing.c
Loading
Please register or sign in to comment