From 4b78b6b08fe4df6073255a7753774822039c9da0 Mon Sep 17 00:00:00 2001 From: Mathias WOLFF Date: Fri, 22 Dec 2017 12:33:11 +0100 Subject: [PATCH] correct the sip account id when did call correct the sip account id when did call instead of the sip name ! --- install/resources/fs/config/scripts/pyfreebilling_dp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/resources/fs/config/scripts/pyfreebilling_dp.lua b/install/resources/fs/config/scripts/pyfreebilling_dp.lua index 242d83fa..3612a485 100755 --- a/install/resources/fs/config/scripts/pyfreebilling_dp.lua +++ b/install/resources/fs/config/scripts/pyfreebilling_dp.lua @@ -1056,7 +1056,7 @@ if (session:ready() == true) then log("No corresponding destnum sip account found for didout", "warning") else execute("set", "sip_h_X-PyFB-SIPAccountId=" .. dnsipcode["name"]) - myvarbridge = myvarbridge .. ",sip_account_id="..dnsipcode["name"] + myvarbridge = myvarbridge .. ",sip_account_id="..dnsipcode["trunk_id"] end end myvarbridge = myvarbridge .. ",nibble_increment="..rate["block_min_duration"]