SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ichiltonOffline



Joined: Aug 30, 2004
Posts: 514
Location: UK
Status: Offline
Posted: Jan 19, 2005 - 02:06 PM Reply with quote Back to top
The easiest way to use VoIP User's phone numbers with the Asterisk PBX is using IAX termination.

After requesting a number, edit the that number.
First click on the selector next to the box for IAX2/ and enter this in the text box:
voipuser:test@pbx.voipuser.org

Where:
voipuser is the username
test is the password/secret
and pbx.voipuser.org is the hostname of the Asterisk PBX

Now, edit iax.conf on your Asterisk PBX:

[voipuser]
username=voipuser
secret=test
type=user
context=inbound-voipuser

..and extensions.conf:

The number will come in, via the international number format so the first 0 is replaced by 44.

[inbound-voipuser]
exten => 44870123456,1,Dial(SIP/myphone,20)
exten => 44870123456,2,Voicemail2(u12)
exten => 44870123456,3,HangUp

This will make myphone ring for 20 seconds and in case of busy/unavailble it will go to voicemail. Obviously you need to change 44870123456 for your number.

If you are behind a NAT/firewall, you'll need port 4569 forwarding in.

The following codec's are supported and known to work:
g711u (ulaw)
g711a (alaw)
gsm
ilbc


If you have any problems getting this setup and working (or any questions/comments) - please feel free to post in the forum.

--ian
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   Reply to topic
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.