mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 03:03:49 +00:00
Fixed audio stream absolute path in fifo member
This commit is contained in:
@@ -70,7 +70,7 @@ if ( session:ready() ) then
|
||||
--pin is correct
|
||||
|
||||
--press 1 to login and 2 to logout
|
||||
menu_selection = session:playAndGetDigits(1, 1, max_tries, digit_timeout, "#", sounds_dir.."/ivr/ivr-enter_destination_telephone_number.wav", "", "\\d+");
|
||||
menu_selection = session:playAndGetDigits(1, 1, max_tries, digit_timeout, "#", "ivr/ivr-enter_destination_telephone_number.wav", "", "\\d+");
|
||||
freeswitch.consoleLog("NOTICE", "menu_selection: "..menu_selection.."\n");
|
||||
if (menu_selection == "1") then
|
||||
session:execute("set", "fifo_member_add_result=${fifo_member(add "..queue_name.." {fifo_member_wait=nowait}user/"..user_name.." "..fifo_simo.." "..fifo_timeout.." "..fifo_lag.."} )"); --simo timeout lag
|
||||
@@ -100,7 +100,7 @@ if ( session:ready() ) then
|
||||
--pin number is not required
|
||||
|
||||
--press 1 to login and 2 to logout
|
||||
menu_selection = session:playAndGetDigits(1, 1, max_tries, digit_timeout, "#", sounds_dir.."/ivr/ivr-enter_destination_telephone_number.wav", "", "\\d+");
|
||||
menu_selection = session:playAndGetDigits(1, 1, max_tries, digit_timeout, "#", "ivr/ivr-enter_destination_telephone_number.wav", "", "\\d+");
|
||||
freeswitch.consoleLog("NOTICE", "menu_selection: "..menu_selection.."\n");
|
||||
if (menu_selection == "1") then
|
||||
session:execute("set", "fifo_member_add_result=${fifo_member(add "..queue_name.." {fifo_member_wait=nowait}user/"..user_name.." "..fifo_simo.." "..fifo_timeout.." "..fifo_lag.."} )"); --simo timeout lag
|
||||
@@ -119,4 +119,4 @@ if ( session:ready() ) then
|
||||
--hangup
|
||||
session:hangup();
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user