<div>Change step 2 on your internal extensions to do whatever you want to do (change the ringer, callID, whatever) then go to main-aa,s,1. Or, change step 2 to go someplace else, at somplace else, do whatever you want to do, and then go to main-aa,s,1. The second method is easier to change if, later on, you want to change whatever it is that you want to do.
</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">J. Oquendo</b> <<a href="mailto:sil@infiltrated.net">sil@infiltrated.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">(FYI client did not want VM... Don't ask...)<br><br>[general]<br>static=yes<br>writeprotect=no<br><br>
[incoming]<br><br>exten => s,1,NoOP(${EXTEN})<br>exten => s,2,Goto(main-aa,s,1)<br><br>exten => 13015550835,1,Goto(main-aa,s,1)<br>exten => 3015550835,1,Goto(main-aa,s,1)<br>exten => 5550835,1,Goto(main-aa,s,1)
<br>exten => 0835,1,Goto(main-aa,s,1)<br><br>exten => 13015551293,1,Goto(main-aa,s,1)<br>exten => 3015551293,1,Goto(main-aa,s,1)<br>exten => 5551293,1,Goto(main-aa,s,1)<br>exten => 1293,1,Goto(main-aa,s,1)<br>
<br>exten => 13015551470,1,Goto(main-aa,s,1)<br>exten => 3015551470,1,Goto(main-aa,s,1)<br>exten => 5551470,1,Goto(main-aa,s,1)<br>exten => 1470,1,Goto(main-aa,s,1)<br><br>exten => 13015551743,1,Goto(main-aa,s,1)
<br>exten => 3015551743,1,Goto(main-aa,s,1)<br>exten => 5551743,1,Goto(main-aa,s,1)<br>exten => 1743,1,Goto(main-aa,s,1)<br><br>exten => 13015552196,1,Goto(main-aa,s,1)<br>exten => 3015552196,1,Goto(main-aa,s,1)
<br>exten => 5552196,1,Goto(main-aa,s,1)<br>exten => 2196,1,Goto(main-aa,s,1)<br><br>exten => 13015558549,1,Goto(main-aa,s,1)<br>exten => 8605558549,1,Goto(main-aa,s,1)<br>exten => 5558549,1,Goto(main-aa,s,1)
<br>exten => 8549,1,Goto(main-aa,s,1)<br><br>exten => 13015555001,1,Goto(main-aa,s,1)<br>exten => 3015555001,1,Goto(main-aa,s,1)<br>exten => 5555001,1,Goto(main-aa,s,1)<br>exten => 5001,1,Goto(main-aa,s,1)<br>
<br>exten => 13015555002,1,Goto(main-aa,s,1)<br>exten => 3015555002,1,Goto(main-aa,s,1)<br>exten => 795002,1,Goto(main-aa,s,1)<br>exten => 5002,1,Goto(main-aa,s,1)<br><br>exten => 13015555003,1,Goto(main-aa,s,1)
<br>exten => 3015555003,1,Goto(main-aa,s,1)<br>exten => 5555003,1,Goto(main-aa,s,1)<br>exten => 5003,1,Goto(main-aa,s,1)<br><br>exten => 13015555004,1,Goto(main-aa,s,1)<br>exten => 3015555004,1,Goto(main-aa,s,1)
<br>exten => 5555004,1,Goto(main-aa,s,1)<br>exten => 5004,1,Goto(main-aa,s,1)<br><br>exten => 13015555005,1,Goto(main-aa,s,1)<br>exten => 3015555005,1,Goto(main-aa,s,1)<br>exten => 5555005,1,Goto(main-aa,s,1)
<br>exten => 5005,1,Goto(main-aa,s,1)<br><br>exten => 13015555006,1,Goto(main-aa,s,1)<br>exten => 3015555006,1,Goto(main-aa,s,1)<br>exten => 5555006,1,Goto(main-aa,s,1)<br>exten => 5006,1,Goto(main-aa,s,1)<br>
<br>exten => 13015555010,1,Goto(main-aa,s,1)<br>exten => 3015555010,1,Goto(main-aa,s,1)<br>exten => 5555010,1,Goto(main-aa,s,1)<br>exten => 5010,1,Goto(main-aa,s,1)<br><br>exten => 13015555012,1,Goto(main-aa,s,1)
<br>exten => 3015555012,1,Goto(main-aa,s,1)<br>exten => 5555012,1,Goto(main-aa,s,1)<br>exten => 5012,1,Goto(main-aa,s,1)<br><br>exten => 13015555032,1,Goto(main-aa,s,1)<br>exten => 3015555032,1,Goto(main-aa,s,1)
<br>exten => 5555032,1,Goto(main-aa,s,1)<br>exten => 5032,1,Goto(main-aa,s,1)<br><br><br>[main-aa]<br><br>exten => s,1,GotoIfTime(18:00-7:00|mon-fri|*|*|*?main-night-aa,s,1)<br>exten => s,2,GotoIfTime(*|sat-sun|*|*|*?main-night-aa,s,1)
<br>exten => s,3,Dial(SIP/100&SIP/101|30|tr)<br>exten => s,4,Goto(main-night-aa,s,1)<br>exten => s,104,Goto(main-night-aa,s,1)<br><br>[main-night-aa]<br><br>exten => s,1,Voicemail(u130@VooDoo)<br>exten => s,2,Goto(main-aa,s,1)
<br><br><br>[outbound]<br><br>exten => 00,1,VoicemailMain(s@VooDoo)<br>exten => a,1,VoicemailMain(s@VooDoo)<br><br>include => incoming<br>include => internal<br><br>include => parkedcalls<br><br><br>exten => 911,1,Set(CALLERID(number)=13015558549)
<br>exten => 911,2,Goto(to_the_netherworld,${EXTEN},1)<br>exten => 411,1,Set(CALLERID(number)=13015558549)<br>exten => 411,2,Goto(to_the_netherworld,${EXTEN},1)<br>exten => _011.,1,Set(CALLERID(number)=13015558549)
<br>exten => _011.,2,Goto(to_the_netherworld,${EXTEN},1)<br>exten => _1NXXNXXXXXX,1,Set(CALLERID(number)=13015558549)<br>exten => _1NXXNXXXXXX,2,Goto(to_the_netherworld,${EXTEN},1)<br>exten => _NXXNXXXXXX,1,Set(CALLERID(number)=13015558549)
<br>exten => _NXXNXXXXXX,2,Goto(to_the_netherworld,${EXTEN},1)<br>exten => _NXXXXXX,1,Set(CALLERID(number)=13015558549)<br>exten => _NXXXXXX,2,Goto(to_the_netherworld,${EXTEN},1)<br><br>[to_the_netherworld]<br><br>
exten => _X.,1,ChanIsAvail(Zap/1&Zap/2&Zap/3&Zap/4)<br>exten => _X.,2,Cut(thechannel=AVAILCHAN,,1)<br>exten => _X.,3,Dial(${thechannel}/${EXTEN})<br>exten => _X.,4,Hangup<br><br>;exten => 911,1,Dial(Zap/g1/911)
<br>;exten => 911,2,Dial(Zap/g1/911)<br>;exten => 411,1,Dial(SIP/13015551212@sipvww)<br>;exten => _011.,1,Dial(SIP/${EXTEN}@voip)<br>;exten => _1800.,1,Dial(Zap/g1/${EXTEN})<br>;exten => _1866.,1,Dial(Zap/g1/${EXTEN})
<br>;exten => _1877.,1,Dial(Zap/g1/${EXTEN})<br>;exten => _1888.,1,Dial(Zap/g1/${EXTEN})<br>;exten => _1301NXXXXXX,1,Dial(Zap/g1/${EXTEN},40,tr)<br>;exten => _1301NXXXXXX,2,Dial(SIP/${EXTEN}@voip,40,tr)<br>;exten => _860NXXXXXX,1,Dial(Zap/g1/${EXTEN},40,tr)
<br>;exten => _860NXXXXXX,2,Dial(SIP/1${EXTEN}@voip,40,tr)<br>;exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN}@voip,40,tr)<br>;exten => _1NXXNXXXXXX,1,Dial(Zap/g1/${EXTEN},30,tr)<br>;exten => _1NXXNXXXXXX,3,Hangup<br>
;exten => _NXXNXXXXXX,2,Dial(SIP/1${EXTEN}@voip,40,tr)<br>;exten => _NXXNXXXXXX,1,Dial(Zap/g1/1${EXTEN},30,tr)<br>;exten => _NXXNXXXXXX,3,Hangup<br>;exten => _NXXXXXX,1,Dial(Zap/g1/1301${EXTEN},30,tr)<br>;exten => _NXXXXXX,2,Dial(
SIP/1301${EXTEN}@voip,30,tr)<br>;exten => _NXXXXXX,3,Hangup<br><br>[parkedcalls]<br>; Parking<br>exten => 700,1,NoOp()<br>exten => 700,n,ParkAndAnnounce(call:ha/on:PARKED|105|SIP/7${BLINDTRANSFER:7:2}|default,71${BLINDTRANSFER:5:2},1)
<br>exten => 700,hint,Local/7<br><br><br><br><br>[internal]<br><br>exten => 100,1,Dial(SIP/100|30|tr)<br>exten => 100,3,Voicemail(u100@VooDoo)<br>exten => 100,2,<br>exten => 100,102,Goto(main-aa,s,1)<br>exten => 100,104,Hangup
<br><br>exten => 101,1,Dial(SIP/101|30|tr)<br>exten => 101,3,Voicemail(u101@VooDoo)<br>exten => 101,2,Goto(main-aa,s,1)<br>exten => 101,102,Goto(main-aa,s,1)<br>exten => 101,104,Hangup<br><br>exten => 102,1,Dial(SIP/102|30|tr)
<br>exten => 102,3,Voicemail(u102@VooDoo)<br>exten => 102,2,Goto(main-aa,s,1)<br>exten => 102,102,Goto(main-aa,s,1)<br>exten => 102,104,Hangup<br><br>exten => 103,1,Dial(SIP/103|30|tr)<br>exten => 103,3,Voicemail(
u103@VooDoo)<br>exten => 103,2,Goto(main-aa,s,1)<br>exten => 103,102,Goto(main-aa,s,1)<br>exten => 103,104,Hangup<br><br>exten => 104,1,Dial(SIP/104|30|tr)<br>exten => 104,3,Voicemail(u104@VooDoo)<br>exten => 104,2,Goto(main-aa,s,1)
<br>exten => 104,102,Goto(main-aa,s,1)<br>exten => 104,104,Hangup<br><br>exten => 105,1,Dial(SIP/105|30|tr)<br>exten => 105,3,Voicemail(u105@VooDoo)<br>exten => 105,2,Goto(main-aa,s,1)<br>exten => 105,102,Goto(main-aa,s,1)
<br>exten => 105,104,Hangup<br><br>exten => 106,1,Dial(SIP/106|30|tr)<br>exten => 106,3,Voicemail(u106@VooDoo)<br>exten => 106,2,Goto(main-aa,s,1)<br>exten => 106,102,Goto(main-aa,s,1)<br>exten => 106,104,Hangup
<br><br>exten => 107,1,Dial(SIP/107|30|tr)<br>exten => 107,3,Voicemail(u107@VooDoo)<br>exten => 107,2,Goto(main-aa,s,1)<br>exten => 107,102,Goto(main-aa,s,1)<br>exten => 107,104,Hangup<br><br>exten => 108,1,Dial(SIP/108|30|tr)
<br>exten => 108,3,Voicemail(u108@VooDoo)<br>exten => 108,2,Goto(main-aa,s,1)<br>exten => 108,102,Goto(main-aa,s,1)<br>exten => 108,104,Hangup<br><br>exten => 109,1,Dial(SIP/109|30|tr)<br>exten => 109,3,Voicemail(
u109@VooDoo)<br>exten => 109,2,Goto(main-aa,s,1)<br>exten => 109,102,Goto(main-aa,s,1)<br>exten => 109,104,Hangup<br><br>exten => 110,1,Dial(SIP/110|30|tr)<br>exten => 110,3,Voicemail(u110@VooDoo)<br>exten => 110,2,Goto(main-aa,s,1)
<br>exten => 110,102,Goto(main-aa,s,1)<br>exten => 110,104,Hangup<br><br>exten => 111,1,Dial(SIP/111|30|tr)<br>exten => 111,3,Voicemail(u111@VooDoo)<br>exten => 111,2,Goto(main-aa,s,1)<br>exten => 111,102,Goto(main-aa,s,1)
<br>exten => 111,104,Hangup<br><br>exten => 112,1,Dial(SIP/112|30|tr)<br>exten => 112,3,Voicemail(u112@VooDoo)<br>exten => 112,2,Goto(main-aa,s,1)<br>exten => 112,102,Goto(main-aa,s,1)<br>exten => 112,104,Hangup
<br><br>exten => 113,1,Dial(SIP/113|30|tr)<br>exten => 113,3,Voicemail(u113@VooDoo)<br>exten => 113,2,Goto(main-aa,s,1)<br>exten => 113,102,Goto(main-aa,s,1)<br>exten => 113,104,Hangup<br><br><br><br>exten => 114,1,Dial(SIP/114|30|tr)
<br>exten => 114,3,Voicemail(u114@VooDoo)<br>exten => 114,2,Goto(main-aa,s,1)<br>exten => 114,102,Goto(main-aa,s,1)<br>exten => 114,104,Hangup<br><br>exten => 115,1,Dial(SIP/115|30|tr)<br>exten => 115,3,Voicemail(
u115@VooDoo)<br>exten => 115,2,Goto(main-aa,s,1)<br>exten => 115,102,Goto(main-aa,s,1)<br>exten => 115,104,Hangup<br><br>exten => 120,1,Dial(SIP/120|30|tr)<br>exten => 120,3,Voicemail(u120@VooDoo)<br>exten => 120,2,Goto(main-aa,s,1)
<br>exten => 120,102,Goto(main-aa,s,1)<br>exten => 120,104,Hangup<br><br>exten => 121,1,Dial(SIP/121|30|tr)<br>exten => 121,3,Voicemail(u121@VooDoo)<br>exten => 121,2,Goto(main-aa,s,1)<br>exten => 121,102,Goto(main-aa,s,1)
<br>exten => 121,104,Hangup<br><br>exten => 122,1,Dial(SIP/122|30|tr)<br>exten => 122,3,Voicemail(u122@VooDoo)<br>exten => 122,2,Goto(main-aa,s,1)<br>exten => 122,102,Goto(main-aa,s,1)<br>exten => 122,104,Hangup
<br><br>exten => 123,1,Dial(SIP/123|30|tr)<br>exten => 123,3,Voicemail(u123@VooDoo)<br>exten => 123,2,Goto(main-aa,s,1)<br>exten => 123,102,Goto(main-aa,s,1)<br>exten => 123,104,Hangup<br><br>exten => 124,1,Dial(SIP/124|30|tr)
<br>exten => 124,3,Voicemail(u124@VooDoo)<br>exten => 124,2,Goto(main-aa,s,1)<br>exten => 124,102,Goto(main-aa,s,1)<br>exten => 124,104,Hangup<br><br>exten => 125,1,Dial(SIP/125|30|tr)<br>exten => 125,3,Voicemail(
u125@VooDoo)<br>exten => 125,2,Goto(main-aa,s,1)<br>exten => 125,102,Goto(main-aa,s,1)<br>exten => 125,104,Hangup<br><br>exten => 126,1,Dial(SIP/126|30|tr)<br>exten => 126,3,Voicemail(u126@VooDoo)<br>exten => 126,2,Goto(main-aa,s,1)
<br>exten => 126,102,Goto(main-aa,s,1)<br>exten => 126,104,Hangup<br><br>exten => 3333,1,Dial(SIP/3333|30|tr)<br>exten => 3333,2,Voicemail(u3333@VooDoo)<br>exten => 3333,102,Goto(main-aa,s,1)<br>exten => 3333,104,Hangup
<br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Lacy Moore<br>I'm the guy that doesn't give a damn about anyone's problems but my own...