MasterVitronic / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Hunt Groups error #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Hunt Groups Give following error when trying to 
2013-03-23 01:54:07.696536 [ERR] mod_lua.cpp:198 
...reeswitch/scripts/v_huntgroup_88.213.204.24_7002.lua:50: attempt to 
concatenate global 'caller_id_number' (a nil value)
stack traceback:
        ...reeswitch/scripts/v_huntgroup_XXX.xxx.xxx.xxx_7002.lua:50: in main chunk

What version of the product are you using? On what operating system?
fusionpbx revision 3834 - Linux  2.6.32

when dial extension from inside  is working 

Original issue reported on code.google.com by zulu...@gmail.com on 22 Mar 2013 at 10:02

GoogleCodeExporter commented 9 years ago
Fix was to edit 
caller_id_name = session:getVariable("effective_caller_id_name");
caller_id_number = session:getVariable("effective_caller_id_number");

to (remove effective_)
caller_id_name = session:getVariable("caller_id_name");
caller_id_number = session:getVariable("caller_id_number");

Issue is after each change using fusion script returns to 

caller_id_name = session:getVariable("effective_caller_id_name");
caller_id_number = session:getVariable("effective_caller_id_number");

Is there some other setting that is causing it to set it to 
caller_id_name = session:getVariable("effective_caller_id_name");
caller_id_number = session:getVariable("effective_caller_id_number"); 
when a new hunt group is created? 

Original comment by jef...@jeffik.biz on 23 Mar 2013 at 4:51

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by markjcrane@gmail.com on 25 Mar 2013 at 6:18