Set accountcode variable
Set the account code variable so it can be used in the dialplan after the pin_number.lua has run.
This commit is contained in:
parent
c12b03d31a
commit
7103adf98f
|
|
@ -119,6 +119,7 @@
|
|||
--set the accountcode
|
||||
if (accountcode ~= nil) then
|
||||
session:setVariable("sip_h_X-accountcode", accountcode);
|
||||
session:setVariable("accountcode", accountcode);
|
||||
end
|
||||
--set the authorized pin number that was used
|
||||
session:setVariable("pin_number", digits);
|
||||
|
|
|
|||
Loading…
Reference in New Issue