MagicButton Install FAQ

Joined
Nov 2, 2007
Messages
498
Reaction score
0
Attendee's of the Open Telephony Training Seminar in SC were given access to a Lumenvox starter kit and the Magic Button from Schmoozecom.

This thread is about getting a PBXiaF system going with LumenVox and the Magic Button.

PLEASE KEEP THE DISCUSSION TECHNICAL... :)
 
Joined
Nov 2, 2007
Messages
498
Reaction score
0
So far so good...

So, with a bit of help from Ethan I was able to get the magic button working.

So, my steps were in order (on a 1.4.18 PBXiaF system):

1) Install the Cepstral Allison voice. ( $30)
2) Install LumenVox starter kit ($50)
3) Install Magic Button (Priceless)

Now a few caveats...

In the LumenVox installation notes there is a section on testing. I performed the 1st test and it came back positive and I moved on. It wasn't working and I really should have tried the second test...

Should you get stuck with the second test failing or (not...I don't know if it would have produced a false positive) this is what Ethan did to fix my install:

add the following entries to /etc/ld.so.conf:


/opt/lumenvox/engine/lib/
/opt/lumenvox/licenseserver/lib/

And then run ldconfig, service lvdaemon restart, amportal restart

After this the LumenVox engine was running :)

Also, at this time when you make changes in FreePBX extensions you also have to update the "Grammars" for voice rec by issuing the following command:

/usr/local/sbin/populate-grammars.php

I had to cp populate-grammars.php to /usr/local/sbin/ from the magic-button install directory because it did not appear to get there on it's own.

So, that is the report as of today.


 

The Deacon

Guru
Joined
Jan 29, 2008
Messages
296
Reaction score
14
I'm stuck...

I've got Lumenvox installed, but like you, I stopped after the first test thinking that "...it's working... let's go play with Magic Button..."

But mine isn't working either. Found your thread, but none of those additional steps helped.

I can call the extension, the dialplan answers, but hangs up 1 second later.

Here is the output from the test script:

Code:
Asterisk 1.4.20.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.20.1 currently running on dev_pbx (pid = 3498)
Verbosity is at least 3
    -- Executing [2345@from-internal:1] Goto("SIP/4001-0895de30", "lumenvox-test|s|1") in new stack
    -- Goto (lumenvox-test,s,1)
    -- Executing [s@lumenvox-test:1] Answer("SIP/4001-0895de30", "") in new stack
    -- Executing [s@lumenvox-test:2] Wait("SIP/4001-0895de30", "1") in new stack
    -- Executing [s@lumenvox-test:3] SpeechCreate("SIP/4001-0895de30", "") in new stack
    -- Executing [s@lumenvox-test:4] SpeechLoadGrammar("SIP/4001-0895de30", "yesno|/opt/lumenvox/engine/Lang/BuiltinGrammars/ABNFBoolean.gram") in new stack
  == Spawn extension (lumenvox-test, s, 4) exited non-zero on 'SIP/4001-0895de30'
dev_pbx*CLI>

Am I missing something?
 
Joined
Nov 2, 2007
Messages
498
Reaction score
0
I am no expert...

So here is a snippet from my box:

