Asterisk

From i3Detroit
Jump to: navigation, search

INFO

IP: 10.13.0.9
Login: Ask NateW

#248-556-9995

Extensions

1 - Calls all phones within space
2 - Plays Open Status
3 - Current Events
4 - Contact info
5 - Conference Line
6 - Internal Lines

Internal Lines

1 - Ring all
2 - Cordless

4 - Rings Machine Shop (Non-Working)
5 - Electronics Room

External Forwards

3232 - Hackerspace Call-in - [[http://hackerspaces.org/wiki/Call-in ]]
This ext can be dialed inside and outside the space


System Specs

Soekris net4801
Grandstream - eroom
5 Polycom ip 501 http://support.polycom.com/PolycomService/support/cn/support/voice/soundpoint_ip/soundpoint_ip501.html
Polycom Quick how:to guide http://i3detroit.com/wi/images/d/da/Soundpoint_ip501_quick_user_guide.pdf

Dialplan

[incoming_calls]

[phones]
include => internal
include => incoming
include => outbound-local
include => Main-Menu

[incoming]
exten => 2485569995,1,Answer()
exten => 2485569995,n,Goto(internal,s,1)

[internal]

exten => s,1,Wait(1)
exten => s,2,goto(Main-Menu,s,1)


[Main-Menu]
exten => s,1,Background(intro)

;Hello, You have reached the i3Detroit Phone system,
;The space is currently 
exten => s,2,background(oc) ;Open/Closed to guests 
exten => s,3,background(intro2) ;Please hold for options, or press 1 to connect during any menu.




exten => s,n,background(line1) ;Line 1 Ring All
exten => s,n,Background(line2) ;Check open shop status dial 2.
exten => s,n,background(line3) ;Events
exten => s,n,background(line4) ;to Contact i3Detroit
exten => s,n,background(line5) ;Conference Line
exten => s,n,background(line6) ;Extension sub menu
exten => s,n,wait(3)
exten => s,n,goto(Main-Menu,s,1)

exten => 1,1,Dial(SIP/100&SIP/200&SIP/300&SIP/1337&SIP/201&SIP/202&SIP/203&SIP/204&SIP/205,40,tr)
exten => 1,n,Voicemail(100@default,u)
exten => 2,1,GoTo(Main-Menu,s,2)
exten => 3,1,GoTo(events,s,1)
exten => 4,1,GoTo(contact,s,1)
exten => 5,1,meetme(600) 
exten => 6,1,goto(extsubmenu,s,1)
exten => 8,1,background(toast)
exten => 1338,1,goto(outbound-local,1338,1)


exten => 100,1,Dial(SIP/100,20)
exten => 300,1,Dial(SIP/300,20)
exten => 600,1,MeetMe(600)
exten => 1337,1,Dial(SIP/xlite1)
exten => 701,1,Voicemail(100@default)
exten => 700,1,VoiceMailMain()
exten => 200,1,Dial(SIP/200,20)
exten => 2222,1,Playback(oc)
exten => 2222,n,GoTo(s,1)
exten => 4550,1,Dial(SIP/100&SIP/200&SIP/300&SIP/1337)
exten => 9000,1,background(vegetaover9000)
exten => 9000,n,goto(Main-Menu,s,1)
exten => 3232,1,Dial(SIP/77223@voip.telephreak.org)
exten => 204,1,Dial(SIP/204,20)
exten => i,1,goto(Main-Menu,s,1)



[extsubmenu]
exten => s,1,background(line1) ;Ring all
exten => s,n,background(classroom) ;Classroom
exten => s,n,background(podcast) ;Podcast booth
;exten => s,n,background(shop) ;Rings Shop
exten => s,n,WaitExten(6|m)
exten => s,n,Goto(Main-Menu,s,1)


exten => 1,1,goto(Main-Menu,1,1)
exten => 2,1,Dial(SIP/200)
exten => 3,1,Dial(SIP/300)
exten => 4,1,Dial(SIP/400)
exten => i,1,GoTo(Main-Menu,s,1)

[events]
exten => s,1,Background(e1)
exten => s,n,Background(e2)
exten => s,n,Background(e3)
exten => s,n,Background(e4)
;exten => s,n,Background(noevents)
exten => s,n,GoTo(internal,s,1)

[contact]
exten => s,1,Background(ext)
exten => s,n,saydigits(1)
exten => s,n,Background(vm)
exten => s,n,background(web)
exten => s,n,background(email)
exten => s,n,GoTo(internal,s,1)

[Hidden Lines]
;100 Grandstream (Loft)
;200 VTech (Cordless)
;300 Podcast Booth
;400 Shop floor
;700 Voicemail Checking
;701 Voicemail
;1337 Nate Softphone
;9000 Over 9000
;4500 Page (speakers)
;4550 Ring All
;6000 Disco Ball
;6969 Rumba
;7000 Toaster



[outbound-local]
exten => _NXXXXXXXXX,1,Set(CALLERID(all)=2485569995)
exten => _NXXXXXXXXX,n,Dial(IAX2/i3detroit/1${EXTEN})
exten => _NXXXXXXXXX,n,Congestion()
exten => _NXXXXXXXXX,n,Hangup()

exten => 911,1,Set(CALLERID(all)=2485569995)
exten => 911,n,Dial(IAX2/i3detroit/1${EXTEN})
exten => 9911,1,Set(CALLERID(all)=2485569995)
exten => 9911,n,Dial(IAX2/i3detroit/1${EXTEN})