[asterisk-users] Customized Ring Tone
Dovid B
asteriskusers at dovid.net
Mon Jul 2 05:18:24 CDT 2007
Alex,
This is not correct. The reason is the calling party will be billed as soon as you use Answer.
You want to do something like this
Exten => s,1,Dial(SIP/phone,60m)
The calling party will not be billed untill you pick up (I just tested this on VOIP).
----- Original Message -----
From: Alexander Lopez
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Wednesday, June 27, 2007 7:28 PM
Subject: Re: [asterisk-users] Customized Ring Tone
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.
------------------------------------------------------------------------------
_______________________________________________
--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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070702/e20eaadd/attachment.htm
More information about the asterisk-users
mailing list