File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Core/Asterisk/Configs/lua Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,11 +183,11 @@ function monitorEnable(src, dst)
183
183
end
184
184
185
185
-- Check if the source or destination numbers are exceptions where conversation recording is disabled
186
- if (get_variable (" DIALPLAN_EXISTS(monitor-exceptions," .. src .. " )" ) == " 1" )then
187
- app [" NoOp" ](" Is exception numbers. (" .. src .. " ) Conversation recording is disabled" );
186
+ if (src and src ~= " " and get_variable (" DIALPLAN_EXISTS(monitor-exceptions," .. src .. " )" ) == " 1" )then
187
+ app [" NoOp" ](" -- Is exception numbers. (" .. src .. " ) Conversation recording is disabled" );
188
188
return false ;
189
189
end
190
- if (get_variable (" DIALPLAN_EXISTS(monitor-exceptions," .. dst .. " )" ) == " 1" )then
190
+ if (dst and dst ~= " " and get_variable (" DIALPLAN_EXISTS(monitor-exceptions," .. dst .. " )" ) == " 1" )then
191
191
app [" NoOp" ](" Is exception numbers. (" .. dst .. " ) Conversation recording is disabled" );
192
192
return false ;
193
193
end
You can’t perform that action at this time.
0 commit comments