[Freeswitch-users] javascript get session extension number
Francesco Facco de Lagarda
francesco at delagarda.com
Sat Mar 10 13:30:50 UTC 2018
Solved this one myself:
function dumpSessVars(session) {
var svars =
["context","destination_number","caller_id_name","caller_id_number","network
_addr","ani","aniii","rdnis","source","chan_name","uuid"];
svars.forEach(function (v) {
cLog(1,"**************** SESSION VAR " + v +
" : " + session.getVariable(v));
});
}
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On
Behalf Of Francesco Facco de Lagarda
Sent: sabato 10 marzo 2018 14:20
To: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] javascript get session extension number
Goodmorning to all.
Can anyone please tell me how I can get the extension number that originated
the session in javascript?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180310/c1448ab8/attachment.html>
More information about the FreeSWITCH-users
mailing list