MasterVitronic / fusionpbx

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

ring_group.lua problems #408

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We are randomly getting trackback problems with the ring_group.lua and our 
calls being unroutable.

Here is the error we are getting:

2013-04-25 15:46:46.049498 [ERR] mod_lua.cpp:102 
/usr/local/freeswitch/scripts/ring_group.lua:103: attempt to concatenate global 
'delimiter' (a nil value)
stack traceback:
        /usr/local/freeswitch/scripts/ring_group.lua:103: in function </usr/local/freeswitch/scripts/ring_group.lua:66>
        [C]: in function 'query'
        /usr/local/freeswitch/scripts/ring_group.lua:66: in main chunk
2013-04-25 15:46:46.049498 [ERR] mod_lua.cpp:198 
/usr/local/freeswitch/scripts/ring_group.lua:103: attempt to concatenate global 
'delimiter' (a nil value)
stack traceback:
        /usr/local/freeswitch/scripts/ring_group.lua:103: in function </usr/local/freeswitch/scripts/ring_group.lua:66>
        [C]: in function 'query'
        /usr/local/freeswitch/scripts/ring_group.lua:66: in main chunk
stack traceback:
        [C]: in function 'query'
        /usr/local/freeswitch/scripts/ring_group.lua:66: in main chunk

-------------

I checked the database and the ring group did have simultaneous set as the 
group_strategy so I have no clue whats going on.

As a work around I added:

delimiter = "";

before

if (row.ring_group_strategy == "sequence") then

to try the problem of it coming back as nil.

I dont know if its the correct fix or not as I just added it, but I will know 
more in a few hours.

Wish I knew why it was happening.

Original issue reported on code.google.com by chatwi...@gmail.com on 25 Apr 2013 at 8:03

GoogleCodeExporter commented 9 years ago
Are you using the stable trunk version of fusionpbx source or the dev branch?

Original comment by markjcrane@gmail.com on 25 Apr 2013 at 9:26

GoogleCodeExporter commented 9 years ago
We are using the stable trunk version

Original comment by chatwi...@gmail.com on 25 Apr 2013 at 9:34

GoogleCodeExporter commented 9 years ago
Need to be tested against FusionPBX 3.3.

Original comment by markjcrane@gmail.com on 29 Apr 2013 at 3:09

GoogleCodeExporter commented 9 years ago
Where can we find FusionPBX 3.3?
How can we update 3.2 to 3.3?

Original comment by joanjou....@gmail.com on 29 Apr 2013 at 11:03

GoogleCodeExporter commented 9 years ago
FusionPBX 3.3 will be released today.

Original comment by markjcrane@gmail.com on 2 May 2013 at 2:07

GoogleCodeExporter commented 9 years ago
Before upgrade to 3.3, no changes, problem remains.

Original comment by joanjou....@gmail.com on 4 May 2013 at 5:20

GoogleCodeExporter commented 9 years ago
Added a default delimiter = ","; which will prevent the error.

Original comment by markjcrane@gmail.com on 27 May 2013 at 3:09

GoogleCodeExporter commented 9 years ago
I got the same error and I found a quick fix. Edit you Ring group and change 
from Simultaneous ring to Sequence ring, save and do reverse operation, change 
from sequence to simultaneous ring and save.

Work for me

Jester_Qc

Original comment by synertic...@gmail.com on 3 Jul 2013 at 5:09

GoogleCodeExporter commented 9 years ago
I am getting the same issue except changing it from simul to seq and then back 
again does not work.  I tried Enterprise since I have internal extensions and 
external cell phones.

Original comment by harryha...@gmail.com on 5 Jan 2014 at 12:52