Upgrade 3CX to v18 and get it hosted free!

How To register Asterisk server as a SIP client to PortaOne

Author image

How to register Asterisk server as a SIP client to PortaOne

If you purchased a DID from PortaOne http://www.portaone.com/ and want to use it with Asterisk PBX, there are two ways

First -> to have mapping between your IP and DID

Second one -> to register Asterisk as a SIP client to PortaOne with username and password

This is the second way

(This work with latest SVN version of Asterisk)
I suppose that you have DID (Your-PortaOne-DID) from PortaOne and a password (YourPassword)

in sip.conf
section
[general]


register=>Your-PortOne-DID:YourPassword@portasip01.worldline.ca/Your-PortOne-DID

peers, and friends lives here 🙂

…….

[Your-PortaOne-DID]
type=friend
qualify=yes
nat=yes
dtmfmode=RFC2833
insecure=port,invite ; This Do The Magic
canreinvite=no
secret=YourPassword
username=Your-PortaOne-DID
fromdomain=portasip01.worldline.ca
host=portasip01.worldline.ca
disallow=all
allow=ulaw
allow=alaw

in extensions.conf

[default]

exten =>Your-PortaOne-DID,1,Answer
exten => Your-PortaOne-DID,n,Playback(demo-abouttotry); Let them know what’s going on
exten => Your-PortaOne-DID,n,Dial(IAX2/guest@misery.digium.com/s@default) ; Call the Asterisk demo
exten => Your-PortaOne-DID,n,Playback(demo-nogo) ; Couldn’t connect to the demo site
exten => Your-PortaOne-DID,n,Goto(s,6)

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.