MailCall for Asterisk 1.4 Ready for Testing

before when i was trying to get it to connect to gmail and before i got it working, i had cepstal working.
now Im using a vm image now i wonder if it's related.
 
Voice?

I have installed this application and like all of Ward's applications it worked first time, I would like to know if anyone knows the proper steps to upgrading the voice or quality of voice for this application. I see where others had problems so I thought I would ask, the last fix was NVM - got it to work ...?
 
before when i was trying to get it to connect to gmail and before i got it working, i had cepstal working.
now Im using a vm image now i wonder if it's related.

There are 4 different Cepstral install procedures depending upon the version of Asterisk you're using and whether you're running with the 32-bit or 64-bit kernel. Just be sure you choose the right one, and Cepstral works fine on both stand-alone and virtual machines. See the tutorial.
 
Let Me try and make things clear, because my problem is not at all related to installing Cepstral or Swift.

I have swift and cepstral installed as per wards instructions also swift too,
These have been working for a few month's now without fault i have many ivr's using cepstral so it's working fine.

Now the default code in mailcall uses flite as seen here
Code:
exten => 6245,1,Answer
exten => 6245,2,Wait(1)
exten => 6245,3,Set(TIMEOUT(digit)=7)
exten => 6245,4,Set(TIMEOUT(response)=4)
exten => 6245,5,Flite("At the beep enter your e-mail password.")
;exten => 6245,5,Swift ("At the beep enter your e-mail password.")
exten => 6245,6,Read(PWCODE,beep,6)
exten => 6245,7,Flite("Please hold a moment.")
;exten => 6245,7,Swift("Please hold a moment.")
exten => 6245,8,AGI(nv-mailcall.php,${PWCODE})
exten => 6245,9,Flite("Thank you for calling. Good bye.")
;exten => 6245,9,Swift("Thank you for calling. Good bye.")
exten => 6245,10,Hangup
now if i comment out all the entries for Flite and uncomment all the entries for Swift like so
Code:
exten => 6245,1,Answer
exten => 6245,2,Wait(1)
exten => 6245,3,Set(TIMEOUT(digit)=7)
exten => 6245,4,Set(TIMEOUT(response)=4)
;exten => 6245,5,Flite("At the beep enter your e-mail password.")
exten => 6245,5,Swift ("At the beep enter your e-mail password.")
exten => 6245,6,Read(PWCODE,beep,6)
;exten => 6245,7,Flite("Please hold a moment.")
exten => 6245,7,Swift("Please hold a moment.")
exten => 6245,8,AGI(nv-mailcall.php,${PWCODE})
;exten => 6245,9,Flite("Thank you for calling. Good bye.")
exten => 6245,9,Swift("Thank you for calling. Good bye.")
exten => 6245,10,Hangup
I would have thought i would hear Allison's voice and not the flite voice when dialing in for my emails.

Is this correct because this is not what im seeing.
As soon as i uncomment the swift entires and comment out the flite entries the whole mail call app stops working and hang's up the call.
 
Ah. Bet you forgot to change the setting in /var/lib/asterisk/agi-bin/nv-mailcall.php.
 
thanks
Ah. Bet you forgot to change the setting in /var/lib/asterisk/agi-bin/nv-mailcall.php.
Hmm i bet i did too, lets have a look.

Are these the lines to which you refer ward
Code:
#!/usr/bin/php -q
<?
 ob_implicit_flush(false);
 error_reporting(0);
 set_time_limit(300);
 [B]$ttsengine[0] = "flite"[/B] ;
 [B]$ttsengine[1] = "swift"[/B] ;
those seem to be correctly set to me, is there any other lines in here that need to be changed ?
 
Come on, SirColin:

ob_implicit_flush(false);
error_reporting(0);
set_time_limit(300);
$ttsengine[0] = "flite" ;
$ttsengine[1] = "swift" ;

//-------- DON'T CHANGE ANYTHING ABOVE THIS LINE ----------------

$debug = 1;
$newlogeachdebug = 1;
$emaildebuglog = 0;
$email = "yourname@yourdomain" ;
$ttspick = 0 ;

//-------- DON'T CHANGE ANYTHING BELOW THIS LINE ----------------
 
I should have spotted that.

I have made the changes suggested and now

My problems seems to be not getting sound from cepstral, the script is running fine i can see it from the asterisk cli.

if i run
Code:
asterisk -rx "core show application swift"
I get
Code:
Your application(s) is (are) not registered
if i type swift i get lots of useful output.

is the fact swift is not registered with asterisk the reason im getting no sound.

im running Version 1.4 - 64 bit (proxmox)
 
You either installed the wrong version or you forgot to execute the ln command.
 
It was a while since i installed this pbx but as i remember make failed with app-swift so i put it on the back burner until i had time.
i have been using this without swift installed it seems.

so following these instructions
Code:
[B]Asterisk 1.4 Install.[/B] To install apt-swift on your [I]PBX in a Flash[/I]/Asterisk 1.4 system:

cd /usr/src
wget http://pbxinaflash.net/source/app_swift/app_swift-1.4.2.tar.gz
tar -zxvf app_swift*
rm *.gz
cd app_swift-1.4.2
make
make install
When i enter the make command i get these errors

http://mythbuntu.pastebin.com/9mFpF2Aw

is this this right post to follow is there anything else i need to know about compiling this on the pbxiaf64 image.

thanks
 
Google Searches are still free
Yes google are good like that, i have done many searches regarding this before posting here!

Have you tried reading the article about this

I thought that you would have seen these are your own instructions regarding installing app-swift, from that very article to which you refer.

I have followed and installed cepstral from that article, right upto the make command for swift which as i said fails, i will read it again anyways.
 
Solved

I now have Cepstral working on my VM as expected, in fact Cepstral was always working with text to speech using the Wav's files.
I thought i had checked that swift was installed by typing swift at the command line which did give me some information about swift, and i assumed it was installed on asterisk.
But when i run
Code:
asterisk -rx "core show application swift"
I got nothing.

So after wards advice i then checked the swift version in /usr/src and found app_swift-0.9.1 the wrong version of swift was installed by the looks of things, and it was not registered with asterisk as it was the wrong version.

i installed the correct version as per wards instructions and checked the rest of the code for any errors and now have it working well.

Thanks to Ward and Joe for their help once again.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
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.
Back
Top