[asterisk-users] Customized Ring Tone

Alexander Lopez Alex.Lopez at OpSys.com
Wed Jun 27 11:28:55 CDT 2007


Add an Answer and add a m option to your dial command.  They will hear
your music on hold until you answer.

 

Alex

 

 

________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of GNUbie
Sent: Wednesday, June 27, 2007 12:18 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Customized Ring Tone

 

Hello all,

I'm running Asterisk 1.4.5 and Zaptel 1.4.3 on Debian Etch i386 with the
Digium's Dev Kit that comes with 1 FXO and 1 FXS.  How do I configure my
home PBX in such a way that whenever someone calls on my trunkline
(PSTN) number, he/she will hear a customized ring tone, probably playing
an MP3 file, instead of a boring standard ring tone while the extension
number that is forwarded the call is still ringing?  My current
/etc/asterisk/extensions.conf file looks like this: 

[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no

[pstn]
exten => s,1,NoOp(Caller ID is ${CALLERID(num)})
exten => s,2,Dial(Zap/1,15,g2)
exten => s,n,Congestion

[local]
ignorepat => 9
exten => _9.,1,Dial(Zap/g1/${EXTEN:1}) 
exten => _9.,n,Congestion
exten => 11,1,Dial(Zap/1,20,rt)

Thank you in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070627/f1f5039e/attachment.htm 


More information about the asterisk-users mailing list