xTide for Asterisk Ready for Prime Time

sorry Just a typo...

I have even erased everything from xtide.conf in etc/asterisk (its all blank)

And still get the report from pawleys...

Update......


After a few hours the system gave the report for... "blank" (I was just able to hear allison but no report was given)
Si I guess, the program runs once a day and checks xtide.conf just once a day, I will wait and see if tomorrow I get the correct location.
Unless there is a way to force it to check xtide.conf
 
That was the hint I needed. It's a permissions problem with the tmp files, I think. It couldn't delete the tmp files for the pawleys location while running as user asterisk.

Log in as root. First check the /tmp folder permissions: ls -all /. For the tmp directory, it should say: drwxrwxrwt. If not, change the permissions on this folder: chmod 1777 /tmp. Now cd /tmp and delete xtide.* and pawleys.*. If there are files for your new location, delete both the .txt and .wav files for that location, too. Then all should be well. Report back so we'll all know. ;)
 
The permissions for temp are 1777 (did not have to change them), I erased all files, and now I just get a busy tone, and the only new file created is xtide.txt and is empty.:confused5:

In case it helps....

[Jul 22 09:39:08] VERBOSE[6963] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Jul 22 09:39:26] WARNING[2774] rtp.c: Unable to set TOS to 184
[Jul 22 09:39:26] VERBOSE[6968] logger.c: -- Executing [8433@from-internal:1] Answer("SIP/200-09a93f80", "") in new stack
[Jul 22 09:39:26] VERBOSE[6968] logger.c: -- Executing [8433@from-internal:2] Wait("SIP/200-09a93f80", "1") in new stack
[Jul 22 09:39:27] VERBOSE[6968] logger.c: -- Executing [8433@from-internal:3] System("SIP/200-09a93f80", "/var/lib/asterisk/agi-bin/xtide") in new stack
[Jul 22 09:39:27] VERBOSE[6968] logger.c: -- Executing [8433@from-internal:4] Playback("SIP/200-09a93f80", "/tmp/xtide") in new stack
[Jul 22 09:39:27] WARNING[6968] file.c: File /tmp/xtide does not exist in any format
[Jul 22 09:39:27] WARNING[6968] file.c: Unable to open /tmp/xtide (format 0x4 (ulaw)): No such file or directory
[Jul 22 09:39:27] WARNING[6968] app_playback.c: ast_streamfile failed on SIP/200-09a93f80 for /tmp/xtide
[Jul 22 09:39:27] VERBOSE[6968] logger.c: -- Executing [8433@from-internal:5] Wait("SIP/200-09a93f80", "1") in new stack
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [8433@from-internal:6] Hangup("SIP/200-09a93f80", "") in new stack
[Jul 22 09:39:28] VERBOSE[6968] logger.c: == Spawn extension (from-internal, 8433, 6) exited non-zero on 'SIP/200-09a93f80'
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [h@from-internal:1] Macro("SIP/200-09a93f80", "hangupcall") in new stack
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/200-09a93f80", "w") in new stack
[Jul 22 09:39:28] DEBUG[6968] app_macro.c: Executed application: ResetCDR
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [s@macro-hangupcall:2] NoCDR("SIP/200-09a93f80", "") in new stack
[Jul 22 09:39:28] DEBUG[6968] app_macro.c: Executed application: NoCDR
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/200-09a93f80", "1?skiprg") in new stack
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Goto (macro-hangupcall,s,6)
[Jul 22 09:39:28] DEBUG[6968] app_macro.c: Executed application: GotoIf
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [s@macro-hangupcall:6] GotoIf("SIP/200-09a93f80", "1?skipblkvm") in new stack
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Goto (macro-hangupcall,s,9)
[Jul 22 09:39:28] DEBUG[6968] app_macro.c: Executed application: GotoIf
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [s@macro-hangupcall:9] GotoIf("SIP/200-09a93f80", "1?theend") in new stack
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Goto (macro-hangupcall,s,11)
[Jul 22 09:39:28] DEBUG[6968] app_macro.c: Executed application: GotoIf
[Jul 22 09:39:28] VERBOSE[6968] logger.c: -- Executing [s@macro-hangupcall:11] Hangup("SIP/200-09a93f80", "") in new stack
[Jul 22 09:39:28] VERBOSE[6968] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-09a93f80' in macro 'hangupcall'
[Jul 22 09:39:28] VERBOSE[6968] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-09a93f80'
[Jul 22 09:39:38] VERBOSE[6973] logger.c: == Parsing '/etc/asterisk/manager.conf': [Jul 22 09:39:38] VERBOSE[6973] logger.c: Found
[Jul 22 09:39:38] VERBOSE[6973] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Jul 22 09:39:38] VERBOSE[6973] logger.c: Found
[Jul 22 09:39:38] VERBOSE[6973] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Jul 22 09:39:38] VERBOSE[6973] logger.c: Found
[Jul 22 09:39:38] VERBOSE[6973] logger.c: == Manager 'admin' logged on from 127.0.0.1
 
Are you sure you followed the installation instructions? It appears that your text-to-speech wav file is not being generated. Either you don't have Flite or Cepstral installed, or you're using the wrong one. In the /var/lib/asterisk/agi-bin folder, you should find:
xtide
xtide.cepstral
xtide.flite

Each should have the following permissions:
-rwxrwxr-x 1 asterisk asterisk 1310 Jun 14 16:46 xtide
-rwxrwxr-x 1 asterisk asterisk 1310 Jun 14 16:48 xtide.cepstral
-rwxrwxr-x 1 asterisk asterisk 1310 Jun 14 16:48 xtide.flite

Copy either the .cepstral or .flite file to xtide depending upon which TTS engine you are using.

Is this a PBX in a Flash system on which you are doing the install? :confused5:
 
Yes is PBXiaf, and I just found out that is a problem with this location.
If I change to Boston or other location works fine, its just when I put

"Edgewater, South River, Chesapeake Bay, Maryland"

Does not work....

Now, if I go to the console and do root@pbx:~ $ tide -l "Edgewater, South River, Chesapeake Bay, Maryland"

works fine....

The problem is that If I just input "edgewater" it gives me the tides for

Edgewater, Hudson River, New Jersey

Instead of..

Edgewater, South River, Chesapeake Bay, Maryland
 
Try replacing the xtide, xtide.cepstral, and xtide.flite files in /var/lib/asterisk/agi-bin with the files in the attached zip file. Be sure to copy whichever TTS engine file you use to xtide unless your default is Flite. Let me know how it goes.
 

Attachments

Thanks!!!
That did the trick !!!

I did not understood what I needed to do to Keep cepstral.
Be sure to copy whichever TTS engine file you use to xtide unless your default is Flite

Its working now, but not with Allison's voice...
 
To use Cepstral instead of Flite:

cd /var/lib/asterisk/agi-bin
cp xtide.cepstral xtide
 
Woow that was quick.
And as usual, the help and support is incredible....
Thanks again,
 
Install on 64 bit 1.4 asterisk

I tried to install Xtide but got this error.
warning: xtide-2.9.4-3.fc6.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1ac70ce6
error: Failed dependencies:
libXaw.so.7 is needed by xtide-2.9.4-3.fc6.i386
libXmu.so.6 is needed by xtide-2.9.4-3.fc6.i386
libXpm.so.4 is needed by xtide-2.9.4-3.fc6.i386

Is there a way to get these working? Where would I go to get these on a 64 bit PIAF
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
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