Code:
 -- Executing [*33@from-internal:1] NoOp("SIP/201-083e9ae8", "Running miscapp 4: Magic Button") in new stack
    -- Executing [*33@from-internal:2] Goto("SIP/201-083e9ae8", "custom-magic-button|s|1") in new stack
    -- Goto (custom-magic-button,s,1)
    -- Executing [s@custom-magic-button:1] Answer("SIP/201-083e9ae8", "") in new stack
    -- Executing [s@custom-magic-button:2] Macro("SIP/201-083e9ae8", "magic-button-listen") in new stack
    -- Executing [s@macro-magic-button-listen:1] Wait("SIP/201-083e9ae8", "1") in new stack
    -- Executing [s@macro-magic-button-listen:2] ExecIf("SIP/201-083e9ae8", "1|Macro|user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/201-083e9ae8", "user-callerid: device 201") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/201-083e9ae8", "AMPUSER=201") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/201-083e9ae8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/201-083e9ae8", "1|Set|REALCALLERIDNUM=201") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/201-083e9ae8", "REALCALLERIDNUM is 201") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/201-083e9ae8", "AMPUSER=201") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/201-083e9ae8", "AMPUSERCIDNAME=Legoe Bay") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/201-083e9ae8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/201-083e9ae8", "AMPUSERCID=201") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/201-083e9ae8", "CALLERID(all)="Legoe Bay" <201>") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/201-083e9ae8", "REALCALLERIDNUM=201") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/201-083e9ae8", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/201-083e9ae8", "TTL:  ARG1: ") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/201-083e9ae8", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("SIP/201-083e9ae8", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/201-083e9ae8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/201-083e9ae8", "Using CallerID "Legoe Bay" <201>") in new stack
    -- Executing [s@macro-magic-button-listen:3] ExecIf("SIP/201-083e9ae8", "1|Set|WHOAMI=201") in new stack
    -- Executing [s@macro-magic-button-listen:4] SpeechCreate("SIP/201-083e9ae8", "") in new stack
    -- Executing [s@macro-magic-button-listen:5] SpeechProcessingSound("SIP/201-083e9ae8", "processing") in new stack
    -- Executing [s@macro-magic-button-listen:6] SpeechLoadGrammar("SIP/201-083e9ae8", "magicbutton|/etc/asterisk/grammars/magicbutton.gram") in new stack
    -- Executing [s@macro-magic-button-listen:7] SpeechActivateGrammar("SIP/201-083e9ae8", "magicbutton") in new stack
    -- Executing [s@macro-magic-button-listen:8] AGI("SIP/201-083e9ae8", "SpeechLoadGrammarIfExists.php|/etc/asterisk/grammars/exchange201.gram") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/SpeechLoadGrammarIfExists.php
    -- AGI Script SpeechLoadGrammarIfExists.php completed, returning 0
    -- Executing [s@macro-magic-button-listen:9] GotoIf("SIP/201-083e9ae8", "1?Listen:LoadExtraGrammar") in new stack
    -- Goto (macro-magic-button-listen,s,12)
    -- Executing [s@macro-magic-button-listen:12] SpeechBackground("SIP/201-083e9ae8", "custom/magic-button/magic-button") in new stack
    -- Executing [s@macro-magic-button-listen:13] Set("SIP/201-083e9ae8", "RESULT=informational_weather") in new stack
This shows a working version as comparison.
 

The Deacon

Guru
Joined
Jan 29, 2008
Messages
296
Reaction score
14
Got it working...

The weird thing is that I can't just assume that it's running. I have to run safe_asterisk to get the Magic Button to work...

I'll have to dig into why later...

-Rick
 
Joined
Nov 2, 2007
Messages
498
Reaction score
0
I am having some odd errors on a fresh install

I decided to upgrade my magic button test system to 1.4.20.1 and it borked the MB. So, I made a fresh PiaF 1.2 install and to get LummenVox to install I had to:

Code:
wget http://test2.schmoozecom.com/js-1.60-1.el5.rf.i386.rpm
rpm -ivh js-1.60-1.el5.rf.i386.rpm

In the process I also upgraded to Allison 8KHz 5.10 and LummeVox 8.0-106.

Anyway, it don't work. I'll keep trying to figure it out. Along the way I lost CDR and update-fixes didn't help. Had to:

Code:
chown asterisk /var/lib/php/session

Fixed.

Also lost FreePBX along the way... DB error: extension not found...

checked all ld.so* files for proper config and did a ldconfig to bring back.

Cheers....
 
Joined
Nov 2, 2007
Messages
498
Reaction score
0
Fixed Magic Button install

For what ever reason I kept getting:

[Jul 3 06:46:35] ERROR[8432] res_speech_lumenvox.c: Failed to load grammar 'magicbutton': Syntax is not understandable

So, as a test I removed the grammers and got a "not found."

While I had reinstalled MB a few times, I hadn't removed the files prior.

Doing so got MB working again.

Naturally, Asterisk doesn't start on reboot... and the log are not talking... the fun never ends...
 

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
This died off - I am wondering what ever happened with the magic button beta program?
 

Members online

No members online now.

Forum statistics

Threads
25,838
Messages
167,931
Members
19,264
Latest member
lm2lm2
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top