[ASTPPCOM-137] LUA script parse/execute error ​IF "Force Caller Id" set to Enable (yes) Created: 21/Oct/16  Updated: 01/Apr/21  Resolved: 01/Apr/21

Status: Closed
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: celosam Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi, I was instructed to report this issue here.

​IF > Force Caller Id > Enable (yes)

fs_cli shows:

_2016-10-21 10:52:57.783004 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT * FROM accounts_callerid WHERE accountid = 4 AND status=0 LIMIT 1
2016-10-21 10:52:57.783004 [ERR] mod_lua.cpp:203 /usr/local/freeswitch/scripts/astpp/scripts/astpp.xml.lua:247: attempt to concatenate field 'cid_name' (a nil value)
stack traceback:
/usr/local/freeswitch/scripts/astpp/scripts/astpp.xml.lua:247: in function 'freeswitch_xml_callerid'
...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:376: in main chunk
[C]: in function 'dofile'
/usr/local/freeswitch/scripts/astpp/astpp.lua:76: in main chunk
2016-10-21 10:52:57.783004 [ERR] mod_lua.cpp:270 LUA script parse/execute error!_

Thanks.



 Comments   
Comment by stopro (Inactive) [ 22/Oct/16 ]

ASTPPCOM-120

Comment by celosam [ 03/Nov/16 ]

Samir, thank you very much!

Generated at Sat Feb 10 07:14:28 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.