File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -640,5 +640,6 @@ exports.queueRecallingManager = queueRecallingManager;
640640exports . CF_TYPES = CF_TYPES ;
641641exports . getExtensions = proxyLogic . getExtensions ;
642642exports . getQueues = proxyLogic . getQueues ;
643+ exports . getFeatureCodes = proxyLogic . getFeatureCodes ;
643644exports . call = proxyLogic . call ;
644645exports . EVENTS = EVENTS ;
Original file line number Diff line number Diff line change @@ -1278,6 +1278,21 @@ function getPickupCode() {
12781278 }
12791279}
12801280
1281+ /**
1282+ * Return all the asterisk feature codes.
1283+ *
1284+ * @method getFeatureCodes
1285+ * @return {object } The asterisk feature codes object.
1286+ * @static
1287+ */
1288+ function getFeatureCodes ( ) {
1289+ try {
1290+ return featureCodes ;
1291+ } catch ( err ) {
1292+ logger . error ( IDLOG , err . stack ) ;
1293+ }
1294+ }
1295+
12811296/**
12821297 * Set the initial trunks list read from JSON configuration file.
12831298 *
@@ -10288,6 +10303,7 @@ exports.recordAudioFile = recordAudioFile;
1028810303exports . redirectParking = redirectParking ;
1028910304exports . getExtenCfValue = getExtenCfValue ;
1029010305exports . setFeatureCodes = setFeatureCodes ;
10306+ exports . getFeatureCodes = getFeatureCodes ;
1029110307exports . getExtenCfbValue = getExtenCfbValue ;
1029210308exports . getExtenCfuValue = getExtenCfuValue ;
1029310309exports . EVT_EXTEN_HANGUP = EVT_EXTEN_HANGUP ;
You can’t perform that action at this time.
0 commit comments