[asterisk-users] Polycom ring backs and CID
Lacy Moore - Aspendora
aspendora at gmail.com
Wed Dec 20 11:12:54 MST 2006
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.
On 12/20/06, J. Oquendo <sil at infiltrated.net> wrote:
>
> (FYI client did not want VM... Don't ask...)
>
> [general]
> static=yes
> writeprotect=no
>
> [incoming]
>
> exten => s,1,NoOP(${EXTEN})
> exten => s,2,Goto(main-aa,s,1)
>
> exten => 13015550835,1,Goto(main-aa,s,1)
> exten => 3015550835,1,Goto(main-aa,s,1)
> exten => 5550835,1,Goto(main-aa,s,1)
> exten => 0835,1,Goto(main-aa,s,1)
>
> exten => 13015551293,1,Goto(main-aa,s,1)
> exten => 3015551293,1,Goto(main-aa,s,1)
> exten => 5551293,1,Goto(main-aa,s,1)
> exten => 1293,1,Goto(main-aa,s,1)
>
> exten => 13015551470,1,Goto(main-aa,s,1)
> exten => 3015551470,1,Goto(main-aa,s,1)
> exten => 5551470,1,Goto(main-aa,s,1)
> exten => 1470,1,Goto(main-aa,s,1)
>
> exten => 13015551743,1,Goto(main-aa,s,1)
> exten => 3015551743,1,Goto(main-aa,s,1)
> exten => 5551743,1,Goto(main-aa,s,1)
> exten => 1743,1,Goto(main-aa,s,1)
>
> exten => 13015552196,1,Goto(main-aa,s,1)
> exten => 3015552196,1,Goto(main-aa,s,1)
> exten => 5552196,1,Goto(main-aa,s,1)
> exten => 2196,1,Goto(main-aa,s,1)
>
> exten => 13015558549,1,Goto(main-aa,s,1)
> exten => 8605558549,1,Goto(main-aa,s,1)
> exten => 5558549,1,Goto(main-aa,s,1)
> exten => 8549,1,Goto(main-aa,s,1)
>
> exten => 13015555001,1,Goto(main-aa,s,1)
> exten => 3015555001,1,Goto(main-aa,s,1)
> exten => 5555001,1,Goto(main-aa,s,1)
> exten => 5001,1,Goto(main-aa,s,1)
>
> exten => 13015555002,1,Goto(main-aa,s,1)
> exten => 3015555002,1,Goto(main-aa,s,1)
> exten => 795002,1,Goto(main-aa,s,1)
> exten => 5002,1,Goto(main-aa,s,1)
>
> exten => 13015555003,1,Goto(main-aa,s,1)
> exten => 3015555003,1,Goto(main-aa,s,1)
> exten => 5555003,1,Goto(main-aa,s,1)
> exten => 5003,1,Goto(main-aa,s,1)
>
> exten => 13015555004,1,Goto(main-aa,s,1)
> exten => 3015555004,1,Goto(main-aa,s,1)
> exten => 5555004,1,Goto(main-aa,s,1)
> exten => 5004,1,Goto(main-aa,s,1)
>
> exten => 13015555005,1,Goto(main-aa,s,1)
> exten => 3015555005,1,Goto(main-aa,s,1)
> exten => 5555005,1,Goto(main-aa,s,1)
> exten => 5005,1,Goto(main-aa,s,1)
>
> exten => 13015555006,1,Goto(main-aa,s,1)
> exten => 3015555006,1,Goto(main-aa,s,1)
> exten => 5555006,1,Goto(main-aa,s,1)
> exten => 5006,1,Goto(main-aa,s,1)
>
> exten => 13015555010,1,Goto(main-aa,s,1)
> exten => 3015555010,1,Goto(main-aa,s,1)
> exten => 5555010,1,Goto(main-aa,s,1)
> exten => 5010,1,Goto(main-aa,s,1)
>
> exten => 13015555012,1,Goto(main-aa,s,1)
> exten => 3015555012,1,Goto(main-aa,s,1)
> exten => 5555012,1,Goto(main-aa,s,1)
> exten => 5012,1,Goto(main-aa,s,1)
>
> exten => 13015555032,1,Goto(main-aa,s,1)
> exten => 3015555032,1,Goto(main-aa,s,1)
> exten => 5555032,1,Goto(main-aa,s,1)
> exten => 5032,1,Goto(main-aa,s,1)
>
>
> [main-aa]
>
> exten => s,1,GotoIfTime(18:00-7:00|mon-fri|*|*|*?main-night-aa,s,1)
> exten => s,2,GotoIfTime(*|sat-sun|*|*|*?main-night-aa,s,1)
> exten => s,3,Dial(SIP/100&SIP/101|30|tr)
> exten => s,4,Goto(main-night-aa,s,1)
> exten => s,104,Goto(main-night-aa,s,1)
>
> [main-night-aa]
>
> exten => s,1,Voicemail(u130 at VooDoo)
> exten => s,2,Goto(main-aa,s,1)
>
>
> [outbound]
>
> exten => 00,1,VoicemailMain(s at VooDoo)
> exten => a,1,VoicemailMain(s at VooDoo)
>
> include => incoming
> include => internal
>
> include => parkedcalls
>
>
> exten => 911,1,Set(CALLERID(number)=13015558549)
> exten => 911,2,Goto(to_the_netherworld,${EXTEN},1)
> exten => 411,1,Set(CALLERID(number)=13015558549)
> exten => 411,2,Goto(to_the_netherworld,${EXTEN},1)
> exten => _011.,1,Set(CALLERID(number)=13015558549)
> exten => _011.,2,Goto(to_the_netherworld,${EXTEN},1)
> exten => _1NXXNXXXXXX,1,Set(CALLERID(number)=13015558549)
> exten => _1NXXNXXXXXX,2,Goto(to_the_netherworld,${EXTEN},1)
> exten => _NXXNXXXXXX,1,Set(CALLERID(number)=13015558549)
> exten => _NXXNXXXXXX,2,Goto(to_the_netherworld,${EXTEN},1)
> exten => _NXXXXXX,1,Set(CALLERID(number)=13015558549)
> exten => _NXXXXXX,2,Goto(to_the_netherworld,${EXTEN},1)
>
> [to_the_netherworld]
>
> exten => _X.,1,ChanIsAvail(Zap/1&Zap/2&Zap/3&Zap/4)
> exten => _X.,2,Cut(thechannel=AVAILCHAN,,1)
> exten => _X.,3,Dial(${thechannel}/${EXTEN})
> exten => _X.,4,Hangup
>
> ;exten => 911,1,Dial(Zap/g1/911)
> ;exten => 911,2,Dial(Zap/g1/911)
> ;exten => 411,1,Dial(SIP/13015551212 at sipvww)
> ;exten => _011.,1,Dial(SIP/${EXTEN}@voip)
> ;exten => _1800.,1,Dial(Zap/g1/${EXTEN})
> ;exten => _1866.,1,Dial(Zap/g1/${EXTEN})
> ;exten => _1877.,1,Dial(Zap/g1/${EXTEN})
> ;exten => _1888.,1,Dial(Zap/g1/${EXTEN})
> ;exten => _1301NXXXXXX,1,Dial(Zap/g1/${EXTEN},40,tr)
> ;exten => _1301NXXXXXX,2,Dial(SIP/${EXTEN}@voip,40,tr)
> ;exten => _860NXXXXXX,1,Dial(Zap/g1/${EXTEN},40,tr)
> ;exten => _860NXXXXXX,2,Dial(SIP/1${EXTEN}@voip,40,tr)
> ;exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN}@voip,40,tr)
> ;exten => _1NXXNXXXXXX,1,Dial(Zap/g1/${EXTEN},30,tr)
> ;exten => _1NXXNXXXXXX,3,Hangup
> ;exten => _NXXNXXXXXX,2,Dial(SIP/1${EXTEN}@voip,40,tr)
> ;exten => _NXXNXXXXXX,1,Dial(Zap/g1/1${EXTEN},30,tr)
> ;exten => _NXXNXXXXXX,3,Hangup
> ;exten => _NXXXXXX,1,Dial(Zap/g1/1301${EXTEN},30,tr)
> ;exten => _NXXXXXX,2,Dial(SIP/1301${EXTEN}@voip,30,tr)
> ;exten => _NXXXXXX,3,Hangup
>
> [parkedcalls]
> ; Parking
> exten => 700,1,NoOp()
> exten =>
> 700,n,ParkAndAnnounce(call:ha/on:PARKED|105|SIP/7${BLINDTRANSFER:7:2}|default,71${BLINDTRANSFER:5:2},1)
> exten => 700,hint,Local/7
>
>
>
>
> [internal]
>
> exten => 100,1,Dial(SIP/100|30|tr)
> exten => 100,3,Voicemail(u100 at VooDoo)
> exten => 100,2,
> exten => 100,102,Goto(main-aa,s,1)
> exten => 100,104,Hangup
>
> exten => 101,1,Dial(SIP/101|30|tr)
> exten => 101,3,Voicemail(u101 at VooDoo)
> exten => 101,2,Goto(main-aa,s,1)
> exten => 101,102,Goto(main-aa,s,1)
> exten => 101,104,Hangup
>
> exten => 102,1,Dial(SIP/102|30|tr)
> exten => 102,3,Voicemail(u102 at VooDoo)
> exten => 102,2,Goto(main-aa,s,1)
> exten => 102,102,Goto(main-aa,s,1)
> exten => 102,104,Hangup
>
> exten => 103,1,Dial(SIP/103|30|tr)
> exten => 103,3,Voicemail(u103 at VooDoo)
> exten => 103,2,Goto(main-aa,s,1)
> exten => 103,102,Goto(main-aa,s,1)
> exten => 103,104,Hangup
>
> exten => 104,1,Dial(SIP/104|30|tr)
> exten => 104,3,Voicemail(u104 at VooDoo)
> exten => 104,2,Goto(main-aa,s,1)
> exten => 104,102,Goto(main-aa,s,1)
> exten => 104,104,Hangup
>
> exten => 105,1,Dial(SIP/105|30|tr)
> exten => 105,3,Voicemail(u105 at VooDoo)
> exten => 105,2,Goto(main-aa,s,1)
> exten => 105,102,Goto(main-aa,s,1)
> exten => 105,104,Hangup
>
> exten => 106,1,Dial(SIP/106|30|tr)
> exten => 106,3,Voicemail(u106 at VooDoo)
> exten => 106,2,Goto(main-aa,s,1)
> exten => 106,102,Goto(main-aa,s,1)
> exten => 106,104,Hangup
>
> exten => 107,1,Dial(SIP/107|30|tr)
> exten => 107,3,Voicemail(u107 at VooDoo)
> exten => 107,2,Goto(main-aa,s,1)
> exten => 107,102,Goto(main-aa,s,1)
> exten => 107,104,Hangup
>
> exten => 108,1,Dial(SIP/108|30|tr)
> exten => 108,3,Voicemail(u108 at VooDoo)
> exten => 108,2,Goto(main-aa,s,1)
> exten => 108,102,Goto(main-aa,s,1)
> exten => 108,104,Hangup
>
> exten => 109,1,Dial(SIP/109|30|tr)
> exten => 109,3,Voicemail(u109 at VooDoo)
> exten => 109,2,Goto(main-aa,s,1)
> exten => 109,102,Goto(main-aa,s,1)
> exten => 109,104,Hangup
>
> exten => 110,1,Dial(SIP/110|30|tr)
> exten => 110,3,Voicemail(u110 at VooDoo)
> exten => 110,2,Goto(main-aa,s,1)
> exten => 110,102,Goto(main-aa,s,1)
> exten => 110,104,Hangup
>
> exten => 111,1,Dial(SIP/111|30|tr)
> exten => 111,3,Voicemail(u111 at VooDoo)
> exten => 111,2,Goto(main-aa,s,1)
> exten => 111,102,Goto(main-aa,s,1)
> exten => 111,104,Hangup
>
> exten => 112,1,Dial(SIP/112|30|tr)
> exten => 112,3,Voicemail(u112 at VooDoo)
> exten => 112,2,Goto(main-aa,s,1)
> exten => 112,102,Goto(main-aa,s,1)
> exten => 112,104,Hangup
>
> exten => 113,1,Dial(SIP/113|30|tr)
> exten => 113,3,Voicemail(u113 at VooDoo)
> exten => 113,2,Goto(main-aa,s,1)
> exten => 113,102,Goto(main-aa,s,1)
> exten => 113,104,Hangup
>
>
>
> exten => 114,1,Dial(SIP/114|30|tr)
> exten => 114,3,Voicemail(u114 at VooDoo)
> exten => 114,2,Goto(main-aa,s,1)
> exten => 114,102,Goto(main-aa,s,1)
> exten => 114,104,Hangup
>
> exten => 115,1,Dial(SIP/115|30|tr)
> exten => 115,3,Voicemail(u115 at VooDoo)
> exten => 115,2,Goto(main-aa,s,1)
> exten => 115,102,Goto(main-aa,s,1)
> exten => 115,104,Hangup
>
> exten => 120,1,Dial(SIP/120|30|tr)
> exten => 120,3,Voicemail(u120 at VooDoo)
> exten => 120,2,Goto(main-aa,s,1)
> exten => 120,102,Goto(main-aa,s,1)
> exten => 120,104,Hangup
>
> exten => 121,1,Dial(SIP/121|30|tr)
> exten => 121,3,Voicemail(u121 at VooDoo)
> exten => 121,2,Goto(main-aa,s,1)
> exten => 121,102,Goto(main-aa,s,1)
> exten => 121,104,Hangup
>
> exten => 122,1,Dial(SIP/122|30|tr)
> exten => 122,3,Voicemail(u122 at VooDoo)
> exten => 122,2,Goto(main-aa,s,1)
> exten => 122,102,Goto(main-aa,s,1)
> exten => 122,104,Hangup
>
> exten => 123,1,Dial(SIP/123|30|tr)
> exten => 123,3,Voicemail(u123 at VooDoo)
> exten => 123,2,Goto(main-aa,s,1)
> exten => 123,102,Goto(main-aa,s,1)
> exten => 123,104,Hangup
>
> exten => 124,1,Dial(SIP/124|30|tr)
> exten => 124,3,Voicemail(u124 at VooDoo)
> exten => 124,2,Goto(main-aa,s,1)
> exten => 124,102,Goto(main-aa,s,1)
> exten => 124,104,Hangup
>
> exten => 125,1,Dial(SIP/125|30|tr)
> exten => 125,3,Voicemail(u125 at VooDoo)
> exten => 125,2,Goto(main-aa,s,1)
> exten => 125,102,Goto(main-aa,s,1)
> exten => 125,104,Hangup
>
> exten => 126,1,Dial(SIP/126|30|tr)
> exten => 126,3,Voicemail(u126 at VooDoo)
> exten => 126,2,Goto(main-aa,s,1)
> exten => 126,102,Goto(main-aa,s,1)
> exten => 126,104,Hangup
>
> exten => 3333,1,Dial(SIP/3333|30|tr)
> exten => 3333,2,Voicemail(u3333 at VooDoo)
> exten => 3333,102,Goto(main-aa,s,1)
> exten => 3333,104,Hangup
>
>
> _______________________________________________
> --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
>
--
Lacy Moore
I'm the guy that doesn't give a damn about anyone's problems but my own...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061220/f588272e/attachment-0001.htm
More information about the asterisk-users
mailing list