{"id":1138,"date":"2015-06-24T22:12:48","date_gmt":"2015-06-24T21:12:48","guid":{"rendered":"http:\/\/diablo.craem.net\/?p=1138"},"modified":"2015-06-24T22:12:48","modified_gmt":"2015-06-24T21:12:48","slug":"voip-movistar-fibra-y-asterisk","status":"publish","type":"post","link":"https:\/\/diablo.craem.net\/?p=1138","title":{"rendered":"VoIP movistar fibra y asterisk"},"content":{"rendered":"<p>Esta vez, configuraremos la voip de movistar en nuestro asterisk.<br \/>\nMovistar, con la fibra, nos ofrece un servicio VoIP v\u00ed\u00ada la ONT&#8230;.. si nos conformamos con usarlo tal cual, pues perfecto, pero si tenemos en la oficina o en casa un asterisk, la mejor manera de aprovecharlo, es configurar la voIP en nuestra PBX sin necesidad de usar conversores.<br \/>\nPartimos que tenemos la vlan 3 configurada en nuestro router y obtenemos la IP por DHCP (una 10.x.x.x)<br \/>\nusuario : N\u00fameroDeTel\u00e9fono<br \/>\npassword: N\u00fameroDeTel\u00e9fono<br \/>\nproxy   : 10.31.255.134<br \/>\npuerto  : 5070<br \/>\nlos datos del proxy, si googleamos un poco se pueden obtener, pero la configuraci\u00f3n no&#8230;..<br \/>\nPrimero de todo, necesitamos la cadena del register para el sip.conf<br \/>\n<code><br \/>\nregister => 9xxxxxxxx@telefonica.net:9xxxxxxxx@10.31.255.134:5070\/9xxxxxxxx<br \/>\n<\/code><br \/>\nY ahora la definici\u00f3n del peer:<br \/>\n<code><br \/>\n[VOMISTAR]<br \/>\ntype    =peer<br \/>\nfromuser=9XXXXXXXX<br \/>\nsecret  =9XXXXXXXX<br \/>\nfromdomain=telefonica.net<br \/>\nhost    =telefonica.net<br \/>\ncallerid = \"\" <9XXXXXXXX><br \/>\noutboundproxy=10.31.255.134:5070<br \/>\nport    =5070<br \/>\nnat     =force_rport,comedia<br \/>\ninsecure=port,invite<br \/>\ndtmfmode=auto<br \/>\ndisallow=all<br \/>\nallow   =ulaw<br \/>\nallow   =alaw<br \/>\ncontext =llamadas_entrantes<br \/>\n<\/code><br \/>\nUna vez hecho \u00e9sto y con el correspondiente reload&#8230;&#8230;. al hacer un sip show registry:<br \/>\n<code><br \/>\nprocesspbx*CLI> sip show registry<br \/>\nHost                                    dnsmgr Username       Refresh State                Reg.Time<br \/>\n10.31.255.134:5070                      N      9xxxxxxxx@te        55 Registered           Wed, 24 Jun 2015 23:09:28<br \/>\n1 SIP registrations.<br \/>\n<\/code><br \/>\nA partir de aqu\u00ed\u00ad, ya es cosa nuestra con el diaplan !!!!  enjoy your fiber \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Esta vez, configuraremos la voip de movistar en nuestro asterisk. Movistar, con la fibra, nos ofrece un servicio VoIP v\u00ed\u00ada la ONT&#8230;.. si nos conformamos con usarlo tal cual, pues perfecto, pero si tenemos en la oficina o en casa un asterisk, la mejor manera de aprovecharlo, es configurar la voIP en nuestra PBX sin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[28,81,110],"class_list":["post-1138","post","type-post","status-publish","format-standard","hentry","category-asterisk","category-linux","tag-asterisk-2","tag-ftth","tag-movistar"],"_links":{"self":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/1138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1138"}],"version-history":[{"count":0,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/1138\/revisions"}],"wp:attachment":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}