MasterVitronic / fusionpbx

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

Voicemail lua app broken in version 3.2 #368

Closed GoogleCodeExporter closed 9 years ago

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

Not sure if it will be reproduced on all systems but this is how I got to the 
issue:

1. Upgraded FusionPBX from 3.1.x to 3.2 (r3422 to r3739)
2. Upgraded Freeswitch from 1.0.6 to 1.2.6 by doing a clean install using 
sources from Git for 1.2.6 stable.
3. Setup and test ODBC connection
4. Dial *97 or *98 from a registered phone.

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

When I dial *97 I expect to get the prompt to enter my voicemail password but 
the call drops instead.  Here is the log from the CLI.

2013-01-31 06:23:17.449225 [WARNING] sofia_reg.c:1502 SIP auth challenge 
(INVITE) on sofia profile 'internal' for [*97@mypbx.mydomain.com] from ip <IP 
Address Masked>
2013-01-31 06:23:17.709166 [NOTICE] mod_dptools.c:1176 Channel 
[sofia/internal/1000@mypbx.mydomain.com] has been answered
2013-01-31 06:23:18.729159 [ERR] mod_lua.cpp:198 
...usr/local/freeswitch/scripts/app/voicemail/index.lua:116: bad argument #1 to 
'lower' (string expected, got nil)
stack traceback:
    [C]: in function 'lower'
    ...usr/local/freeswitch/scripts/app/voicemail/index.lua:116: in main chunk
    [C]: in function 'dofile'
    /usr/local/freeswitch/scripts/app.lua:48: in main chunk
2013-01-31 06:23:18.729159 [NOTICE] switch_core_state_machine.c:262 
sofia/internal/1000@mypbx.mydomain.com has executed the last dialplan 
instruction, hanging up.
2013-01-31 06:23:18.729159 [NOTICE] switch_core_state_machine.c:264 Hangup 
sofia/internal/1000@mypbx.mydomain.com [CS_EXECUTE] [NORMAL_CLEARING]
2013-01-31 06:23:18.769204 [NOTICE] switch_core_session.c:1506 Session 31 
(sofia/internal/1000@mypbx.mydomain.com) Ended
2013-01-31 06:23:18.769204 [NOTICE] switch_core_session.c:1510 Close Channel 
sofia/internal/1000@mypbx.mydomain.com [CS_DESTROY]

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

FusionPBX v3.2 r3739
FreeSWITCH Version 1.2.6+git~20130104T154559Z~a4247651ca (git a424765 
2013-01-04 15:45:59Z)
Debian v6.0.6 64-bit

Please provide any additional information below.
System has been configured for ODBC.
DB used is Postgres

Hope I have provided enough detail.

Original issue reported on code.google.com by ewsamu...@gmail.com on 31 Jan 2013 at 12:37

GoogleCodeExporter commented 9 years ago
Fixed please run svn update from the fusionpbx directory then save one of the 
extensions. Test to verify it is working.

Original comment by markjcrane@gmail.com on 1 Feb 2013 at 4:45

GoogleCodeExporter commented 9 years ago
Since the issue is fixed and there are no new comments closing the issue.

Original comment by markjcrane@gmail.com on 2 Feb 2013 at 5:01

GoogleCodeExporter commented 9 years ago
I am having same problem. I tried svn update but it didn't help me.

Original comment by gadle.ar...@gmail.com on 23 Apr 2013 at 2:03

GoogleCodeExporter commented 9 years ago
What is your freeswitch version? latest freeswitch version needs the dev branch.

Original comment by nysoluti...@gmail.com on 23 Apr 2013 at 2:15