[Asterisk-Users] CDRs, Conferencing, and MeetMe

Roger Gulbranson roger at gulbranson.com
Mon Jun 28 11:26:56 MST 2004


On Mon, 2004-06-28 at 12:57, Jeff Workman wrote:
> O
> 
> --On Wednesday, June 23, 2004 4:26 PM -0400 Roger Gulbranson 
> <roger at gulbranson.com> 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?

My first temptation is to create an app called MeetMeExists to check for
the existence of a conference.

It would be pretty easy to hack the MeetMeCount code to do this.





More information about the asterisk-users mailing list