[AsteriskBrasil] Configuração Ramal

Rafael Rodrigo - NSI rafael em nsinet.com.br
Terça Dezembro 26 17:32:28 BRST 2006


Simples,

    O Modem atua como uma placa FXO, ou seja, recebe um linha, por isso o
sinal de linha. Um linha pública deve ser ligada em FXO. Até aí, tudo certo.
Para o aparelho telefônico comunicar com a central, é necessário uma 
placa FXS,
ou um aparelho ATA. Esses sim podem transformar um OUTRO ramal voip,
em linha para aparelho telefônico.

Abraços,
Rafael Rodrigo

Carlos Cesario escreveu:
> Olá pessoal,
>
> Não sou expert em asterisk, mais estou tentando dar umas cacetadas aqui.
> Seguinte, arrumei uma Ambient3200 e estou fazendo uns testes com o
> TrixBox, a parte de ramais SIP até esta funcionando, porem na parte do
> ZAP.....
>
> Ligado a Ambient3200 tenho uma linha (RAMAL do PABX) aqui da Empresa e
> um aparelho telefonico configurado como ramal 201 no asterisk.
> POrém quando eu disco (pelo xlite) para o ramal 201, o asterisk
> automaticamente atende e pega uma linha do PABX aqui da empresa, ele não
> toca o aparelho telefonico ligado na Ambient3200. Outra coisa é que eu
> não consigo ligar para um ramal SIP atraves do aparelho telefonico
> ligado na Ambient3200.
>
> Anexo segue mues arquivos .conf, caso alguém possa me ajuda ficaria
> grato
>
>
> Obrigado
>
> Carlos
>
>
>
>   
> ------------------------------------------------------------------------
>
> ; do not edit this file, this is an auto-generated file by freepbx
> ; all modifications must be done from the web gui
> [200]
> type=friend
> secret=200
> record_out=Adhoc
> record_in=Adhoc
> qualify=yes
> port=5060
> nat=yes
> mailbox=200 em default
> host=dynamic
> dtmfmode=rfc2833
> dial=SIP/200
> context=from-internal
> canreinvite=no
> callerid=device <200>
>
> [301]
> type=friend
> secret=301
> record_out=Adhoc
> record_in=Adhoc
> qualify=yes
> port=5060
> nat=yes
> mailbox=301 em default
> host=dynamic
> dtmfmode=rfc2833
> dial=SIP/301
> context=from-internal
> canreinvite=no
> callerid=device <301>
>
>   
> ------------------------------------------------------------------------
>
> ; do not edit this file, this is an auto-generated file by freepbx
> ; all modifications must be done from the web gui
> ;;;;;;[202]
> signalling=fxo_ks
> record_out=Adhoc
> record_in=Adhoc
> mailbox=
> immediate=no
> echotraining=800
> echocancelwhenbridged=no
> echocancel=yes
> dial=ZAP/1
> context=from-internal
> callprogress=no
> callerid=device <202>
> busydetect=no
> busycount=7
> accountcode=
> channel=>1
>
>   
> ------------------------------------------------------------------------
>
> # Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
> # Zaptel Configuration File
> #
> # This file is parsed by the Zaptel Configurator, ztcfg
> #
>
> # It must be in the module loading order
>
>
> # Span 1: WCFXO/0 "Generic Clone Board 1" 
> fxsks=1
>
> # Span 2: ZTDUMMY/1 "ZTDUMMY/1 1" 
>
> # Global data
>
> loadzone	= us
> defaultzone	= us
>   
> ------------------------------------------------------------------------
>
> ; do not edit this file, this is an auto-generated file by freepbx
> ; all modifications must be done from the web gui
>
>
> [globals]
> #include globals_custom.conf
> CALLFILENAME = ""
> DIAL_OPTIONS = tr
> TRUNK_OPTIONS = 
> DIAL_OUT = 9
> FAX = 
> FAX_RX = system
> FAX_RX_EMAIL = fax em mydomain.com
> FAX_RX_FROM = freepbx em gmail.com
> INCOMING = group-all
> NULL = ""
> OPERATOR = 
> OPERATOR_XTN = 
> PARKNOTIFY = SIP/200
> RECORDEXTEN = ""
> RINGTIMER = 15
> DIRECTORY = last
> AFTER_INCOMING = 
> IN_OVERRIDE = forcereghours
> REGTIME = 7:55-17:05
> REGDAYS = mon-fri
> DIRECTORY_OPTS = 
> DIALOUTIDS = 1/
> OUTKEEPCID_1 = off
> VM_PREFIX = *
> VM_OPTS = 
> VM_GAIN = 
> VM_DDTYPE = u
> TIMEFORMAT = kM
> TONEZONE = br
> ALLOW_SIP_ANON = no
> OUTCID_1 = 
> OUTMAXCHANS_1 = 1
> OUTPREFIX_1 = 
> OUT_1 = ZAP/1
>
>
> ;end of [globals]
>
>
> [app-callwaiting-cwoff]
> include => app-callwaiting-cwoff-custom
> exten => *71,1,Answer
> exten => *71,n,Wait(1)
> exten => *71,n,Macro(user-callerid,)
> exten => *71,n,dbDel(CW/${CALLERID(number)})
> exten => *71,n,Playback(call-waiting&de-activated)
> exten => *71,n,Macro(hangupcall,)
>
> ; end of [app-callwaiting-cwoff]
>
>
> [app-callwaiting-cwon]
> include => app-callwaiting-cwon-custom
> exten => *70,1,Answer
> exten => *70,n,Wait(1)
> exten => *70,n,Macro(user-callerid,)
> exten => *70,n,Set(DB(CW/${CALLERID(number)})=ENABLED)
> exten => *70,n,Playback(call-waiting&activated)
> exten => *70,n,Macro(hangupcall,)
>
> ; end of [app-callwaiting-cwon]
>
>
> [app-cf-busy-off]
> include => app-cf-busy-off-custom
> exten => *91,1,Answer
> exten => *91,n,Wait(1)
> exten => *91,n,Macro(user-callerid,)
> exten => *91,n,dbDel(CFB/${CALLERID(number)})
> exten => *91,n,Playback(call-fwd-on-busy&de-activated)
> exten => *91,n,Macro(hangupcall,)
> exten => _*91.,1,Answer
> exten => _*91.,n,Wait(1)
> exten => _*91.,n,Set(fromext=${EXTEN:3})
> exten => _*91.,n,dbDel(CFB/${fromext})
> exten => _*91.,n,Playback(call-fwd-on-busy&for&extension)
> exten => _*91.,n,SayDigits(${fromext})
> exten => _*91.,n,Playback(cancelled)
> exten => _*91.,n,Macro(hangupcall,)
>
> ; end of [app-cf-busy-off]
>
>
> [app-cf-busy-off-any]
> include => app-cf-busy-off-any-custom
> exten => *92,1,Answer
> exten => *92,n,Wait(1)
> exten => *92,n,Playback(please-enter-your&extension)
> exten => *92,n,Read(fromext,then-press-pound,,,,)
> exten => *92,n,Wait(1)
> exten => *92,n,dbDel(CFB/${fromext})
> exten => *92,n,Playback(call-fwd-on-busy&for&extension)
> exten => *92,n,SayDigits(${fromext})
> exten => *92,n,Playback(cancelled)
> exten => *92,n,Macro(hangupcall,)
>
> ; end of [app-cf-busy-off-any]
>
>
> [app-cf-busy-on]
> include => app-cf-busy-on-custom
> exten => *90,1,Answer
> exten => *90,n,Wait(1)
> exten => *90,n,Playback(call-fwd-on-busy)
> exten => *90,n,Playback(please-enter-your&extension)
> exten => *90,n,Read(fromext,then-press-pound,,,,)
> exten => *90,n,Set(fromext=${IF($["foo${fromext}"="foo"]?${CALLERID(number)}:${fromext})})
> exten => *90,n,Wait(1)
> exten => *90,n(startread),Playback(ent-target-attendant)
> exten => *90,n,Read(toext,then-press-pound,,,,)
> exten => *90,n,GotoIf($["foo${toext}"="foo"]?startread)
> exten => *90,n,Wait(1)
> exten => *90,n,Set(DB(CFB/${fromext})=${toext})
> exten => *90,n,Playback(call-fwd-on-busy&for&extension)
> exten => *90,n,SayDigits(${fromext})
> exten => *90,n,Playback(is-set-to)
> exten => *90,n,SayDigits(${toext})
> exten => *90,n,Macro(hangupcall,)
> exten => _*90.,1,Answer
> exten => _*90.,n,Wait(1)
> exten => _*90.,n,Macro(user-callerid,)
> exten => _*90.,n,Set(DB(CFB/${CALLERID(number)})=${EXTEN:3})
> exten => _*90.,n,Playback(call-fwd-on-busy&for&extension)
> exten => _*90.,n,SayDigits(${CALLERID(number)})
> exten => _*90.,n,Playback(is-set-to)
> exten => _*90.,n,SayDigits(${EXTEN:3})
> exten => _*90.,n,Macro(hangupcall,)
>
> ; end of [app-cf-busy-on]
>
>
> [app-cf-off]
> include => app-cf-off-custom
> exten => *73,1,Answer
> exten => *73,n,Wait(1)
> exten => *73,n,Macro(user-callerid,)
> exten => *73,n,dbDel(CF/${CALLERID(number)})
> exten => *73,n,Playback(call-fwd-unconditional&de-activated)
> exten => *73,n,Macro(hangupcall,)
> exten => _*73.,1,Answer
> exten => _*73.,n,Wait(1)
> exten => _*73.,n,Set(fromext=${EXTEN:3})
> exten => _*73.,n,dbDel(CF/${fromext})
> exten => _*73.,n,Playback(call-fwd-unconditional&for&extension)
> exten => _*73.,n,SayDigits(${fromext})
> exten => _*73.,n,Playback(cancelled)
> exten => _*73.,n,Macro(hangupcall,)
>
> ; end of [app-cf-off]
>
>
> [app-cf-off-any]
> include => app-cf-off-any-custom
> exten => *74,1,Answer
> exten => *74,n,Wait(1)
> exten => *74,n,Playback(please-enter-your&extension)
> exten => *74,n,Read(fromext,then-press-pound,,,,)
> exten => *74,n,Wait(1)
> exten => *74,n,dbDel(CF/${fromext})
> exten => *74,n,Playback(call-fwd-unconditional&for&extension)
> exten => *74,n,SayDigits(${fromext})
> exten => *74,n,Playback(cancelled)
> exten => *74,n,Macro(hangupcall,)
>
> ; end of [app-cf-off-any]
>
>
> [app-cf-on]
> include => app-cf-on-custom
> exten => *72,1,Answer
> exten => *72,n,Wait(1)
> exten => *72,n,Playback(call-fwd-unconditional)
> exten => *72,n,Playback(please-enter-your&extension)
> exten => *72,n,Read(fromext,then-press-pound,,,,)
> exten => *72,n,Set(fromext=${IF($["foo${fromext}"="foo"]?${CALLERID(number)}:${fromext})})
> exten => *72,n,Wait(1)
> exten => *72,n(startread),Playback(ent-target-attendant)
> exten => *72,n,Read(toext,then-press-pound,,,,)
> exten => *72,n,GotoIf($["foo${toext}"="foo"]?startread)
> exten => *72,n,Wait(1)
> exten => *72,n,Set(DB(CF/${fromext})=${toext})
> exten => *72,n,Playback(call-fwd-unconditional&for&extension)
> exten => *72,n,SayDigits(${fromext})
> exten => *72,n,Playback(is-set-to)
> exten => *72,n,SayDigits(${toext})
> exten => *72,n,Macro(hangupcall,)
> exten => _*72.,1,Answer
> exten => _*72.,n,Wait(1)
> exten => _*72.,n,Macro(user-callerid,)
> exten => _*72.,n,Set(DB(CF/${CALLERID(number)})=${EXTEN:3})
> exten => _*72.,n,Playback(call-fwd-unconditional&for&extension)
> exten => _*72.,n,SayDigits(${CALLERID(number)})
> exten => _*72.,n,Playback(is-set-to)
> exten => _*72.,n,SayDigits(${EXTEN:3})
> exten => _*72.,n,Macro(hangupcall,)
>
> ; end of [app-cf-on]
>
>
> [app-cf-unavailable-off]
> include => app-cf-unavailable-off-custom
> exten => *53,1,Answer
> exten => *53,n,Wait(1)
> exten => *53,n,Macro(user-callerid,)
> exten => *53,n,dbDel(CFU/${CALLERID(number)})
> exten => *53,n,Playback(call-fwd-no-ans&de-activated)
> exten => *53,n,Macro(hangupcall,)
> exten => _*53.,1,Answer
> exten => _*53.,n,Wait(1)
> exten => _*53.,n,Set(fromext=${EXTEN:3})
> exten => _*53.,n,dbDel(CFU/${fromext})
> exten => _*53.,n,Playback(call-fwd-no-ans&for&extension)
> exten => _*53.,n,SayDigits(${fromext})
> exten => _*53.,n,Playback(cancelled)
> exten => _*53.,n,Macro(hangupcall,)
>
> ; end of [app-cf-unavailable-off]
>
>
> [app-cf-unavailable-on]
> include => app-cf-unavailable-on-custom
> exten => *52,1,Answer
> exten => *52,n,Wait(1)
> exten => *52,n,Playback(call-fwd-no-ans)
> exten => *52,n,Playback(please-enter-your&extension)
> exten => *52,n,Read(fromext,then-press-pound,,,,)
> exten => *52,n,Set(fromext=${IF($["foo${fromext}"="foo"]?${CALLERID(number)}:${fromext})})
> exten => *52,n,Wait(1)
> exten => *52,n(startread),Playback(ent-target-attendant)
> exten => *52,n,Read(toext,then-press-pound,,,,)
> exten => *52,n,GotoIf($["foo${toext}"="foo"]?startread)
> exten => *52,n,Wait(1)
> exten => *52,n,Set(DB(CFU/${fromext})=${toext})
> exten => *52,n,Playback(call-fwd-no-ans&for&extension)
> exten => *52,n,SayDigits(${fromext})
> exten => *52,n,Playback(is-set-to)
> exten => *52,n,SayDigits(${toext})
> exten => *52,n,Macro(hangupcall,)
> exten => _*52.,1,Answer
> exten => _*52.,n,Wait(1)
> exten => _*52.,n,Macro(user-callerid,)
> exten => _*52.,n,Set(DB(CFU/${CALLERID(number)})=${EXTEN:3})
> exten => _*52.,n,Playback(call-fwd-no-ans&for&extension)
> exten => _*52.,n,SayDigits(${CALLERID(number)})
> exten => _*52.,n,Playback(is-set-to)
> exten => _*52.,n,SayDigits(${EXTEN:3})
> exten => _*52.,n,Macro(hangupcall,)
>
> ; end of [app-cf-unavailable-on]
>
>
> [app-dialvm]
> include => app-dialvm-custom
> exten => *98,1,Answer
> exten => *98,n,Wait(1)
> exten => *98,n,VoiceMailMain()
> exten => *98,n,Macro(hangupcall,)
> exten => _*98.,1,Answer
> exten => _*98.,n,Wait(1)
> exten => _*98.,n,Macro(get-vmcontext,${EXTEN:3})
> exten => _*98.,n,VoiceMailMain(${EXTEN:3}@${VMCONTEXT})
> exten => _*98.,n,Macro(hangupcall,)
>
> ; end of [app-dialvm]
>
>
> [app-vmmain]
> include => app-vmmain-custom
> exten => *97,1,Answer
> exten => *97,n,Wait(1)
> exten => *97,n,Macro(user-callerid,)
> exten => *97,n,Macro(get-vmcontext,${CALLERID(num)})
> exten => *97,n,VoiceMailMain(${CALLERID(num)}@${VMCONTEXT})
> exten => *97,n,Macro(hangupcall,)
>
> ; end of [app-vmmain]
>
>
> [app-calltrace]
> include => app-calltrace-custom
> exten => *69,1,Goto(app-calltrace-perform,s,1)
>
> ; end of [app-calltrace]
>
>
> [app-calltrace-perform]
> include => app-calltrace-perform-custom
> exten => s,1,Macro(user-callerid,)
> exten => s,n,Answer
> exten => s,n,Wait(1)
> exten => s,n,Playback(info-about-last-call&telephone-number)
> exten => s,n,Set(lastcaller=${DB(CALLTRACE/${CALLERID(number)})})
> exten => s,n,GotoIf($[ $[ "${lastcaller}" = "" ] | $[ "${lastcaller}" = "unknown" ] ]?noinfo)
> exten => s,n,SayDigits(${lastcaller})
> exten => s,n,Set(TIMEOUT(digit)=3)
> exten => s,n,Set(TIMEOUT(response)=7)
> exten => s,n,Background(to-call-this-number&press-1)
> exten => s,n,Goto(fin)
> exten => s,n(noinfo),Playback(from-unknown-caller)
> exten => s,n,Macro(hangupcall,)
> exten => s,n(fin),Noop(Waiting for input)
> exten => 1,1,Goto(from-internal,${lastcaller},1)
> exten => i,1,Playback(vm-goodbye)
> exten => i,n,Macro(hangupcall,)
> exten => t,1,Playback(vm-goodbye)
> exten => t,n,Macro(hangupcall,)
>
> ; end of [app-calltrace-perform]
>
>
> [app-directory]
> include => app-directory-custom
> exten => #,1,Answer
> exten => #,n,Wait(1)
> exten => #,n,AGI(directory,${DIR-CONTEXT},from-did-direct,${DIRECTORY:0:1}${DIRECTORY_OPTS})
> exten => #,n,Playback(vm-goodbye)
> exten => #,n,Hangup
> exten => i,1,Playback(privacy-incorrect)
>
> ; end of [app-directory]
>
>
> [app-echo-test]
> include => app-echo-test-custom
> exten => *43,1,Answer
> exten => *43,n,Wait(1)
> exten => *43,n,Playback(demo-echotest)
> exten => *43,n,Echo()
> exten => *43,n,Playback(demo-echodone)
> exten => *43,n,Hangup
>
> ; end of [app-echo-test]
>
>
> [app-speakextennum]
> include => app-speakextennum-custom
> exten => *65,1,Answer
> exten => *65,n,Wait(1)
> exten => *65,n,Playback(your)
> exten => *65,n,Playback(extension)
> exten => *65,n,Playback(number)
> exten => *65,n,Playback(is)
> exten => *65,n,SayDigits(${CALLERIDNUM})
> exten => *65,n,Wait(2)
> exten => *65,n,Hangup
>
> ; end of [app-speakextennum]
>
>
> [app-speakingclock]
> include => app-speakingclock-custom
> exten => *60,1,Answer
> exten => *60,n,Wait(1)
> exten => *60,n,Set(NumLoops=0)
> exten => *60,n(start),Set(FutureTime=$[${EPOCH} + 11])
> exten => *60,n,Playback(at-tone-time-exactly)
> exten => *60,n,GotoIf($["${TIMEFORMAT}" = "kM"]?hr24format)
> exten => *60,n,SayUnixTime(${FutureTime},,IM \'and\' S \'seconds\' p)
> exten => *60,n,Goto(waitloop)
> exten => *60,n(hr24format),SayUnixTime(${FutureTime},,kM \'and\' S \'seconds\')
> exten => *60,n(waitloop),Set(TimeLeft=$[${FutureTime} - ${EPOCH}])
> exten => *60,n,GotoIf($[${TimeLeft} < 1]?playbeep)
> exten => *60,n,Wait(1)
> exten => *60,n,Goto(waitloop)
> exten => *60,n(playbeep),Playback(beep)
> exten => *60,n,Wait(5)
> exten => *60,n,Set(NumLoops=$[${NumLoops} + 1])
> exten => *60,n,GotoIf($[${NumLoops} < 5]?start)
> exten => *60,n,Playback(goodbye)
> exten => *60,n,Hangup
>
> ; end of [app-speakingclock]
>
>
> [app-blacklist-check]
> include => app-blacklist-check-custom
> exten => s,1,LookupBlacklist()
> exten => s,n,GotoIf($["${LOOKUPBLSTATUS}"="FOUND"]?blacklisted)
> exten => s,n,Return()
> exten => s,n(blacklisted),Answer
> exten => s,n,Wait(1)
> exten => s,n,Zapateller()
> exten => s,n,Zapateller()
> exten => s,n,Playback(ss-noservice)
> exten => s,n,Hangup
>
> ; end of [app-blacklist-check]
>
>
> [app-blacklist]
> include => app-blacklist-custom
> exten => *30,1,Goto(app-blacklist-add,s,1)
> exten => *32,1,Goto(app-blacklist-last,s,1)
> exten => *31,1,Goto(app-blacklist-remove,s,1)
>
> ; end of [app-blacklist]
>
>
> [app-blacklist-add]
> include => app-blacklist-add-custom
> exten => s,1,Answer
> exten => s,n,Wait(1)
> exten => s,n,Playback(enter-num-blacklist)
> exten => s,n,Set(TIMEOUT(digit)=5)
> exten => s,n,Set(TIMEOUT(response)=60)
> exten => s,n,Read(blacknr,then-press-pound,,,,)
> exten => s,n,SayDigits(${blacknr})
> exten => s,n,Playback(if-correct-press)
> exten => s,n,Playback(digits/1)
> exten => s,n(end),Noop(Waiting for input)
> exten => 1,1,Set(DB(blacklist/${blacknr})=1)
> exten => 1,n,Playback(num-was-successfully)
> exten => 1,n,Playback(added)
> exten => 1,n,Wait(1)
> exten => 1,n,Hangup
>
> ; end of [app-blacklist-add]
>
>
> [app-blacklist-last]
> include => app-blacklist-last-custom
> exten => s,1,Answer
> exten => s,n,Wait(1)
> exten => s,n,Set(lastcaller=${DB(CALLTRACE/${CALLERID(number)})})
> exten => s,n,GotoIf($[ $[ "${lastcaller}" = "" ] | $[ "${lastcaller}" = "unknown" ] ]?noinfo)
> exten => s,n,Playback(privacy-to-blacklist-last-caller)
> exten => s,n,Playback(telephone-number)
> exten => s,n,SayDigits(${lastcaller})
> exten => s,n,Set(TIMEOUT(digit)=3)
> exten => s,n,Set(TIMEOUT(response)=7)
> exten => s,n,Playback(if-correct-press)
> exten => s,n,Playback(digits/1)
> exten => s,n,Goto(end)
> exten => s,n(noinfo),Playback(unidentified-no-callback)
> exten => s,n,Hangup
> exten => s,n(end),Noop(Waiting for input)
> exten => 1,1,Set(DB(blacklist/${lastcaller})=1)
> exten => 1,n,Playback(num-was-successfully)
> exten => 1,n,Playback(added)
> exten => 1,n,Wait(1)
> exten => 1,n,Hangup
>
> ; end of [app-blacklist-last]
>
>
> [app-blacklist-remove]
> include => app-blacklist-remove-custom
> exten => s,1,Answer
> exten => s,n,Wait(1)
> exten => s,n,Playback(entr-num-rmv-blklist)
> exten => s,n,Set(TIMEOUT(digit)=5)
> exten => s,n,Set(TIMEOUT(response)=60)
> exten => s,n,Read(blacknr,then-press-pound,,,,)
> exten => s,n,SayDigits(${blacknr})
> exten => s,n,Playback(if-correct-press)
> exten => s,n,Playback(digits/1)
> exten => s,n(end),Noop(Waiting for input)
> exten => 1,1,dbDel(blacklist/${blacknr})
> exten => 1,n,Playback(num-was-successfully)
> exten => 1,n,Playback(removed)
> exten => 1,n,Wait(1)
> exten => 1,n,Hangup
>
> ; end of [app-blacklist-remove]
>
>
> [cidlookup]
> include => cidlookup-custom
> exten => cidlookup_return,1,LookupCIDName
> exten => cidlookup_return,n,Return()
>
> ; end of [cidlookup]
>
>
> [app-dnd-off]
> include => app-dnd-off-custom
> exten => *79,1,Answer
> exten => *79,n,Wait(1)
> exten => *79,n,Macro(user-callerid,)
> exten => *79,n,dbDel(DND/${CALLERID(number)})
> exten => *79,n,Playback(do-not-disturb&de-activated)
> exten => *79,n,Macro(hangupcall,)
>
> ; end of [app-dnd-off]
>
>
> [app-dnd-on]
> include => app-dnd-on-custom
> exten => *78,1,Answer
> exten => *78,n,Wait(1)
> exten => *78,n,Macro(user-callerid,)
> exten => *78,n,Set(DB(DND/${CALLERID(number)})=YES)
> exten => *78,n,Playback(do-not-disturb&activated)
> exten => *78,n,Macro(hangupcall,)
>
> ; end of [app-dnd-on]
>
>
> [app-recordings]
> include => app-recordings-custom
> exten => *77,1,Macro(user-callerid,)
> exten => *77,n,Wait(2)
> exten => *77,n,Macro(systemrecording,dorecord)
> exten => *99,1,Macro(user-callerid,)
> exten => *99,n,Wait(2)
> exten => *99,n,Macro(systemrecording,docheck)
>
> ; end of [app-recordings]
>
>
> [app-userlogonoff]
> include => app-userlogonoff-custom
> exten => *12,1,Macro(user-logoff,)
> exten => *12,n,Hangup
> exten => *11,1,Macro(user-logon,)
> exten => *11,n,Hangup
> exten => _*11.,1,Macro(user-logon,${EXTEN:3},)
> exten => _*11.,n,Hangup
>
> ; end of [app-userlogonoff]
>
>
> [app-pickup]
> include => app-pickup-custom
> exten => _**.,1,Noop(Attempt to Pickup ${EXTEN:2} by ${CALLERID(num)})
> exten => _**.,n,Pickup(${EXTEN:2})
>
> ; end of [app-pickup]
>
>
> [app-zapbarge]
> include => app-zapbarge-custom
> exten => 888,1,Macro(user-callerid,)
> exten => 888,n,Set(GROUP()=${CALLERID(number)})
> exten => 888,n,Answer
> exten => 888,n,Wait(1)
> exten => 888,n,ZapBarge()
> exten => 888,n,Hangup
>
> ; end of [app-zapbarge]
>
>
> [app-chanspy]
> include => app-chanspy-custom
> exten => 555,1,Macro(user-callerid,)
> exten => 555,n,Answer
> exten => 555,n,Wait(1)
> exten => 555,n,ChanSpy()
> exten => 555,n,Hangup
>
> ; end of [app-chanspy]
>
>
> [ext-test]
> include => ext-test-custom
> exten => 7777,1,Goto(from-pstn,s,1)
> exten => 666,1,Goto(ext-fax,in_fax,1)
> exten => h,1,Macro(hangupcall,)
>
> ; end of [ext-test]
>
>
> [ext-did]
> include => ext-did-custom
> exten => fax,1,Goto(ext-fax,in_fax,1)
> exten => s,1,Set(FROM_DID=s)
> exten => s,n,Gosub(app-blacklist-check,s,1)
> exten => s,n,Set(FAX_RX=disabled)
> exten => s,n,Goto(ext-local,200,1)
> exten => _X.,1,Noop(Catch-All DID Match - Found ${EXTEN} - You probably want a DID for this.)
> exten => _X.,n,Goto(ext-did,s,1)
>
> ; end of [ext-did]
>
>
> [ext-did-direct]
> include => ext-did-direct-custom
> exten => fax,1,Goto(ext-fax,in_fax,1)
>
> ; end of [ext-did-direct]
>
>
> [ext-local]
> include => ext-local-custom
> exten => 200,1,Macro(exten-vm,200,200)
> exten => 200,n,Hangup
> exten => 200,hint,SIP/200
> exten => ${VM_PREFIX}200,1,Macro(vm,200,DIRECTDIAL)
> exten => ${VM_PREFIX}200,n,Hangup
> exten => 202,1,Macro(exten-vm,novm,202)
> exten => 202,n,Hangup
> exten => 202,hint,ZAP/1
> exten => 301,1,Macro(exten-vm,301,301)
> exten => 301,n,Hangup
> exten => 301,hint,SIP/301
> exten => ${VM_PREFIX}301,1,Macro(vm,301,DIRECTDIAL)
> exten => ${VM_PREFIX}301,n,Hangup
>
> ; end of [ext-local]
>
>
> [outbound-allroutes]
> include => outbound-allroutes-custom
> include => outrt-001-9_outside
> exten => foo,1,Noop(bar)
>
> ; end of [outbound-allroutes]
>
>
> [outrt-001-9_outside]
> include => outrt-001-9_outside-custom
> exten => _9.,1,Macro(dialout-trunk,1,${EXTEN:1},,)
> exten => _9.,n,Macro(outisbusy,)
>
> ; end of [outrt-001-9_outside]
>
>
> [app-blackhole]
> include => app-blackhole-custom
> exten => hangup,1,Noop(Blackhole Dest: Hangup)
> exten => hangup,n,Hangup
> exten => zapateller,1,Noop(Blackhole Dest: Play SIT Tone)
> exten => zapateller,n,Answer
> exten => zapateller,n,Zapateller()
> exten => musiconhold,1,Noop(Blackhole Dest: Put caller on hold forever)
> exten => musiconhold,n,Answer
> exten => musiconhold,n,MusicOnHold()
> exten => congestion,1,Noop(Blackhole Dest: Congestion)
> exten => congestion,n,Answer
> exten => congestion,n,Playtones(congestion)
> exten => congestion,n,Congestion
> exten => congestion,n,Hangup
> exten => busy,1,Noop(Blackhole Dest: Busy)
> exten => busy,n,Answer
> exten => busy,n,Playtones(busy)
> exten => busy,n,Busy
> exten => busy,n,Hangup
>
> ; end of [app-blackhole]
>
>
> [from-internal-additional]
> include => from-internal-additional-custom
> include => ext-queues
> include => ext-meetme
> include => app-callwaiting-cwoff
> include => app-callwaiting-cwon
> include => app-cf-busy-off
> include => app-cf-busy-off-any
> include => app-cf-busy-on
> include => app-cf-off
> include => app-cf-off-any
> include => app-cf-on
> include => app-cf-unavailable-off
> include => app-cf-unavailable-on
> include => app-dialvm
> include => app-vmmain
> include => app-calltrace
> include => app-directory
> include => app-echo-test
> include => app-speakextennum
> include => app-speakingclock
> include => app-blacklist
> include => ext-findmefollow
> include => ext-group
> include => app-dnd-off
> include => app-dnd-on
> include => app-recordings
> include => app-userlogonoff
> include => app-pickup
> include => app-zapbarge
> include => app-chanspy
> include => ext-test
> include => ext-local
> include => outbound-allroutes
> exten => h,1,Hangup
>
> ; end of [from-internal-additional]
>
>
>   
> ------------------------------------------------------------------------
>
> ----------------------------------------
> Estação VoIP 2006
> 5 e 6 Dezembro
> Curitiba PR
> http://www.estacaovoip.com.br
>
> _______________________________________________
> LIsta de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>
> _______________________________________________
> Acesse o  wiki AsteriskBrasil.org:
> http://www.asteriskbrasil.org
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20061226/47cf2199/attachment-0001.html


Mais detalhes sobre a lista de discussão AsteriskBrasil