-
- Downloads
res_pjsip: PJSIP Transport state monitor refactor.
The fix for the issue is broken up into three parts. This is part one which refactors the transport state monitor code to allow more modules to be able to monitor transports. * Pull the management of PJPROJECT's transport state callback code from res_pjsip_transport_management.c into res_pjsip. Now other modules can dynamically add and remove themselves from transport monitoring without worrying about breaking PJPROJECT's callback chain. * Add the ability for other modules to get a callback whenever a specific transport is shutdown. ASTERISK-27147 Change-Id: I7d9a31371eb1487c9b7050cf82a9af5180a57912
Showing
- include/asterisk/res_pjsip.h 87 additions, 0 deletionsinclude/asterisk/res_pjsip.h
- res/res_pjsip.c 6 additions, 1 deletionres/res_pjsip.c
- res/res_pjsip/include/res_pjsip_private.h 23 additions, 0 deletionsres/res_pjsip/include/res_pjsip_private.h
- res/res_pjsip/pjsip_transport_events.c 366 additions, 0 deletionsres/res_pjsip/pjsip_transport_events.c
- res/res_pjsip_transport_management.c 11 additions, 29 deletionsres/res_pjsip_transport_management.c
Loading
Please register or sign in to comment