<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>BOA TARDE GALERA<br><br>ESTOU TESTANDO A FUNÇÃO WAITFORNOISE E WAITFORSILENCE <br><br>gostaria de usar esta função para identificar se quem atende as ligações que disparo é um humano ou é caixa postal.<br><br>enfim<br><br>utilizei as duas funções<br>no waitforsilence<br>quando disparo a ligação para meu celular , ao atender ja começo a falar ! porem o sistema entende como silencio como abaixo<br>-- Executing [1067@ramalsimples:3] NoOp("SIP/189.76.171.5:5060-00000047", "") in new stack<br> -- Executing [1067@ramalsimples:4] WaitForSilence("SIP/189.76.171.5:5060-00000047", "1600,5,4") in new stack<br> -- Waiting 5 time(s) for 1600 ms silence with 4 timeout<br> > Got 1600ms silence < 1600ms required<br> -- Exiting with 1600ms silence >= 1600ms
required<br> > Got 1600ms silence < 1600ms required<br> -- Exiting with 1600ms silence >= 1600ms required<br> > Got 1600ms silence < 1600ms required<br> -- Exiting with 1600ms silence >= 1600ms required<br> > Got 1600ms silence < 1600ms required<br> -- Exiting with 1600ms silence >= 1600ms required<br> > Got 1600ms silence < 1600ms required<br> -- Exiting with 1600ms silence >= 1600ms required<br> -- Executing [1067@ramalsimples:5] NoOp("SIP/189.76.171.5:5060-00000047", "SILENCE") in new stack<br> -- Executing [1067@ramalsimples:6] NoOp("SIP/189.76.171.5:5060-00000047", "message-when-human") in new stack<br> -- Executing [1067@ramalsimples:7]
Hangup("SIP/189.76.171.5:5060-00000047", "") in new stack<br><br><br>com o waitfor noise é a mesma coisa<br>quando atendo faço silencio total e eles diz que detectou barulho<br><br>-- Executing [1067@ramalsimples:4] WaitForNoise("SIP/189.76.171.5:5060-00000048", "1600,5,4") in new stack<br> -- Waiting 5 time(s) for 1600 ms silence with 4 timeout<br> > Got 1600ms noise < 1600ms required<br> -- Exiting with 1600ms noise >= 1600ms required<br> > Got 1600ms noise < 1600ms required<br> -- Exiting with 1600ms noise >= 1600ms required<br> > Got 1600ms noise < 1600ms required<br> -- Exiting with 1600ms noise >= 1600ms required<br> > Got 1600ms noise < 1600ms required<br> -- Exiting with 1600ms
noise >= 1600ms required<br> > Got 1600ms noise < 1600ms required<br> -- Exiting with 1600ms noise >= 1600ms required<br> -- Executing [1067@ramalsimples:5] NoOp("SIP/189.76.171.5:5060-00000048", "NOISE") in new stack<br> -- Executing [1067@ramalsimples:6] NoOp("SIP/189.76.171.5:5060-00000048", "message-when-human") in new stack<br> -- Executing [1067@ramalsimples:7] Hangup("SIP/189.76.171.5:5060-00000048", "") in new stack<br><br><br>alguém tem alguma dica doque pode ser ? <br><br><br>obrigado<br><br></td></tr></table>