no momento, o codigo se encontra em: extensions.conf<br><br>[from-sip-external]<br>exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to ${EXTEN})<br>exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})<br>
exten => _.,n,Goto(s,1)<br>exten => s,1,GotoIf($["${ALLOW_SIP_ANON}"="yes"]?checklang:noanonymous)<br>exten => s,n(checklang),GotoIf($["${SIPLANG}"!=""]?setlanguage:from-trunk,${DID},1)<br>
exten => s,n(setlanguage),Set(CHANNEL(language)=${SIPLANG})<br>exten => s,n,Goto(from-trunk,${DID},1)<br>exten => s,n(noanonymous),Set(TIMEOUT(absolute)=15)<br>exten => s,n,Answer<br>exten => s,n,Wait(2)<br>
exten => s,n,Playback(ss-noservice)<br>exten => s,n,Playtones(congestion)<br>exten => s,n,Congestion(5)<br>exten => h,1,Hangup<br>exten => i,1,Hangup<br>exten => t,1,Hangup<br><br>;====================================================================renato=================================================================<br>
<br>exten => 666,n,Answer<br>;exten => MP3Player(/var/lib/asterisk/moh/test.mp3)<br>exten => 666,n,MusicOnHold(minhaMP3)<br>exten => 666,n,WaitMusicOnHold(20)<br>exten => 666,n,Hangup<br><br>