One of my extensions.conf file is built to ring during the day, ring/go to voicemail after a certain time:
[main-aa] exten => s,1,GotoIfTime(17:00-8:30|mon-fri|*|*|*?main-night-aa,s,1) exten => s,2,GotoIfTime(*|sat-sun|*|*|*?main-night-aa,s,1) exten => s,3,Dial(SIP/201,25,tr)exten => s,4,DIal(SIP/211&SIP/202&SIP/203&SIP/209&SIP/211&SIP/212&SIP/213&SIP/214,15,tr)
exten => s,5,Background(/etc/asterisk/day) exten => s,6,Wait(3) exten => s,7,Voicemail([EMAIL PROTECTED]) exten => s,8,Hangup [main-night-aa] exten => s,1,Answer exten => s,2,Background(/etc/asterisk/night) exten => s,3,Voicemail([EMAIL PROTECTED]) exten => s,4,Hangup exten => 1,1,Directory(fakepbxname,internal,l) exten => 00,1,VoicemailMain([EMAIL PROTECTED])When in night mode, if someone called, while Asterisk would show the phone as ringing (and INDEED the phone would ring) the caller wouldn't hear the phone ring. No music, no ringing no thing until the amount of time the rings ran out and then be transferred into voicemail. So... (un)Leet ASCII explanation:
Caller (after hours) --> Dials in --> Press extension --> Asterisk makes transfer --> Caller hears dead air --> No one answers --> Voicemail --> Caller now hears voicemail prompts
Asterisk 1.2.13 built by root @ fakepbxname on a i686 running Linux (FC5) Any thoughts? -- ==================================================== J. Oquendo http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743sil . infiltrated @ net http://www.infiltrated.net
The happiness of society is the end of government. John Adams
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
