~singpolyma/cheogram-sip

44f1e583bd0727f5a260b38ee727456694020e45 — Stephen Paul Weber 9 months ago c2f7d2d
Use SIP From instead of raw SIPURI
1 files changed, 1 insertions(+), 1 deletions(-)

M extensions.lua
M extensions.lua => extensions.lua +1 -1
@@ 31,7 31,7 @@ extensions = {
			local jid = (
				jid_escape(extension)
				.. "@sip.cheogram.com/"
				.. jid_escape(channel.SIPURI:get():gsub("^sip:", ""))
				.. jid_escape(channel.SIP_HEADER("From"):get():gsub("^[^<]*<sip:", ""):gsub(">.*$", ""))
			):gsub("\\", "\\\\")

			app.dial(