mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 11:02:53 +00:00
Currently the 'permissionCallback' object is only available at the Verto instance level. This is problematic in multi-call scenarios, where an individual call dialog needs access to the onGranted/onDenied callback functions. The patch adds a check for existence of onGranted/onDenied callback functions at the dialog level, with a fallback to the original behavior of calling onGranted/onDenied from the Verto instance if it's not available on the dialog. This preserves backwards compatibility while allowing per-dialog overrides going forward.
This file needs to say more. Documentation for the api needs to be developed with jsdoc-toolkit http://pulkitgoyal.in/documenting-jquery-plugins-jsdoc-toolkit/ Dependancies for DEMO jquery-2.0.3.min.js jquery-2.0.3.min.map jquery.cookie.js jquery.dataTables.js jquery.json-2.4.min.js jquery.mobile-1.3.2.min.js