VoIP NetworkVoIP PBXChannel Partners
Quality broadband telephony - Mytel
Login Username: Password:
Mytel Call Rates
On Net
LocalFREE *
NationalFREE *
InternationalFREE *

Off Net
Local10c untimed
Capital Cities10c untimed
Regional10c untimed
Mobiles from14c/min ^
Overseas from2.9c/min

+ see VoIP Pricing Plans
^ with Mobile Advantage
Contact Mytel
Asterisk Support
Asterisk
Please Note

Mytel provides the following information, as a guide only, to assist you in configuring up your SIP or IAX trunk with Asterisk. Mytel offers limited free support for customers running Asterisk, the extent of which is limited to troubleshooting connection issues. Any further support (i.e. local phone configuration, dial plans, etc) would be charged at Mytel's Asterisk Consultancy rates.

How to setup a SIP Trunk with Mytel

Mytel allows you to connect to your SIP Account as SIP Trunk using the open-source PBX Asterisk. To do this, the following entry will need to be made in your 'sip.conf' file.

register => username:password@gw03.mytel.net.au
[mytel]
host=gw03.mytel.net.au
secret=*******
username=******
fromdomain=gw03.mytel.net.au
fromuser=******
type=friend
allow=g729
allow=gsm
dtmfmod=rfc2833

[******]
context=from-sip
host=gw03.mytel.net.au
type=friend
allow=g729
allow=gsm
dtmfmod=rfc2833


;VoIP Extension Password ;VoIP Extension

;VoIP Extension





;VoIP Extension


Where your Mytel VoIP Extension is used as the value for username, fromuser and substituted for username in the register setting. Also, your Mytel VoIP Extension password is used as the value for secret and substituted for password in the register setting.


In order to make a call using your newly created Mytel SIP trunk place the following entry in your 'extensions.conf' file,

exten => _.,1,Dial(SIP/mytel/${EXTEN})
exten => h,1,Hangup



It is also recommened that you assign a static IP address to the PC running Asterisk. Finally, you are required to open up some ports in your firewall and/or create port forwarding rules in your router. How to achieve this will vary depending on what hardware you have. Please open/forward the following ports to the IP address of you Asterisk PC.

SIP:
RTP:
TCP/UDP 5004 - 5082
UDP 10000 - 20000



How to setup a IAX Trunk with Mytel

To configure your IAX account to be used with Asterisk, please enter the following into your 'iax.conf' file.

register => username:password@gw03.mytel.net.au
[******]
type=friend
secret=*******
username=******
host=gw03.mytel.net.au
trunk=yes
context=from-iax
;IAX Username

;IAX Account Password
;IAX Username


Replace username with your Mytel IAX Account Name and password with your Mytel IAX Account Password in the register string. Also, wherever there are ******'s, please replace these with either your Mytel IAX Account Name or Mytel IAX Account Password depending on the comment on that line.


In order to make a call using your newly created Mytel IAX trunk place the following entry in your 'extensions.conf' file, replacing the username with your Mytel IAX Account Name.

exten => _.,1,Dial(IAX2/username/${EXTEN})
exten => h,1,Hangup



It is also recommened that you assign a static IP address to the PC running Asterisk. Finally, you are required to open up a port in your firewall and/or create port forwarding rules in your router. How to achieve this will vary depending on what hardware you have. Please open/forward the following port to the IP address of you Asterisk PC. Please note, that as opposed to SIP you only need to open up one port if you are using IAX.

IAX: UDP 4569




Back