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

 

Alex

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of GNUbie
Sent: Wednesday, June 27, 2007 12:18 PM
To: asterisk-users@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.

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to