Hi there, I am having a problem using festival inside of an agi. When I use it from Extensions the voice quality is perfect (or as good as it gets). When I use it from an agi the quality is choppy and incomplete. Also when used from an agi the task keeps running after I hang up using all the remaining cpu. Here are code samples from my extensions.conf and from the agi code (written in C). Anyone that has any suggestions, it would be much appreciated. Snippet using festival inside extensions: exten => s,1,Answer exten => s,2,Wait(1) exten => s,3,Festival(This is a test|#) exten => s,4,Wait(1) exten => s,5,Hangup ----------------------------------- Snippet using festival inside an api: (line in extensions) exten => 4047952650,1,agi,agi-c.o (lines in agi-c.c) resultcode = agisend("GET DATA DigitranGreeting 5000 4"); // (this works fine) agisend("EXEC Festival \",Record,Greeting,message|#\""); // (this is choppy and incomplete) agisend("RECORD FILE DigitranGreeting gsm # -1 beep"); // (this works fine) --------------------------------------- Thanks! --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 2/4/2004
One additional piece of information: When I hang up, I see the following message on my asterisk console Feb 21 19:09:16 NOTICE[1209277232]: chan_iax2.c:1963 iax2_read: I should never be called! Should I be posting this soft of thing here or in another list? Thanks again. ----- Original Message ----- From: "Tom Knox" <tom@knox.ws> To: <asterisk-users@lists.digium.com> Sent: Saturday, February 21, 2004 7:09 PM Subject: Using Festival inside an agi> Hi there, > > I am having a problem using festival inside of an agi. When I use it from > Extensions the voice quality is perfect (or as good as it gets). When Iuse> it from an agi the quality is choppy and incomplete. Also when used froman> agi the task keeps running after I hang up using all the remaining cpu. > Here are code samples from my extensions.conf and from the agi code(written> in C). Anyone that has any suggestions, it would be much appreciated. > > Snippet using festival inside extensions: > exten => s,1,Answer > exten => s,2,Wait(1) > exten => s,3,Festival(This is a test|#) > exten => s,4,Wait(1) > exten => s,5,Hangup > > ----------------------------------- > Snippet using festival inside an api: > (line in extensions) > exten => 4047952650,1,agi,agi-c.o > (lines in agi-c.c) > resultcode = agisend("GET DATA DigitranGreeting 5000 4"); // (this works > fine) > agisend("EXEC Festival \",Record,Greeting,message|#\""); // (this ischoppy> and incomplete) > agisend("RECORD FILE DigitranGreeting gsm # -1 beep"); // (this worksfine)> --------------------------------------- > > Thanks! > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/4/2004 >--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 2/4/2004
<html><head><meta name="Generator" content="PocoMail 3 HTML/CSS Generator"/> <style type="text/css"><!-- LI{display:list-item;margin:0.00in;} p{display:block;margin:0.00in;} body{} --></style> </head><BODY ><p><SPAN style="font-size:10pt;">Hi,</SPAN></p> <p> </p> <p><SPAN style="font-size:10pt;">Did GrandStream Voip-phone and HT-286 Analog adapter talk using GSM 6.01 Codec ??</SPAN></p> <p> </p> <p><SPAN style="font-size:10pt;">In tests using asterisk this codec it's the best for my kind of connection, did both Hardwares use this</SPAN></p> <p><SPAN style="font-size:10pt;">codec to talk ?</SPAN></p> <p> </p> <p><SPAN style="font-size:10pt;">In page they don't mention this.</SPAN></p> <p> </p> <p><SPAN style="font-size:10pt;">Thanks alot.</SPAN></p> <p> </p> <p><SPAN style="font-size:10pt;">Ps. ILBC ?? Talk too ??</SPAN></p> <p> </p> <p><SPAN style="font-size:10pt;">Thanks</SPAN></p> <p> </p> </body></html>
What is the best or simplest method to connect 4 fax machines into a * system? Fax -> ATA-186 -> Switch -> * Server -> VoIP or PSTN Fax -> * Fax Server with TDM 400P -> Switch -> * Server -> VoIP or PSTN Would like a dedicated # on the T1 to do direct to the fax machine. Would love your comments? Thanks in advance Barry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040222/e55f1cc4/attachment.htm
There is no support in Asterisk for FoIP. You might use alaw or ulaw g.711 if youre on the same LAN as your *. Otherwise its best effort transmission and not really reliable.... Regards, Dave -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Barry Fawthrop Sent: Sunday, February 22, 2004 4:10 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Asterisk Faxing What is the best or simplest method to connect 4 fax machines into a * system? Fax -> ATA-186 -> Switch -> * Server -> VoIP or PSTN Fax -> * Fax Server with TDM 400P -> Switch -> * Server -> VoIP or PSTN Would like a dedicated # on the T1 to do direct to the fax machine. Would love your comments? Thanks in advance Barry