mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 02:46:30 +00:00
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:
committed by
FusionPBX
parent
347e5f0934
commit
4523d6e264
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user