From c12de66ae348af37a292f8ddb99442e6cce6025b Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 22 Jan 2024 19:15:00 -0500 Subject: [PATCH] Comment marker for outbound calls --- asterisk-conf/extensions.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/asterisk-conf/extensions.lua b/asterisk-conf/extensions.lua index d108116..71446ad 100644 --- a/asterisk-conf/extensions.lua +++ b/asterisk-conf/extensions.lua @@ -105,6 +105,7 @@ extensions = { local jid = channel.CALLERID("name"):get() local from = jid_unescape(jid:sub(0, jid:find("@") - 1)) local to = jid_unescape(jid:sub(jid:find("/") + 1)) + -- outbound calls channel.CALLERID("all"):set(from .. "<" .. from .. ">") app.dial("SIP/" .. to:gsub("\\", "\\\\"):gsub("&", "") .. "!!" .. from:gsub("\\", "\\\\") .. "@sip.cheogram.com") end; -- 2.45.2