VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
r_o_l_a_n_d at hotmail... Guest
|
Posted: Sun Jun 15, 2008 10:09 am Post subject: [asterisk-users] extensions.conf HELP with dial plan!! |
|
|
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(
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 |
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Sun Jun 15, 2008 10:16 am Post subject: [asterisk-users] extensions.conf HELP with dial plan!! |
|
|
On Sun, Jun 15, 2008 at 11:09 AM, RoLaNd RoLaNd <r_o_l_a_n_d at hotmail.com> wrote:
Quote: | 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(
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)
|
Queues in round robin might be a better strategy for your first requirements.
The last part of your requirements could easily be achieved by
creating a exten that background() a recording of the key personnel.
Thanks,
Steve Totaro |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|