SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rgowerOffline
Site Admin


Joined: Jan 21, 2005
Posts: 1361
Location: Wales
Status: Offline
Posted: Oct 27, 2005 - 12:33 AM Reply with quote Back to top
Asterisk @ Home is a marvellously easy to set up, except when it doesn't work.
Setting up with Voipuser causes a lot of people some grief, so here we offer a configuration that works.

These settings are known to work for AAH up to 1.7

-------------------

From the AMP setup screen select Trunks and Add SIP Trunk

Go to Outgoing Settings
For the Trunk Name enter 'voipuserout'
In the panel below enter:
Quote:
canreinvite=no
context=from-pstn
fromdomain=voipuser.org
fromuser=Username
host=sip.voipuser.org
insecure=very
qualify=no
secret=Voipuser password
type=peer
username=username


Leave the Inbound entries blank
---------------------

Enter DID Route and select Add DID
The DID number to enter here is 44(Voipuser number without the zero e.g. 8444321321)
Select the destination as you wish
Save the entry.
----------------------

Go to Outbound Routing and Add Route
Give the route a name and create a dial pattern.
Something like this is good for dialing national and international, while using a 9 for selecting out bound calls
Quote:
9|0.

Finally select the trunk Voipuserout
And save the route

You can now click the red bar at the top of the screen to load the configuration.
----------------------

Now we can create the Inbound Context for the account
Go to the AMP Maintenance panel and select Config Edit (it opens a new window)
Scroll down the list on the left until you find sip.conf and click
In the text window scroll to the bottom and enter:
Quote:
[voipuser]
type=friend
context=from-pstn
username=username
secret=password
host=sip.voipuser.org
fromuser=username
fromdomain=voipuser.org
insecure=very
qualify=no

Update this and click on the link to /etc/asterisk at the top of the now blank screen
----------------------

Scroll down until you find the entry sip_nat.conf
Here you can enter you network details which will usually include:
Quote:
nat=yes
externip=Connection IP
localnet=Internal network/Subnet

and add your register string at the bottom:
Quote:
register=>username:password@voipuser.org/Your DID number as used above

Update these changes and select Re-Read Configs
-------------------

Subject to the membership delay, firewall and port forwarding settings, you should have a working connection.

You can check that you have registered with VoipUser by selecting Asterisk Info from the AMP Maintenance screen. You should see something like this
Quote:
voipuser.org:5060 rgower 105 Registered

under SIP Peers
---------------------

Edit 2/11/05
If there are problems receiving calls, try replacing host=sip.voipuser.org with voipuser.org in the [voipuser] context in sip.conf
Any faults, better solutions, or requests for simillar VoipUser based guides, please drop me a PM


Last edited by rgower on Jul 27, 2006 - 10:19 PM; edited 2 times in total
View user's profile Send private message
rgowerOffline
Site Admin


Joined: Jan 21, 2005
Posts: 1361
Location: Wales
Status: Offline
Posted: Jul 27, 2006 - 10:16 PM Reply with quote Back to top
Setting up AAH 2.8 and TrixBox 1.+

Needed to do this for months, but the working mind has been aimed at writing ERP than telephone systems. Still, better late than never and appologies for the slow response

-------------------

From the AMP setup screen select Trunks and Add SIP Trunk

Go to Outgoing Settings
For the Trunk Name enter 'voipuserout'
In the panel below enter:
Quote:
canreinvite=no
context=from-pstn
fromdomain=voipuser.org
fromuser=Username
host=sip.voipuser.org
insecure=very
qualify=no
secret=Voipuser password
type=friend
username=username


Leave the Inbound entries blank
---------------------

Enter Inbound Routing and select Add Incoming Route
The DID number to enter here is 44(Voipuser number without the zero e.g. 8444321321)
Leave Caler ID Number blank, unless you want to get clever.
Best to disable Fax handling. VoipUser does not support fax over IP (yet?)
Select the destination as you wish
Save the entry.
----------------------

Go to Outbound Routing and Add Route
Give the route a name and create a dial pattern.
Something like this is good for dialing national and international, while using a 9 for selecting out bound calls
Quote:
9|0.

Finally select the trunk Voipuserout
And save the route

You can now click the red bar at the top of the screen to load the configuration.
----------------------

Now we can create the Inbound Context for the account
Go to the AMP Maintenance panel and select Config Edit (it opens a new window)

Scroll down until you find the entry sip_nat.conf
Here you can enter you network details which will usually include:
Quote:
nat=yes
externip=Connection IP
localnet=Internal network/Subnet

and add your register string at the bottom:
Quote:
register=>username:password@voipuser.org/Your DID number as used above

Update these changes and select Re-Read Configs
-------------------

Subject to the membership delay, firewall and port forwarding settings, you should have a working connection.

You can check that you have registered with VoipUser by selecting Asterisk Info from the Trixbox Maintenance screen. You should see something like this
Quote:
voipuser.org:5060 rgower 105 Registered

under SIP Peers
---------------------[/b]
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   This topic is locked: you cannot edit posts or make replies.
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.