[asterisk-users] (no subject)

fabio alves pitagoras_20 at yahoo.com.br
Fri Jun 10 09:16:53 CDT 2011


Good morning gentlemen, is my first post in the list, now I'm starting asterisk wanted to have your help for some questions.



Well the first function is as follow me. Here
 I will demonstrate how this configuration follow me on my 
extensions.conf but it is not working, and do not know why, but 
something is missing?

You must set up followme.conf ?



What
 I want is that the follow-me is enabled for any of the extensions 
within the same context, like if I am absent from my table and go to 
extension 2801 DataCenter where I need to spend all afternoon and I will
 have the extension 2820 which enabled me to follow this extension and after back to my desk withdraw follow me.
; Ativa Siga-me incondicional



[sigame-on]exten  => _*71*.,1,NoCDR()

exten =>  _*71*.,2,Set(DB(CF/${CALLERID(num)})=${EXTEN:4})

exten => _*71*.,3,Playback(call-fwd-unconditional&for&extension)

exten => _*71*.,4,SayDigits(${CALLERID(num)}) 

exten => _*71*.,5,Playback(is-set-to)

exten =>  _*71*.,6,SayDigits(${EXTEN:4}) 

exten => _*71*.,7,Playback(vm-saved)

exten =>  _*71*.,8,Playback(beep)

exten => _*71*.,9,Hangup



; Desativa o siga-me incondicional



[sigame-off]exten  => _*72*,1,NoCDR()

exten => _*72*,2,DBdel(CF/${CALLERID(num)})

exten => _*72*,3,Playback(cancelled) exten => _*72*,4,Playback(beep)

exten => _*72*,5,Hangup







Bom, agora vamos ao pulo do gato, esse passo é muito importante pois é  
ele quem verifica se existe ou não o siga-me para o ramal.



Vamos ao contexto:



[disca]

exten => _3XXX,1,Noop(CF/${EXTEN})

exten =>  _3XXX,2,Set(siga=${DB(CF/${EXTEN})})

exten => _3XXX,3,Dial(SIP/${siga},30,Ttw)

exten => _3XXX,4,Dial(SIP/${EXTEN}) ;  Unconditional forward

exten => _3XXX,5,Hangup

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110610/662f280b/attachment.htm>


More information about the asterisk-users mailing list