[asterisk-users] How to implement Ringing through a sound card for overhead paging
Robert Augustyn
robert.augustyn at comtrexinc.com
Mon Oct 6 11:01:00 CDT 2008
Doug,
That is interesting concept.
How do you add this to a ring group and does it stop when an extension is
picked up?
Thank you very much.
robert
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Doug Lytle
> Sent: Monday, October 06, 2008 10:34 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] How to implement Ringing
> through a sound card for overhead paging
>
> Robert Augustyn wrote:
> > Hi,
> > I have followed this guide
> >
> http://www.voip-info.org/wiki/view/Setting+up+paging+with+a+sound+card
> > and have paging working ok, now I need to implement 'ringing'.
> > When someone calls I need the ringing to be send to overhead paging
> > through the sound card.
>
> I have recorded a sound effect, use a callfile to play the
> file via the sound card. I have a very short timeout for
> that extension. I just jump back to the beginning on the
> context, play the sound effect and then ring the phone again.
> Code below:
>
>
> ;******************************************************
> ;* If Press extension is dialed after 5pm, play bull
> ;* Horn sound effect to get pressman's attention
> ;******************************************************
>
> [night_bell]
>
> exten =>
> 4173,1,GotoIfTime(07:45-16:59|mon-fri|*|*?press-officehours,s,1)
> exten => 4173,2,System(/bin/cp /usr/local/bin/bullhorn.call
> /var/spool/asterisk/outgoing/bullhorn`date +%s`.call) exten
> => 4173,3,Dial(SIP/4173,15,tTkK) exten =>
> 4173,4,Goto(night_bell,4173,1)
>
>
> <bullhorn.call>
>
> Channel: Console/dsp
> MaxRetries: 0
> Application: playback
> Data: /var/lib/asterisk/sounds/local/bullhorn
>
>
> Doug
>
> --
>
> Ben Franklin quote:
>
> "Those who would give up Essential Liberty to purchase a
> little Temporary Safety, deserve neither Liberty nor Safety."
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list