[asterisk-users] How to transfer call using function T

cool dude cool_dudeoflko at yahoo.co.in
Thu Feb 18 14:57:45 CST 2010


i want to use Transfer Function (T) i.e when ever caller calls and if his call is not answered he should hear 
the voice, enter the extention of the person.n if he presses the wrong extention he should hear u had entered wrong extention.if he dosent
dial in a given period of time than it should time out.

- Now call  comes at ext 112 no one receives it, than callers should be able to transfer call to ext 113,114.

- If he enters wrong ext he should be told u had entered wrong ext

- If he dosent give any ext at given period of time than timeout message by played.

below is the dial plan 

[from-zaptel]
exten => s,1,Wait(2)
exten => s,n,Dial(SIP/112,5,tT)
exten => s,n,Background(enter-ext-of-person)


[my-phones]
exten => 112,1,Dial(SIP/112,5,T)
exten => 1,1,Playback(digits/1)
exten => 2,1,Playback(digits/2)
exten => 3,1,Playback(digits/3)
exten => 4,1,Playback(digits/4)

exten => i,1,Playback(pbx-invalid)
exten => t,1,Playback(vm-goodbye)

exten => 113,1,Dial(SIP/113)
exten => 114,1,Dial(SIP/114)

exten => _X.,1,Dial(DAHDI/1-1/${EXTEN})
exten => _X.,n,Hangup



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100219/10e11619/attachment.htm 


More information about the asterisk-users mailing list