<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Configuring Asterisk &#8211; Part 2</title>
	<atom:link href="http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2/feed" rel="self" type="application/rss+xml" />
	<link>http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2</link>
	<description>The universe according to Loom</description>
	<lastBuildDate>Tue, 13 Jul 2010 05:06:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: loom</title>
		<link>http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2/comment-page-1#comment-2225</link>
		<dc:creator>loom</dc:creator>
		<pubDate>Tue, 13 Jul 2010 05:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.loomiverse.net/?p=69#comment-2225</guid>
		<description>The dialing rules I set up in &lt;a href=&quot;http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4&quot; rel=&quot;nofollow&quot;&gt;Part 4&lt;/a&gt; are for Australian phone numbers, essentially:

&lt;code&gt;[dial-out]
exten =&gt; 000,1,Dial(SIP/PennyTel/000)
exten =&gt; _0011,1,Dial(SIP/PennyTel/${EXTEN:4})
exten =&gt; _0NXXXXXXXX,1,Dial(SIP/PennyTel/61${EXTEN:1})
exten =&gt; _ZXXXXXXX,1,Dial(SIP/PennyTel/613${EXTEN})
exten =&gt; _1300XXXXXX,1,Dial(SIP/PennyTel/61${EXTEN})
exten =&gt; _1800XXXXXX,1,Dial(SIP/PennyTel/61${EXTEN})&lt;/code&gt;


To dial internationally, we dial 0011 then a country code, then a number
Otherwise we have a ten digit phone number starting with a zero, or an 8 digit number starting with non-zero, depending on a bunch of stuff.

You will need to change this to the way things are done in (I assume) the US.

Something like this

&lt;code&gt;exten =&gt; 911,1,Dial(SIP/PennyTel/911)
exten =&gt; _011,1,Dial(SIP/PennyTel/${EXTEN})
exten =&gt; _ZXXXXXXXXX,1,Dial(SIP/PennyTel/{EXTEN})&lt;/code&gt;

The specifics will depend on how your VOIP provider expects numbers to arrive and other special numbers you want to handle.  You could block ranges of numbers if you wanted.
The key to writing these things is understanding what the different characters mean.

&lt;a href=&quot;http://www.voip-info.org/wiki/view/Asterisk+Dialplan+Patterns&quot; rel=&quot;nofollow&quot;&gt;More here&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>The dialing rules I set up in <a href="http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4" rel="nofollow">Part 4</a> are for Australian phone numbers, essentially:</p>
<p><code>[dial-out]<br />
exten => 000,1,Dial(SIP/PennyTel/000)<br />
exten => _0011,1,Dial(SIP/PennyTel/${EXTEN:4})<br />
exten => _0NXXXXXXXX,1,Dial(SIP/PennyTel/61${EXTEN:1})<br />
exten => _ZXXXXXXX,1,Dial(SIP/PennyTel/613${EXTEN})<br />
exten => _1300XXXXXX,1,Dial(SIP/PennyTel/61${EXTEN})<br />
exten => _1800XXXXXX,1,Dial(SIP/PennyTel/61${EXTEN})</code></p>
<p>To dial internationally, we dial 0011 then a country code, then a number<br />
Otherwise we have a ten digit phone number starting with a zero, or an 8 digit number starting with non-zero, depending on a bunch of stuff.</p>
<p>You will need to change this to the way things are done in (I assume) the US.</p>
<p>Something like this</p>
<p><code>exten => 911,1,Dial(SIP/PennyTel/911)<br />
exten => _011,1,Dial(SIP/PennyTel/${EXTEN})<br />
exten => _ZXXXXXXXXX,1,Dial(SIP/PennyTel/{EXTEN})</code></p>
<p>The specifics will depend on how your VOIP provider expects numbers to arrive and other special numbers you want to handle.  You could block ranges of numbers if you wanted.<br />
The key to writing these things is understanding what the different characters mean.</p>
<p><a href="http://www.voip-info.org/wiki/view/Asterisk+Dialplan+Patterns" rel="nofollow">More here</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2/comment-page-1#comment-2224</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Mon, 12 Jul 2010 06:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.loomiverse.net/?p=69#comment-2224</guid>
		<description>Very useful info and site. Have been successful in setting Asterisk on my router. Following your guide, I was able to setup Internal , and Incoming calls.
But no luck with outgoing calls, as it complaining extensions 9162342354 rejected (out of state friends number).

In Part 2, you used &quot;from-trunk&quot;, which one does it correspond to.

Thanks,
Al</description>
		<content:encoded><![CDATA[<p>Very useful info and site. Have been successful in setting Asterisk on my router. Following your guide, I was able to setup Internal , and Incoming calls.<br />
But no luck with outgoing calls, as it complaining extensions 9162342354 rejected (out of state friends number).</p>
<p>In Part 2, you used &#8220;from-trunk&#8221;, which one does it correspond to.</p>
<p>Thanks,<br />
Al</p>
]]></content:encoded>
	</item>
</channel>
</rss>
