[asterisk-users] adding funcionatlity to asterisk?! is it possible?!
Steve Totaro
stotaro at totarotechnologies.com
Tue Jun 17 18:56:46 CDT 2008
Didn't you ask this exact same question in the last few days?
On Sat, Jun 14, 2008 at 5:56 AM, RoLaNd RoLaNd <r_o_l_a_n_d at hotmail.com> wrote:
> 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)
>
>
> ________________________________
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list