Add message-count place holder to the xml_handler.lua
This commit is contained in:
@@ -468,7 +468,14 @@
|
|||||||
--user_call - user has been called
|
--user_call - user has been called
|
||||||
|
|
||||||
--determine the correction action to perform
|
--determine the correction action to perform
|
||||||
if (action == "group_call") then
|
if (action == "message-count") then
|
||||||
|
--Event-Calling-Line-Number: 102
|
||||||
|
--Event-Sequence: 4173
|
||||||
|
--action: message-count
|
||||||
|
--key: id
|
||||||
|
--user: *98
|
||||||
|
--domain: example.com
|
||||||
|
elseif (action == "group_call") then
|
||||||
--handles action
|
--handles action
|
||||||
--group_call
|
--group_call
|
||||||
|
|
||||||
@@ -536,8 +543,11 @@
|
|||||||
table.insert(xml, [[ </section>]]);
|
table.insert(xml, [[ </section>]]);
|
||||||
table.insert(xml, [[</document>]]);
|
table.insert(xml, [[</document>]]);
|
||||||
XML_STRING = table.concat(xml, "\n");
|
XML_STRING = table.concat(xml, "\n");
|
||||||
freeswitch.consoleLog("notice", "[directory] XML_STRING: \n" .. XML_STRING .. "\n");
|
|
||||||
|
|
||||||
|
--send the xml to the console
|
||||||
|
if (debug["xml_string"]) then
|
||||||
|
freeswitch.consoleLog("notice", "[directory] XML_STRING: \n" .. XML_STRING .. "\n");
|
||||||
|
end
|
||||||
else
|
else
|
||||||
--handle action
|
--handle action
|
||||||
--all directory actions: sip_auth, user_call
|
--all directory actions: sip_auth, user_call
|
||||||
|
|||||||
Reference in New Issue
Block a user