<?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: How to set up a SIP trunk in the Asterisk PBX</title>
	<atom:link href="http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/feed" rel="self" type="application/rss+xml" />
	<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx</link>
	<description>thoughts, more or less unorganized</description>
	<lastBuildDate>Fri, 06 Jan 2012 03:38:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jungli</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-19754</link>
		<dc:creator>Jungli</dc:creator>
		<pubDate>Fri, 06 Jan 2012 03:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-19754</guid>
		<description>Its really helpful for the beginners like me i love read yor articles bro. :)</description>
		<content:encoded><![CDATA[<p>Its really helpful for the beginners like me i love read yor articles bro. <img src='http://www.beardy.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tamaso</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-19106</link>
		<dc:creator>tamaso</dc:creator>
		<pubDate>Tue, 20 Dec 2011 03:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-19106</guid>
		<description>Hello,

I have been having some serious problem trying to get my asterisk system to register with my sip provider. Could you please help me figure out why I am not able to connect to my sip provider?

[general]
register =&gt; username:password@sip.fooprovider.com

[flowroute] ;keep this lowercase, do not change format
type=friend
secret=passworkd
username=username
host=sip.fooprovider.com
dtmfmode=rfc2833
context=inbound ;change to &#039;ext-did&#039; or &#039;from-trunk&#039; for asterisk@home
canreinvite=no
allow=ulaw
allow=g729
insecure=port,invite
fromdomain=sip.fooprovider.com

Your input on this will be much appreciated.

Thanks 
Tamaso</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have been having some serious problem trying to get my asterisk system to register with my sip provider. Could you please help me figure out why I am not able to connect to my sip provider?</p>
<p>[general]<br />
register =&gt; username:password@sip.fooprovider.com</p>
<p>[flowroute] ;keep this lowercase, do not change format<br />
type=friend<br />
secret=passworkd<br />
username=username<br />
host=sip.fooprovider.com<br />
dtmfmode=rfc2833<br />
context=inbound ;change to &#8216;ext-did&#8217; or &#8216;from-trunk&#8217; for asterisk@home<br />
canreinvite=no<br />
allow=ulaw<br />
allow=g729<br />
insecure=port,invite<br />
fromdomain=sip.fooprovider.com</p>
<p>Your input on this will be much appreciated.</p>
<p>Thanks<br />
Tamaso</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beardy</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-13069</link>
		<dc:creator>beardy</dc:creator>
		<pubDate>Tue, 28 Jun 2011 21:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-13069</guid>
		<description>Magne,
It sounds like you put your &quot;register =&gt;&quot; first in the file? You can&#039;t do that, it has to be within the &quot;[general]&quot; section, within a context preferebly, like in my example above.

Leon,
The configuration for outgoing calls is the section under the &quot;; Register and get calls from Foo Provider&quot; comment in the sip.conf example above. The definition of &quot;fooprovider&quot; (an example provider) is directly underneath, in the &quot;[fooprovider]&quot; section.
These are then used in extensions.conf to make outgoing calls. In my example above, any number dialed starting with a &quot;9&quot; and having more than 5 digits will be routed out to the provider (see the bottom of the example extensions.conf above).</description>
		<content:encoded><![CDATA[<p>Magne,<br />
It sounds like you put your &#8220;register =>&#8221; first in the file? You can&#8217;t do that, it has to be within the &#8220;[general]&#8221; section, within a context preferebly, like in my example above.</p>
<p>Leon,<br />
The configuration for outgoing calls is the section under the &#8220;; Register and get calls from Foo Provider&#8221; comment in the sip.conf example above. The definition of &#8220;fooprovider&#8221; (an example provider) is directly underneath, in the &#8220;[fooprovider]&#8221; section.<br />
These are then used in extensions.conf to make outgoing calls. In my example above, any number dialed starting with a &#8220;9&#8243; and having more than 5 digits will be routed out to the provider (see the bottom of the example extensions.conf above).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-8586</link>
		<dc:creator>Leon</dc:creator>
		<pubDate>Tue, 05 Apr 2011 11:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-8586</guid>
		<description>Hi,

I followed the instructions above. I can only received incoming call.
What is the configuration for outgoing calls?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I followed the instructions above. I can only received incoming call.<br />
What is the configuration for outgoing calls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magne</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-7041</link>
		<dc:creator>Magne</dc:creator>
		<pubDate>Tue, 08 Feb 2011 02:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-7041</guid>
		<description>Hi,

Nice article! 

But i got a problem. When i put register =&gt; blablabla at the top of sip.conf. I get a error message that the sip.conf is invalid. If i remove the line, it works. I know iam writing my line correct. What to do?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Nice article! </p>
<p>But i got a problem. When i put register =&gt; blablabla at the top of sip.conf. I get a error message that the sip.conf is invalid. If i remove the line, it works. I know iam writing my line correct. What to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilles</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-6135</link>
		<dc:creator>Gilles</dc:creator>
		<pubDate>Wed, 15 Dec 2010 14:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-6135</guid>
		<description>Great article!

I did have a problem getting it to work with my VOSP and Asterisk 1.4 (Asterisk and SIP clients behind a NAT router), though: In sip.conf, I had to have two sections (Outgoing and Incoming), and the Outgoing section had to be located before Incoming or I would get a BUSY signal when calling the VOSP number from a cellphone:

&lt;code&gt;
;========== sip.conf
...
register =&gt; myaccount:mypasswd@myvosp.com

[vosp_outgoing]
type=peer
host=myvosp.com
username=myaccount
secret=mypasswd
fromuser=myaccount
fromdomain=myvosp.com
nat=yes
canreinvite=no

[vosp_incoming]
type=peer
host=myvosp.com
context=from_vosp
nat=yes
canreinvite=no

[1234]
type=friend
context=my-phones
secret=5678
host=dynamic
qualify=yes
nat=no

;========== extensions.conf
[from_vosp]
exten =&gt; s,1,Dial(SIP/1234)
exten =&gt; s,n,Hangup()

[my-phones]
exten =&gt; 1234,1,Dial(SIP/1234)
exten =&gt; 1234,n,Hangup()

exten =&gt; _0.,1,Dial(SIP/vosp_outgoing/${EXTEN})
exten =&gt; _0.,n,Hangup()
&lt;/code&gt;

I don&#039;t know the cause of this, but it took me a couple of hours to finally figure out why I could call out but not call in.</description>
		<content:encoded><![CDATA[<p>Great article!</p>
<p>I did have a problem getting it to work with my VOSP and Asterisk 1.4 (Asterisk and SIP clients behind a NAT router), though: In sip.conf, I had to have two sections (Outgoing and Incoming), and the Outgoing section had to be located before Incoming or I would get a BUSY signal when calling the VOSP number from a cellphone:</p>
<p><code><br />
;========== sip.conf<br />
...<br />
register =&gt; myaccount:mypasswd@myvosp.com</p>
<p>[vosp_outgoing]<br />
type=peer<br />
host=myvosp.com<br />
username=myaccount<br />
secret=mypasswd<br />
fromuser=myaccount<br />
fromdomain=myvosp.com<br />
nat=yes<br />
canreinvite=no</p>
<p>[vosp_incoming]<br />
type=peer<br />
host=myvosp.com<br />
context=from_vosp<br />
nat=yes<br />
canreinvite=no</p>
<p>[1234]<br />
type=friend<br />
context=my-phones<br />
secret=5678<br />
host=dynamic<br />
qualify=yes<br />
nat=no</p>
<p>;========== extensions.conf<br />
[from_vosp]<br />
exten =&gt; s,1,Dial(SIP/1234)<br />
exten =&gt; s,n,Hangup()</p>
<p>[my-phones]<br />
exten =&gt; 1234,1,Dial(SIP/1234)<br />
exten =&gt; 1234,n,Hangup()</p>
<p>exten =&gt; _0.,1,Dial(SIP/vosp_outgoing/${EXTEN})<br />
exten =&gt; _0.,n,Hangup()<br />
</code></p>
<p>I don&#8217;t know the cause of this, but it took me a couple of hours to finally figure out why I could call out but not call in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MW</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-5735</link>
		<dc:creator>MW</dc:creator>
		<pubDate>Mon, 29 Nov 2010 18:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-5735</guid>
		<description>Great article! I really hope you&#039;ll write some more! Easy to understand and follow. I&#039;d really like to see an article like this about all the config files and options. Bookmarked immediately! It&#039;s hard to find information that&#039;s to the point like this for us who don&#039;t have much experience.

Thank You!</description>
		<content:encoded><![CDATA[<p>Great article! I really hope you&#8217;ll write some more! Easy to understand and follow. I&#8217;d really like to see an article like this about all the config files and options. Bookmarked immediately! It&#8217;s hard to find information that&#8217;s to the point like this for us who don&#8217;t have much experience.</p>
<p>Thank You!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asterisk Server with SIP Account Routing to Cell Phones</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-5577</link>
		<dc:creator>Asterisk Server with SIP Account Routing to Cell Phones</dc:creator>
		<pubDate>Wed, 24 Nov 2010 10:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-5577</guid>
		<description>[...] about how to do this at the voip-info.org site: sip.conf and extension.conf). This other link seems to be a good example of what you [...]</description>
		<content:encoded><![CDATA[<p>[...] about how to do this at the voip-info.org site: sip.conf and extension.conf). This other link seems to be a good example of what you [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beardy</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-5046</link>
		<dc:creator>beardy</dc:creator>
		<pubDate>Thu, 09 Sep 2010 15:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-5046</guid>
		<description>Thank you for your comment Jp.
You are absolutely right. I must have made a copypaste error or just not checking properly when assembling the full config at the end. I have corrected it now, the full config now corresponds to the rest. 
Thanks for observing and pointing it out, I appreciate it. I must have been tired when finishing the article.

Apologies to anyone following it not getting correct information. I hope you return and see the correction.</description>
		<content:encoded><![CDATA[<p>Thank you for your comment Jp.<br />
You are absolutely right. I must have made a copypaste error or just not checking properly when assembling the full config at the end. I have corrected it now, the full config now corresponds to the rest.<br />
Thanks for observing and pointing it out, I appreciate it. I must have been tired when finishing the article.</p>
<p>Apologies to anyone following it not getting correct information. I hope you return and see the correction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jp</title>
		<link>http://www.beardy.se/how-to-set-up-a-sip-trunk-in-the-asterisk-pbx/comment-page-1#comment-4980</link>
		<dc:creator>Jp</dc:creator>
		<pubDate>Mon, 23 Aug 2010 10:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.beardy.se/?p=451#comment-4980</guid>
		<description>Is it just me or is there a discrepancy between the article and the full config files at the bottom? They don&#039;t seem to match up and the full config doesn&#039;t seem to have any rules for incoming?

-jp</description>
		<content:encoded><![CDATA[<p>Is it just me or is there a discrepancy between the article and the full config files at the bottom? They don&#8217;t seem to match up and the full config doesn&#8217;t seem to have any rules for incoming?</p>
<p>-jp</p>
]]></content:encoded>
	</item>
</channel>
</rss>

