<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Juanphy&#039;s Blog</title>
	<atom:link href="http://juanphywastaken.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://juanphywastaken.wordpress.com</link>
	<description>~ tra la la ~</description>
	<lastBuildDate>Sun, 20 Nov 2011 23:17:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='juanphywastaken.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/7c03dbf5aa01c6b6592f3d2916c09c86?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Juanphy&#039;s Blog</title>
		<link>http://juanphywastaken.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://juanphywastaken.wordpress.com/osd.xml" title="Juanphy&#039;s Blog" />
	<atom:link rel='hub' href='http://juanphywastaken.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Changing the logo on a Yealink T26</title>
		<link>http://juanphywastaken.wordpress.com/2010/01/12/changing-the-logo-on-a-yealink-t26/</link>
		<comments>http://juanphywastaken.wordpress.com/2010/01/12/changing-the-logo-on-a-yealink-t26/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 18:55:46 +0000</pubDate>
		<dc:creator>juanphywastaken</dc:creator>
				<category><![CDATA[Yealink T26P]]></category>

		<guid isPermaLink="false">http://juanphywastaken.wordpress.com/?p=51</guid>
		<description><![CDATA[These instructions will probably work on a T28  by changing only the image resolution. While reading the phone&#8217;s manual I found out that you could in fact change the phone&#8217;s logo as opposed to what i thought before. I think I had firmware 6.39.x.x and on the manual that came with the CD with instrucctions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=51&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These instructions will probably work on a T28  by changing only the image resolution.</p>
<p>While reading the phone&#8217;s manual I found out that you could in fact change the phone&#8217;s logo as opposed to <a title="getting to know the T26" href="http://juanphywastaken.wordpress.com/2010/01/08/getting-to-know-yealink/" target="_blank">what i thought before</a>. I think I had firmware 6.39.x.x and on the manual that came with the CD with instrucctions on how to customize the logo.</p>
<p>Unfortunately the instructions talked about a program that did not come on the CD and a menu which did not exist on my phone&#8217;s configuration page. I decided to update the phone&#8217;s firmware and browse the net for that program.</p>
<p>As of January the 12th 2010 the latest firmware on <a title="Yealink Support" href="http://www.yealink.com/en/download.asp?BigClassName=IP%20Phone" target="_blank">yealink&#8217;s page</a> is 6.41.0.10. The update added new languages and the menu I was missing, although it wasn&#8217;t called Phone -&gt; Function -&gt; Logo as the manual says but Phone -&gt; <em>Features</em> -&gt; Upload Logo *.tar.gz (The pixel &lt; 132*64)</p>
<p>The name is pretty self explanatory but having tried a previous version of the firmware I had a different set of instructions. In those instructions there was no mention of a tar.gz file and I think the resolution was different too&#8230;</p>
<p>I also found the required program to convert the bmp file into a format understood by the phone but it didn&#8217;t have a .bat file that I needed to create the .tar.gz  so I had to create it myself, following the correct folder structure which I didn&#8217;t really know about.</p>
<p>Anyway, here&#8217;s what you have to do:</p>
<ol>
<li>Create your logo. If you&#8217;re working on a T26 like me the resolution should not exceed 132 x 64 pixels and it should only be in black and white. If you&#8217;re working with the T28 then the resolution goes up to 320 x 160 pixels and you can add two levels of gray (so 4 colors in total).</li>
<li>Download the <a title="PictureExDemo" href="http://cid-4f025bbc4a29f87f.skydrive.live.com/self.aspx/Public/PExDemo.zip" target="_blank">conversion program</a>. Don&#8217;t forget to run it in Vista compatibility mode if you&#8217;re using Windows 7.</li>
<li>Execute PictureExDemo.exe, add the bmp file and click on Convert:<a href="http://juanphywastaken.files.wordpress.com/2010/01/pictureexdemo1.jpg"><img class="aligncenter size-full wp-image-60" title="PictureExDemo" src="http://juanphywastaken.files.wordpress.com/2010/01/pictureexdemo1.jpg?w=398&#038;h=298" alt="PictureExDemo" width="398" height="298" /></a>The program will create a.dob file  in the adv folder.</li>
<li>You can now edit the file advertising.index located in the adv folder. It contains the name of the logo file and the time in milliseconds it will be displayed on the screen.</li>
<li>Now comes the tricky part, the manual says you should execute a .bat file. But I didn&#8217;t have that file so you have to manually create the .tar.gz file with the correct folder hierarchy. First download <a title="7-zip" href="http://www.7-zip.org/" target="_blank">7zip</a> or use tar if you can move your files to a linux PC. Then compress <em>the entire</em> adv folder which contains the advertising.index and .dob file (include the folder in the compression).</li>
<li>Browse to the phone&#8217;s IP, select Phone and then Features. At the end of the page you will be able to browse your PC and select the .tar.gz file:<a href="http://juanphywastaken.files.wordpress.com/2010/01/t26p-upload-logo.jpg"><img class="aligncenter size-full wp-image-55" title="T26P upload logo" src="http://juanphywastaken.files.wordpress.com/2010/01/t26p-upload-logo.jpg?w=397&#038;h=309" alt="Uploading your brand new logo" width="397" height="309" /></a>So browse for your file and click upload.</li>
<li>The file will be uploaded and if everything worked as supposed to you will see your new logo on your phone after 10 seconds or so of inactivity.</li>
</ol>
<p>It&#8217;s a good feature not present in most IP phones, unfortunately the image is displayed as a screen saver and is not visible unless there is not activity on the phone for 10 seconds, in which case you also lose the time and date normally displayed on the screen for the duration configured on the advertising.index file.</p>
<p>It&#8217;s still a pretty nice feature though.</p>
<p>UPDATE: It seems the .tar.gz file route has been removed by firmware 6.42.0.30  on my T26P, now you can  upload directly the .dob picture. But no rotating banners I guess.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/juanphywastaken.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/juanphywastaken.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/juanphywastaken.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/juanphywastaken.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/juanphywastaken.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/juanphywastaken.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/juanphywastaken.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/juanphywastaken.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/juanphywastaken.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/juanphywastaken.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/juanphywastaken.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/juanphywastaken.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/juanphywastaken.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/juanphywastaken.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=51&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://juanphywastaken.wordpress.com/2010/01/12/changing-the-logo-on-a-yealink-t26/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713a2fb7f15b17acb3da6d5f20e7d222?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">juanphywastaken</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2010/01/pictureexdemo1.jpg" medium="image">
			<media:title type="html">PictureExDemo</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2010/01/t26p-upload-logo.jpg" medium="image">
			<media:title type="html">T26P upload logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting to know Yealink</title>
		<link>http://juanphywastaken.wordpress.com/2010/01/08/getting-to-know-yealink/</link>
		<comments>http://juanphywastaken.wordpress.com/2010/01/08/getting-to-know-yealink/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 21:26:24 +0000</pubDate>
		<dc:creator>juanphywastaken</dc:creator>
				<category><![CDATA[Yealink T26P]]></category>

		<guid isPermaLink="false">http://juanphywastaken.wordpress.com/?p=44</guid>
		<description><![CDATA[So, yesterday we got a visit from one of our providers to talk about a new alternative on the IP Phone department. We normally only work with Polycom and Aastra phones because of the quality, versatility and the brand itself. But we have to understand that not all clients are ready to pay double the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=44&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, yesterday we got a visit from one of our providers to talk about a new alternative on the IP Phone department.</p>
<p>We normally only work with Polycom and Aastra phones because of the quality, versatility and the brand itself. But we have to understand that not all clients are ready to pay double the price of their phones when other resellers are offering them very cheap alternatives that allegedly do the same thing. We worked with Grandstream a while ago but decided we didn&#8217;t want to compromise support and stability in such a way for price.</p>
<p>So we decided to look at Yealink phones because we&#8217;ve heard some good things about them and there&#8217;s a good price difference that might allow us to compete in different markets.</p>
<p>Yealink has 4 main levels of SIP Phones, high level phones like the T28, medium level (T26) and entry level (T20, T22&#8230;), plus video phones which I don&#8217;t know much about. There are also very basic level phones (T9, T12&#8230;) but I&#8217;m now going to discuss those here.</p>
<p>I&#8217;m working right now with a T26P (the P is for PoE) and I&#8217;m waiting for a T20 next week so I can check it out too.</p>
<div id="attachment_45" class="wp-caption aligncenter" style="width: 310px"><a href="http://juanphywastaken.files.wordpress.com/2010/01/t26.jpg"><img class="size-medium wp-image-45" title="T26P" src="http://juanphywastaken.files.wordpress.com/2010/01/t26.jpg?w=300&#038;h=214" alt="T26P" width="300" height="214" /></a><p class="wp-caption-text">Yeastar T26P</p></div>
<p>There are some pretty obvious similarities with <a title="Cisco 7940G" href="http://www.cisco.com/en/US/products/hw/phones/ps379/ps1854/prod_view_selector.html" target="_blank">Cisco Phones</a>, the menu also looks a lot like the one in <a title="Polycom IP330" href="http://www.envisioned-solutions.com/zen/images/large_soundpoint_ip330.jpg" target="_self">Polycom</a> phones. Keyboard is responsive (thought now as much as Polycom&#8217;s) but I the keys are a little jumpy.</p>
<p>Configuring the phone is as easy as configuring a Grandstream, it can all be made via web, even ring tones, BLF, background light&#8230; But it can also be centrally configured via TFTP or FTP. Another good thing is that all those phones support wideband codec G722, even entry level phones like the T20. They also have two Ethernet ports for switching, the second port can even work as a router which not that many phones do lately.</p>
<p>Audio quality on my first test was pretty good and the 13 configurable keys are very useful for some BLF or speed dials (or using the 3 accounts that can be configured on the phone). Transfering calls and conferencing is easily done via the menu screen and the phone has most of the normal and most useful keys (hold, mute, redial&#8230;).</p>
<p>On the other hand, the phone does not support EHS (Electronic Hook Switch) as most of the Polycoms do and it doesn&#8217;t seem I can change the background picture on the screen, maybe on a future firmware update.</p>
<p>I&#8217;ll continue to work on the phone but right now I&#8217;m pretty excited about it, I&#8217;ll begin to work on auto provisioning and XML applications next&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/juanphywastaken.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/juanphywastaken.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/juanphywastaken.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/juanphywastaken.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/juanphywastaken.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/juanphywastaken.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/juanphywastaken.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/juanphywastaken.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/juanphywastaken.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/juanphywastaken.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/juanphywastaken.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/juanphywastaken.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/juanphywastaken.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/juanphywastaken.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=44&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://juanphywastaken.wordpress.com/2010/01/08/getting-to-know-yealink/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713a2fb7f15b17acb3da6d5f20e7d222?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">juanphywastaken</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2010/01/t26.jpg?w=300" medium="image">
			<media:title type="html">T26P</media:title>
		</media:content>
	</item>
		<item>
		<title>Incoming call problems when Asterisk is behind a Linksys WRP400</title>
		<link>http://juanphywastaken.wordpress.com/2009/12/16/incoming-call-problems-when-asterisk-is-behind-a-linksys-wrp400/</link>
		<comments>http://juanphywastaken.wordpress.com/2009/12/16/incoming-call-problems-when-asterisk-is-behind-a-linksys-wrp400/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 22:51:02 +0000</pubDate>
		<dc:creator>juanphywastaken</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Linksys WRP400]]></category>

		<guid isPermaLink="false">http://juanphywastaken.wordpress.com/?p=38</guid>
		<description><![CDATA[The Linksys WRP400 is a pretty good router, it doesn&#8217;t stray too far from the average WRT54G but it allows you to map external/internal ports (which is pretty nice if you need to have SSH access but don&#8217;t want to open port 22 or use some kind of VPN) AND it has 2 FXS ports. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=38&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://juanphywastaken.files.wordpress.com/2009/12/1011177218.jpg"><img class="alignleft size-thumbnail wp-image-39" title="WRP400" src="http://juanphywastaken.files.wordpress.com/2009/12/1011177218.jpg?w=89&#038;h=89" alt="Linksys WRP400" width="89" height="89" /></a></p>
<p>The Linksys WRP400 is a pretty good router, it doesn&#8217;t stray too far from the average WRT54G but it allows you to map external/internal ports (which is pretty nice if you need to have SSH access but don&#8217;t want to open port 22 or use some kind of VPN) AND it has 2 FXS ports.</p>
<p>The FXS addition is nice (although having extensions that register and have two-way audio when your Asterisk service is behind the WRP400 is pretty tricky and obscure) but they can cause a little bit of a problem if you tray to register SIP extensions that are anywhere on the Internet. Unless you change just a couple of things on the router&#8217;s configuration.</p>
<p>So, you configure the router&#8217;s public IP address, you redirect ports 5060 and 10000-20000 towards your Asterisk&#8217;s private IP, you configure sip_nat.conf (or sip_general_custom.conf) with the corresponding externip and required locanets, but when you try to register your remote phone (or softphone) you receive  a message &#8220;404 Not Found&#8221;. If you put some traffic analyzer in your remote office you&#8217;ll see that you are indeed receiving a 404 from your Asterisk&#8217;s public IP, from port 5060, to your original REGISTER message&#8230;</p>
<p>So, what happened? The thing is, even if you are redirecting UDP port 5060 to your Asterisk&#8217;s private IP, your router will keep intersecting SIP messages destined towards it because the &#8220;Line 1&#8243; extension listens by default on port 5060 and will say that no one is supposed to register on it, it&#8217;s not a SIP registrar&#8230; So the messages never reach your Asterisk server and the phone never registers. You just need to log to your router, access the voice configuration menu (with admin privileges) and change &#8220;Line 1&#8243; &#8216;s SIP Port to something different from 5060, 5070 for example (carefull with 5061 as it&#8217;s for Line 2)</p>
<p>The thing I see with the WRP400 is that it seems they cramed an SPA2102 inside the WRP54G&#8217;s firmware, it&#8217;s like there&#8217;s no connection between the two, separate users/passwords, configuration, even presentation&#8230; Which seems halfhearted but hey&#8230; It works. Just try avoiding putting your Asterisk server behind this router otherwise you&#8217;ll experience this kind of problems, and I haven&#8217;t talked about working with those FXS ports&#8230;</p>
<p>Anyway&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/juanphywastaken.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/juanphywastaken.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/juanphywastaken.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/juanphywastaken.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/juanphywastaken.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/juanphywastaken.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/juanphywastaken.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/juanphywastaken.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/juanphywastaken.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/juanphywastaken.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/juanphywastaken.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/juanphywastaken.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/juanphywastaken.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/juanphywastaken.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=38&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://juanphywastaken.wordpress.com/2009/12/16/incoming-call-problems-when-asterisk-is-behind-a-linksys-wrp400/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713a2fb7f15b17acb3da6d5f20e7d222?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">juanphywastaken</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2009/12/1011177218.jpg?w=150" medium="image">
			<media:title type="html">WRP400</media:title>
		</media:content>
	</item>
		<item>
		<title>You could&#8230;</title>
		<link>http://juanphywastaken.wordpress.com/2009/12/16/25/</link>
		<comments>http://juanphywastaken.wordpress.com/2009/12/16/25/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 20:06:35 +0000</pubDate>
		<dc:creator>juanphywastaken</dc:creator>
				<category><![CDATA[Portech Dual SIM GSM Gateway]]></category>

		<guid isPermaLink="false">http://juanphywastaken.wordpress.com/?p=25</guid>
		<description><![CDATA[I&#8217;m having some issues with a PorTech Dual SIM GSM/SIP Gateway which we installed 6 months ago or something. It was working fine until a couple of days ago we received some complaints it was losing outgoing audio randomly&#8230; I&#8217;ve checked the phones and the server, it seems to be hardware related. It&#8217;s the first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=25&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://juanphywastaken.files.wordpress.com/2009/12/portech_small.jpg"><img class="alignleft size-full wp-image-26" title="Portech_small" src="http://juanphywastaken.files.wordpress.com/2009/12/portech_small.jpg?w=65&#038;h=65" alt="The little gateway that could" width="65" height="65" /></a> I&#8217;m having some issues with a PorTech Dual SIM GSM/SIP Gateway which we installed 6 months ago or something. It was working fine until a couple of days ago we received some complaints it was losing outgoing audio randomly&#8230;</p>
<p>I&#8217;ve checked the phones and the server, it seems to be hardware related. It&#8217;s the first time this thing happens to one of those gateways which might not be very pretty (at least now they don&#8217;t use those brown cardboard boxes) but work quite alright, if you can tweak a couple of things here and there.</p>
<p>Anyway, I was thinking about resetting to factory defaults to help with the problem and saw this:</p>
<div id="attachment_27" class="wp-caption aligncenter" style="width: 310px"><a href="http://juanphywastaken.files.wordpress.com/2009/12/you-sure.jpg"><img class="size-medium wp-image-27" title="you sure??" src="http://juanphywastaken.files.wordpress.com/2009/12/you-sure.jpg?w=300&#038;h=245" alt="for real?" width="300" height="245" /></a><p class="wp-caption-text">Are you sure??</p></div>
<p>Well I mean, you <em>could</em> click&#8230; but why would you??</p>
<p>I just thought it was funny&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/juanphywastaken.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/juanphywastaken.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/juanphywastaken.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/juanphywastaken.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/juanphywastaken.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/juanphywastaken.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/juanphywastaken.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/juanphywastaken.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/juanphywastaken.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/juanphywastaken.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/juanphywastaken.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/juanphywastaken.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/juanphywastaken.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/juanphywastaken.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=25&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://juanphywastaken.wordpress.com/2009/12/16/25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713a2fb7f15b17acb3da6d5f20e7d222?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">juanphywastaken</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2009/12/portech_small.jpg" medium="image">
			<media:title type="html">Portech_small</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2009/12/you-sure.jpg?w=300" medium="image">
			<media:title type="html">you sure??</media:title>
		</media:content>
	</item>
		<item>
		<title>Hangup detection with an SPA3102</title>
		<link>http://juanphywastaken.wordpress.com/2009/12/16/hangup-detection-with-an-spa3102/</link>
		<comments>http://juanphywastaken.wordpress.com/2009/12/16/hangup-detection-with-an-spa3102/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 17:24:13 +0000</pubDate>
		<dc:creator>juanphywastaken</dc:creator>
				<category><![CDATA[Linksys SPA3102]]></category>

		<guid isPermaLink="false">http://juanphywastaken.wordpress.com/?p=13</guid>
		<description><![CDATA[Configuring an SPA3102 for accurate disconnect tone detection using sigview as a signal analyser.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=13&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So. Polarity detection is a great way of signaling that a line has been hanged up. Unless your telco doesn&#8217;t use it&#8230; Which might probably be the case if you live in a country outside the United States like me.</p>
<p>Enter the Disconnect Tone detection in the SPA3102. It allows the SPA to listen to the line waiting for the busy tone that the telco sends you after the other party hanged up the phone.</p>
<p>How could you know if you&#8217;re having disconnection problems on Asterisk? Just make a call to your server through the line connected to the SPA (with you cellphone for example), answer it somehow (on another phone, an IVR, a queue&#8230;) and then hangup the initial call (hangup on the cellphone). Now start counting how many seconds asterisk keeps the channel active&#8230; If it&#8217;s more than 10 you probably have a problem&#8230;</p>
<p>Now, there are many ways of obtaining the parameters of your disconnect tone, for example:</p>
<ol>
<li>Asking your telco. Results may vary depending on the telco&#8230;</li>
<li>Using an oscilloscope or some kind of signal processing hardware. Maybe a little expensive&#8230;</li>
<li>Searching for your tone in this <a title="World PSTN Tone Database" href="http://www.3amsystems.com/wireline/tone-search.htm" target="_blank">tone database</a> (you might have to register but it&#8217;s free). This could really help you understand all the parameters that you have to configure in the SPA (as you can format the tone as &#8220;Sipura/linksys&#8221;) You might either find the tone you&#8217;re looking for or at least you can look for one that is alike. This is not the most accurate way of doing it but you might get lucky&#8230;</li>
<li>Measuring the tone&#8217;s parameters manually. Check out <a title="Translate your disconnect tone" href="http://forum.voxilla.com/linksys-sipura-voip-support-forum/translating-your-disconnect-tone-12874.html" target="_blank">this link</a>. I think this is the most reliable way of doing it, specially if you use sigview (which is free for a limited time) as it will give you a very accurate cadence and frequence values.</li>
</ol>
<p>There&#8217;s a very extensive guide on the link I provided and here are some screenshots of how sigview works, courtesy of my friend Luis:</p>
<div id="attachment_15" class="wp-caption aligncenter" style="width: 310px"><a href="http://juanphywastaken.files.wordpress.com/2009/12/seleccion-del-tono.jpg"><img class="size-medium wp-image-15   " title="Tone selection" src="http://juanphywastaken.files.wordpress.com/2009/12/seleccion-del-tono.jpg?w=300&#038;h=187" alt="Sigview tone selection" width="300" height="187" /></a><p class="wp-caption-text">Selecting a couple of tones for measurement</p></div>
<div id="attachment_17" class="wp-caption aligncenter" style="width: 310px"><a href="http://juanphywastaken.files.wordpress.com/2009/12/calculo-de-duracion-tono-y-silencio1.jpg"><img class="size-medium wp-image-17 " title="Tone and silence duration" src="http://juanphywastaken.files.wordpress.com/2009/12/calculo-de-duracion-tono-y-silencio1.jpg?w=300&#038;h=187" alt="Measurement of tone and silence duration" width="300" height="187" /></a><p class="wp-caption-text">Measuring in detail the tone&#39;s duration</p></div>
<div id="attachment_18" class="wp-caption aligncenter" style="width: 310px"><a href="http://juanphywastaken.files.wordpress.com/2009/12/frecuencia-fundamental-del-espectro-del-tono.jpg"><img class="size-medium wp-image-18 " title="Frequencies" src="http://juanphywastaken.files.wordpress.com/2009/12/frecuencia-fundamental-del-espectro-del-tono.jpg?w=300&#038;h=187" alt="Measuring frequencies" width="300" height="187" /></a><p class="wp-caption-text">Measuring the tone&#39;s fequencies</p></div>
<p>With this method we went from hanging up after more than 20 seconds to less than 5&#8230; Before the changes, in some cases, the channels remained active for hours and hours and Asterisk kept recording those calls so we found recordings that were bigger than 400MB and our client&#8217;s hard drive was becoming full daily&#8230;</p>
<p>So, the links in this post might help you with an SPA3102 but the sigview measurements will help you with any kind of PSTN gateway like an AudioCodes&#8230; But configuring those is a far different beast.</p>
<p>Until next time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/juanphywastaken.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/juanphywastaken.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/juanphywastaken.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/juanphywastaken.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/juanphywastaken.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/juanphywastaken.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/juanphywastaken.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/juanphywastaken.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/juanphywastaken.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/juanphywastaken.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/juanphywastaken.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/juanphywastaken.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/juanphywastaken.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/juanphywastaken.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=13&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://juanphywastaken.wordpress.com/2009/12/16/hangup-detection-with-an-spa3102/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713a2fb7f15b17acb3da6d5f20e7d222?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">juanphywastaken</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2009/12/seleccion-del-tono.jpg?w=300" medium="image">
			<media:title type="html">Tone selection</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2009/12/calculo-de-duracion-tono-y-silencio1.jpg?w=300" medium="image">
			<media:title type="html">Tone and silence duration</media:title>
		</media:content>

		<media:content url="http://juanphywastaken.files.wordpress.com/2009/12/frecuencia-fundamental-del-espectro-del-tono.jpg?w=300" medium="image">
			<media:title type="html">Frequencies</media:title>
		</media:content>
	</item>
		<item>
		<title>juanphy was taken&#8230; but life goes on</title>
		<link>http://juanphywastaken.wordpress.com/2009/12/14/juanphy-was-taken-but-life-goes-on/</link>
		<comments>http://juanphywastaken.wordpress.com/2009/12/14/juanphy-was-taken-but-life-goes-on/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 17:25:14 +0000</pubDate>
		<dc:creator>juanphywastaken</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://juanphywastaken.wordpress.com/?p=9</guid>
		<description><![CDATA[Hello, My name is Juanhy, I&#8217;ve been working with VoIP and particularly with Asterisk for almost two years now and thought this could be a nice way of telling everybody about the problems and solutions I&#8217;ve found along the way. For those completely lost, Asterisk is a great and extremely powerfull application which acts as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=9&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>My name is Juanhy, I&#8217;ve been working with VoIP and particularly with Asterisk for almost two years now and thought this could be a nice way of telling everybody about the problems and solutions I&#8217;ve found along the way.</p>
<p>For those completely lost, Asterisk is a great and extremely powerfull application which acts as a PBX (software PBX). It was created by Marc Spencer 10 years ago and allows communication between phones through many IP protocols including SIP, SCCP, IAX, H323&#8230; It can also connect to the outside world (otherwise it wouldn&#8217;t be much of a PBX) through PSTN lines, SIP trunks, E1/T1&#8230;</p>
<p>Working with Asterisk has been a great experience so far but given the huge amount of platforms, operators, protocols, and types of users, problems are bound to happen. There&#8217;s a great Asterisk community out there to help you and I figured this blog could allow me to provide some light on some obscure problems but also keep track of all the things that have happened/keep hapening to me so I won&#8217;t forget them all, I&#8217;ve been working on this for some time now but I keep learning new things every day!</p>
<p>So, here we go&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/juanphywastaken.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/juanphywastaken.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/juanphywastaken.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/juanphywastaken.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/juanphywastaken.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/juanphywastaken.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/juanphywastaken.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/juanphywastaken.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/juanphywastaken.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/juanphywastaken.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/juanphywastaken.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/juanphywastaken.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/juanphywastaken.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/juanphywastaken.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=juanphywastaken.wordpress.com&amp;blog=10916784&amp;post=9&amp;subd=juanphywastaken&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://juanphywastaken.wordpress.com/2009/12/14/juanphy-was-taken-but-life-goes-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/713a2fb7f15b17acb3da6d5f20e7d222?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">juanphywastaken</media:title>
		</media:content>
	</item>
	</channel>
</rss>
