Uploaded image for project: 'ASTPP Community'
  1. ASTPP Community
  2. ASTPPCOM-137

LUA script parse/execute error ​IF "Force Caller Id" set to Enable (yes)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            celosam celosam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: