Same as 4.4, move 404 not found from DEBUG to WARNING (#4925)

New system use the journal (some still use syslog). the "log" action default level is DEBUG.
This change moves the 404 error code to WARNING, the mod_syslog will report to the journal (or syslog).
This commit is contained in:
Luis Daniel Lucio Quiroz
2019-12-03 17:35:24 -05:00
committed by FusionPBX
parent 347e5f0934
commit 4523d6e264
3 changed files with 3 additions and 3 deletions

View File

@@ -115,7 +115,7 @@
table.insert(xml, [[ <extension name="not-found" continue="false" uuid="9913df49-0757-414b-8cf9-bcae2fd81ae7">]]);
table.insert(xml, [[ <condition field="" expression="">]]);
table.insert(xml, [[ <action application="set" data="call_direction=inbound" inline="true"/>]]);
table.insert(xml, [[ <action application="log" data="[inbound routes] 404 not found ${sip_network_ip}" inline="true"/>]]);
table.insert(xml, [[ <action application="log" data="WARNING [inbound routes] 404 not found ${sip_network_ip}" inline="true"/>]]);
table.insert(xml, [[ </condition>]]);
table.insert(xml, [[ </extension>]]);
end