Re: [Asterisk-Users] CDRs, Conferencing, and MeetMe

2004-06-28 Thread Jeff Workman
O
--On Wednesday, June 23, 2004 4:26 PM -0400 Roger Gulbranson 
<[EMAIL PROTECTED]> wrote:

On Wed, 2004-06-23 at 15:39, Jeff Workman wrote:
We are developing an on-demand teleconferencing solution.  We will be
billing per-minute/per-user.
I've successfully gotten Asterisk to write CDR data to a postgres
database,  but with the way I've got things setup right now the CDR does
not have the  dialed conference number. We need this information in
order to be able to  bill.
As teleconferencing is the only application of the Asterisk box, I have
the  dialplan setup to immediately launch into the MeetMe application
and prompt  the user for conference number/PIN upon answering.  It
appears that the  MeetMe module isn't interested in passing the
conference number back to  Asterisk when the user disconnects so that
Asterisk can include that  information in the CDR.
Any suggestions on how to do this?
Use Read() to collect conference number.  Invoke MeetMe() with said
number.  Use as well for CDR.
k, this works. However, I'm having difficulty with getting asterisk to 
properly handle a user inputting an invalid conference number.  My 
extensions look like this:

exten => s,1,BackGround(conf-getconfno)
exten => s,2,Read(CONF)
exten => s,3,AbsoluteTimeout(7200)
exten => s,4,MeetMe(${CONF})
exten => s,5,Goto(s,2)
exten => s,6,Hangup()
exten => T,1,Hangup()
s,5 never executes because MeetMe exits non-zero whenever somebody dials an 
invalid conference number.  How do I work around this?

-J
--
Jeff Workman | [EMAIL PROTECTED] | http://www.pimpworks.org
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] CDRs, Conferencing, and MeetMe

2004-06-23 Thread Jeff Workman
We are developing an on-demand teleconferencing solution.  We will be 
billing per-minute/per-user.

I've successfully gotten Asterisk to write CDR data to a postgres database, 
but with the way I've got things setup right now the CDR does not have the 
dialed conference number. We need this information in order to be able to 
bill.

As teleconferencing is the only application of the Asterisk box, I have the 
dialplan setup to immediately launch into the MeetMe application and prompt 
the user for conference number/PIN upon answering.  It appears that the 
MeetMe module isn't interested in passing the conference number back to 
Asterisk when the user disconnects so that Asterisk can include that 
information in the CDR.

Any suggestions on how to do this?
-J
--
Jeff Workman | [EMAIL PROTECTED] | http://www.pimpworks.org
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Festival problems

2004-04-23 Thread Jeff Workman


--On Friday, April 23, 2004 5:13 PM -0600 Rich Adamson 
<[EMAIL PROTECTED]> wrote:


My /etc/asterisk/festival.conf looks like this:
My conf looks the same.

My extension looks like this:

exten => 603,1,Answer()
exten => 603,2,Festival('this is a test testing 1 2 3')
Try syntax like the following (this works):
exten => 3913,2,Festival(mary had a little lamb)
I tried it without the quotes as well, same thing.

Be sure you start Festival "before" starting *.
Did that as well.  Not sure what the problem is.

-J



--
Jeff Workman | [EMAIL PROTECTED] | http://www.pimpworks.org
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Festival problems

2004-04-23 Thread Jeff Workman
After patching and installing Festival, I am unable to get it to do 
anything useful. I get the following error message on the * console when I 
dial the test extension:

Parsing '/etc/asterisk/festival.conf': Found
Apr 23 13:43:06 WARNING[1226062640]: app_festival.c:382 festival_exec: 
Strings do not match

My /etc/asterisk/festival.conf looks like this:

[general]
host=localhost
port=1314
usecache=yes
cachedir=/var/lib/asterisk/festivalcache/
festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n
If it helps, I just tried turning usecache off and I didn't get an error on 
the console, but still no speech.

My extension looks like this:

exten => 603,1,Answer()
exten => 603,2,Festival('this is a test testing 1 2 3')
exten => 603,3,Wait(2)
exten => 603,4,Goto(s,6)
The Goto never gets executed either.

The festival_server.log is showing that the server is accepting the 
connection.

Any ideas?

-J

--
Jeff Workman | [EMAIL PROTECTED] | http://www.pimpworks.org
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users