karlma / fusionpbx

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

DB field missing #983

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. update system folowing the instruction from the wiki.
2. call to a ring_group

2015-06-09 13:53:01.532717 [DEBUG] freeswitch_lua.cpp:360 DBH handle 
0x7f9714089050 Connected.
2015-06-09 13:53:01.572687 [ERR] switch_core_sqldb.c:1183 ERR: [                
                SELECT 
                                                r.ring_group_strategy, r.ring_group_timeout_app, r.ring_group_distinctive_ring, 
                                                d.destination_number, d.destination_delay, d.destination_timeout, d.destination_prompt, 
                                                r.ring_group_timeout_data, r.ring_group_cid_name_prefix, r.ring_group_cid_number_prefix, r.ring_group_ringback, r.ring_group_skip_active
                                FROM 
                                                v_ring_groups as r, v_ring_group_destinations as d
                                WHERE 
                                                d.ring_group_uuid = r.ring_group_uuid 
                                                AND d.ring_group_uuid = '2ccc377e-acfb-4d1a-a5db-3bdf4df5be42' 
                                                AND r.domain_uuid = '038deaef-abe7-4542-9b32-6ef5e834fe31' 
                                                AND r.ring_group_enabled = 'true' 
                                ORDER BY 
                                                d.destination_delay, d.destination_number asc 
                                ]
[STATE: 42S22 CODE 1054 ERROR: [unixODBC][MySQL][ODBC 5.1 
Driver][mysqld-5.1.73]Unknown column 'r.ring_group_distinctive_ring' in 'field 
list'
]
2015-06-09 13:53:01.572687 [ERR] freeswitch_lua.cpp:446 DBH NOT Connected.
2015-06-09 13:53:01.572687 [ERR] mod_lua.cpp:203 
/usr/local/freeswitch/scripts/app/ring_groups/index.lua:141: assertion failed!
stack traceback:
        [C]: in function 'assert'
        /usr/local/freeswitch/scripts/app/ring_groups/index.lua:141: in main chunk
        /usr/local/freeswitch/scripts/app.lua:50: in main chunk
2015-06-09 13:53:01.572687 [DEBUG] freeswitch_lua.cpp:377 DBH handle 
0x7f9714089050 released.

What is the expected output? What do you see instead?

to update without that kind of problem ;)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Im not sure im using the stable version?
its a bit confusing to know what im svning to? 
im at revision 8655.

thanks

Original issue reported on code.google.com by unjohnco...@gmail.com on 9 Jun 2015 at 7:40

GoogleCodeExporter commented 9 years ago
You are not on stable as distinctive ring on ring groups was just added to dev 
branch yesterday.

Original comment by nysoluti...@gmail.com on 9 Jun 2015 at 7:45