{"id":62,"date":"2010-08-18T20:00:58","date_gmt":"2010-08-18T23:00:58","guid":{"rendered":"http:\/\/blog.digavoip.com.br\/2010\/08\/18\/ouvir-latencia-de-um-ramal\/"},"modified":"2010-08-18T20:00:58","modified_gmt":"2010-08-18T23:00:58","slug":"ouvir-latencia-de-um-ramal","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=62","title":{"rendered":"Ouvir lat\u00eancia de um ramal"},"content":{"rendered":"<p>exten => _345xxx,1,Set(ping=${SIPPEER(${EXTEN:3}:status))<br \/>\nexten => _345xxx,n,SayAlpha(${ping:3})<br \/>\nexten => _345xxx,n,Hangup()<\/p>\n<p>Outra forma para n\u00e3o ser preciso digitar o ramal, ligando dele automaticamente j\u00e1 se ouve para ele.<\/p>\n<p>exten => _#11,1,Set(ping=${SIPPEER(${CALLERID(num)},status)})<br \/>\nexten => _#11,2,NoOp(Test latency to ${CALLERID(num)}\/${SIPPEER(${CALLERID(num)})})<br \/>\nexten => _#11,n,Answer()<br \/>\nexten => _#11,n,SayAlpha(${ping:4:$[${LEN(${ping:4})}-1]}) ;o tamanho<br \/>\nda string -1 para tirar o par\u00eantese.<br \/>\nexten => _#11,n,Hangup()<\/p>\n","protected":false},"excerpt":{"rendered":"<p>exten => _345xxx,1,Set(ping=${SIPPEER(${EXTEN:3}:status)) exten => _345xxx,n,SayAlpha(${ping:3}) exten => _345xxx,n,Hangup() Outra forma para n\u00e3o ser preciso digitar o ramal, ligando dele automaticamente j\u00e1 se ouve para ele. exten => _#11,1,Set(ping=${SIPPEER(${CALLERID(num)},status)}) exten => _#11,2,NoOp(Test latency to ${CALLERID(num)}\/${SIPPEER(${CALLERID(num)})}) exten => _#11,n,Answer() exten => _#11,n,SayAlpha(${ping:4:$[${LEN(${ping:4})}-1]}) ;o tamanho da string&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/62"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=62"}],"version-history":[{"count":0,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/62\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}