Hello-- What I'd like to do: Use IAX softphones running on computers, in Auto-answer mode, with sound going to speakers, as a sort of public announcement system. What isn't working: Well, my first experiment was to set up the MeetMe system described on the Wiki... This works fine for voice announcements. You pick up a phone, dial the right extension, and an agi is fired up to put files in the call spool to call the autoanswer extensions, simultaneously as it were, and all are entered into the same conference. The caller is the admin. You speak, they hear. It works fine. I changed the "kicked" gsm to a beep, as the conference is terminated by kicking everyone off, and it is kinda comical to end an announcement with "You are kicked from the conference" message at the end... But, I need to play automated announcements. So, I whipped together an agi to generate the sounds in the right sequence. But, how do I link it to a conference? Since they are not ZAP channels, the softphones don't seem to be able to handle the background agi option (the Meetme 'b' option), which would have been a potential way to play the sounds to the conference. I tried a Meetme call inside the agi. It kinda hangs-- You can be in a conf, but you can't play sounds to it until it ends... that won't work! Thought about firing an AGI to call each softphone and dump the sequenced list of sounds, but it would take a while to run serially thru the list of phones to announce. This is unacceptable. It's all at once, or it's useless. Anyone have any ideas? I'm running short on them at the moment. Seems asterisk is powerful enough to do anything... but this? murf -- Steve Murphy <murf@e-tools.com> Electronic Tools Company
On Sat, 1 Jan 2005, Steve Murphy wrote:> What I'd like to do: > Use IAX softphones running on computers, in Auto-answer mode, with sound > going to speakers, as a sort of public announcement system. > > What isn't working: > Well, my first experiment was to set up the MeetMe system described on > the Wiki... > This works fine for voice announcements. You pick up a phone, dial the > right extension, and an agi is fired up to put files in the call spool > to call the autoanswer extensions, simultaneously as it were, and all > are entered into the same conference. The caller is the admin. You > speak, they hear. It works fine. I changed the "kicked" gsm to a beep, > as the conference is terminated by kicking everyone off, and it > is kinda comical to end an announcement with "You are kicked from the > conference" message at the end... > > But, I need to play automated announcements. So, I whipped together > an agi to generate the sounds in the right sequence. But, how do I > link it to a conference? Since they are not ZAP channels, the softphones > don't seem to be able to handle the background agi option (the Meetme > 'b' option), which would have been a potential way to play the sounds to > the conference.I think the "local" channel may work out for you. See http://www.voip-info.org/wiki-Asterisk+Local+channels Point the "local" channel to a context/extension that automatically joins the meetme as the admin. The context in the call file is then free to play sounds etc as if the meetme conference was a regular channel. Peter
Hi, I wonder if you're willing to share your setup with autoanswer mode... Regards, Rob. ----- Original Message ----- From: "Steve Murphy" <murf@e-tools.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, January 02, 2005 7:50 AM Subject: [Asterisk-Users] Announcements via IAX phones> Hello-- > > What I'd like to do: > Use IAX softphones running on computers, in Auto-answer mode, with sound > going to speakers, as a sort of public announcement system. > > What isn't working: > Well, my first experiment was to set up the MeetMe system described on > the Wiki... > This works fine for voice announcements. You pick up a phone, dial the > right extension, and an agi is fired up to put files in the call spool > to call the autoanswer extensions, simultaneously as it were, and all > are entered into the same conference. The caller is the admin. You > speak, they hear. It works fine. I changed the "kicked" gsm to a beep, > as the conference is terminated by kicking everyone off, and it > is kinda comical to end an announcement with "You are kicked from the > conference" message at the end... > > But, I need to play automated announcements. So, I whipped together > an agi to generate the sounds in the right sequence. But, how do I > link it to a conference? Since they are not ZAP channels, the softphones > don't seem to be able to handle the background agi option (the Meetme > 'b' option), which would have been a potential way to play the sounds to > the conference. > > I tried a Meetme call inside the agi. It kinda hangs-- You can be in a > conf, but you can't play sounds to it until it ends... that won't work! > > Thought about firing an AGI to call each softphone and dump the > sequenced list of sounds, but it would take a while to run serially thru > the list of phones to announce. This is unacceptable. It's all at once, > or it's useless. > > Anyone have any ideas? I'm running short on them at the moment. > > Seems asterisk is powerful enough to do anything... but this? > > murf > > > -- > Steve Murphy <murf@e-tools.com> > Electronic Tools Company > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
> Hi, > > I wonder if you're willing to share your setup with autoanswer mode... > > Regards, > > Rob.No problem! Refer to: http://www.voip-info.org/tiki-index.php?page=Asterisk+WhoIsIt Also note that not all softphone (or even hardphones) have auto-answer capability. The two free softphones that do have this feature, are the IAXphone from Steven Sokol, and the DIAX softphone (whose new version was just recently announced on this mailing list). The X-lite SIP softphone has mention of it, but it appears this is a feature that is reserved for the "pay-for" version. I explain it fairly much in the WhoIsIt-1.1.tar.gz tarball you can download from the Wiki. It takes a bit of glue, but I've got it working fairly reliably at my site, announcing who incoming calls are from via the softphones scattered about the house on PC's. You can adapt the code to do other kinds of generated announcements, of course. murf -- Steve Murphy <murf@wyoming.e-tools.com>