[AsteriskBrasil] AsteriskNOW - add extensions

Renato Henrique Feitosa Rodrigues renato.engtelecom em gmail.com
Quinta Agosto 2 15:32:20 BRT 2012


no momento, o codigo se encontra em: extensions.conf

[from-sip-external]
exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to
${EXTEN})
exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})
exten => _.,n,Goto(s,1)
exten => s,1,GotoIf($["${ALLOW_SIP_ANON}"="yes"]?checklang:noanonymous)
exten =>
s,n(checklang),GotoIf($["${SIPLANG}"!=""]?setlanguage:from-trunk,${DID},1)
exten => s,n(setlanguage),Set(CHANNEL(language)=${SIPLANG})
exten => s,n,Goto(from-trunk,${DID},1)
exten => s,n(noanonymous),Set(TIMEOUT(absolute)=15)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,Playtones(congestion)
exten => s,n,Congestion(5)
exten => h,1,Hangup
exten => i,1,Hangup
exten => t,1,Hangup

;====================================================================renato=================================================================

exten => 666,n,Answer
;exten => MP3Player(/var/lib/asterisk/moh/test.mp3)
exten => 666,n,MusicOnHold(minhaMP3)
exten => 666,n,WaitMusicOnHold(20)
exten => 666,n,Hangup
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20120802/2f756ea4/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil