No subject


Sun Jul 19 19:54:31 CDT 2009


;
[dids]
;
exten => 6300,1,Goto(day-night-fmh,s,1)
exten => 6400,1,Goto(day-night-corp,s,1)
exten => 6415,1,Set(CALLERID(num)=4444444444)
exten => 6415,2,Queue(carraffle,t,,,60)

;
;[day-night-fmh]
;
exten => s,1,Set(mode=${DB(fmhnightservice/mode)})
exten => s,2,Playback(/etc/asterisk/fmhgreet)
exten => s,3,GotoIf($[${mode} = 1]?100:4)
exten => s,4,GotoIf($[${mode} = 2]?200:5)
exten => s,5,Goto(100)
;
exten => s,100,Answer()
exten => s,101,Set(CHANNEL(musicclass)=easterseals)
exten => s,102,queue(fmhQueue,t,,,60)
exten => s,103,VoiceMail(6300,u)
exten => s,104,Hangup
;
exten => s,200,VoiceMail(6300)
exten => s,201,Hangup
;
;
[day-night-corp]
;
exten => s,1,Set(mode=${DB(corpnightservice/mode)})
exten => s,2,Playback(/etc/asterisk/corpgreet)
exten => s,3,GotoIf($[${mode} = 1]?100:4)
exten => s,4,GotoIf($[${mode} = 2]?200:5)
exten => s,5,Goto(100)
;
exten => s,100,Answer()
exten => s,101,Set(CHANNEL(Musicclass)=easterseals)
exten => s,102,Queue(corpqueue,t,,,60)
exten => s,103,VoiceMail(6400,u)
exten => s,104,Hangup
;
exten => s,200,Playback(/etc/asterisk/corpnightgreet)
exten => s,201,VoiceMail(6400)
exten => s,202,Hangup
;
[macro-sipexten]
; calls channel $(ARG1) for ${ARG2} seconds then channel ${ARG3}for
voicemail
exten => s,1,Dial(SIP/${ARG1},${ARG2},tr)
exten => s,2,VoiceMail(${ARG3},u)
exten => s,103,VoiceMail(${ARG3},u)

====================================================================== 

---------------------------------------------------------------------- 
 (0117070) lmadsen (administrator) - 2010-01-22 10:44
 https://issues.asterisk.org/view.php?id=16662#c117070 
---------------------------------------------------------------------- 
No worries, just letting you know the best practice for next time :)

Thanks for the data. A developer will look at this as soon as resources
and time permit. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-22 10:44 lmadsen        Note Added: 0117070                          
======================================================================




More information about the asterisk-bugs mailing list