[asterisk-users] extensions.conf HELP with dial plan!!

RoLaNd RoLaNd r_o_l_a_n_d at hotmail.com
Sun Jun 15 10:09:36 CDT 2008


  hello all,
im looking for a way to do the following:

when a SPECIFIC call comes through to asterisk through sip, i want it to b directed to a pool of specific sip extensions (9 extensions) where asterisk tries one after the other till lhe finds one of them thats actually on.i want to add a step for asterisk to follow which is, when a sip extension doesn't answer or its offline, instead of immediately transferring to voice mail, i want it to dial that sip holder's number so it transfers the call to his cellphone for example. and if he didn't answer his cellphone its then that i want it to direct it to voice mail.i want to add another item to the operator menu, instead of just receiving the call and telling the caller to either dial extension or 100 for operator, i want asterisk to offer the caller an additional option like for example pressing 2, would direct you to a list of key personnels with their respective extensions.please find below my extensions.conf:


[sipura-line]
exten => 201,1,Answer() ; Answer inbound calls
exten => 201,2,Playback(silence/1)
exten => 201,3,Background(simzy1) ; input an extension
exten => 201,4,Wait(8)
include => spa
exten => 201,n,Hangup()

[spa]
exten =>_201,1,GoTo(sipura-line,${EXTEN},1)
exten => _1XX,1,Dial(SIP/${EXTEN},15) ;each ring equals to 5 seconds, so it will ring 3 times
exten => _1XX,2,VoiceMail(${EXTEN}@default)
exten => _1XX,3,HangUp()
exten => _2XX,1,Dial(SIP/${EXTEN},15) ;each ring equals to 5 seconds, so it will ring 3 times
exten => _2XX,2,VoiceMail(${EXTEN}@default)
exten => _2XX,3,HangUp()
exten =>_01,1,Dial(SIP/200)
exten => 203,1,VoicemailMain
exten => _2XX,1,Dial(SIP/${EXTEN},15)


_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080615/51da73e8/attachment-0001.htm 


More information about the asterisk-users mailing list