Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


joshp

205 posts

Master Geek

Trusted
WorldxChange

#17174 15-Nov-2007 14:53
Send private message

Hi All,

Included below are some basic parameters to get your Asterisk server registering with our VFX platform, this is not intended as a walk through for configuring Asterisk from start to finish, but intended to get the registration and ability to call out via WorldxChange working. The following information assumes that you currently have a working knowledge of Asterisk and its configuration files, I’m sure others will be able to help with any other settings they find, but these are some of the settings we require as a minimum.
You will need to edit your Asterisk configuration files, below are examples for vanilla Asterisk and Trixbox:

Asterisk Configuration Details

Edit your Sip.conf file and add the following:

[General]

port = 5060
dtmfmode = rfc2833
disallow=all
allow=alaw
allow=ulaw
allow=g729 ; (G729 is a licensed Codec and must be licensed and enabled on your box if adding this line to your config)

registertimeout = 20
regseconds = 180

[VFX]

type=peer
fromdomain=pan.wxnz.net
fromuser=VFXNumber ; this is your VFX Number without the leading 0 i.e. 9950XXXX
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=PASSWORD
username=USERID

register=VFXNumber:PASSWORD:USERID@pan.wxnz.net/VFXNumber

Trixbox Configuration Details

Edit your Sip.conf file and add the following:

[General]

port = 5060
dtmfmode = rfc2833
disallow=all
allow=alaw
allow=ulaw
allow=g729 ; (G729 is a licensed Codec and must be licensed and enabled on your box if adding this line to your config)

registertimeout = 20
regseconds = 180

Edit your Sip_additional.conf file and add the following: 

[VFX]

type=peer
fromdomain=pan.wxnz.net
fromuser=VFXNumber ; this is your VFX Number without the leading 0 i.e. 9950XXXX
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=PASSWORD
username=USERID

register=VFXNumber:PASSWORD:USERID@pan.wxnz.net/VFXNumber



FreePBX Configuration Details

Edit your trunk peer settings add the following: 

[VFX]

disallow=all
allow=alaw&ulaw&g722   <- codec settings will depend on what you want to support incl video
type=peer
dtmfmode=rfc2833
fromdomain=pan.wxnz.net
fromuser=VFXNumber ; this is your VFX Number without the leading 0 i.e. 9950XXXX
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=PASSWORD
username=USERID

In the register area enter the following

VFXNumber:PASSWORD:USERID@pan.wxnz.net/VFXNumber


Note that as of Asterisk 1.8 nat=yes is now repreciated. You should use what is appropriate for your setup (while nat=yes will still work other settings may be more appropriate)


Also as a quick note.. Thank you to our VFX Asterisk Testers, your assistance has helped us get to where we are now.. :)

[Moderator edit (tonyhughes): Working step by step Trixbox VFX trunk settings here, and then this guide for installing Trixbox from scratch incl VFX]

[Mod (N8): Added disclaimer for licensing of G729 codec]




Create new topic
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #95367 15-Nov-2007 15:16
Send private message

joshp:

 

Also as a quick note.. Thank you to our VFX Asterisk Testers, your assistance has helped us get to where we are now.. :)


Will we be on the WxC xmas card list this year? :-)



nate
6473 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

#95387 15-Nov-2007 18:10
Send private message

sbiddle:
joshp:

 

Also as a quick note.. Thank you to our VFX Asterisk Testers, your assistance has helped us get to where we are now.. :)


Will we be on the WxC xmas card list this year? :-)


Josh will shout you all beers Money mouth

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #95401 15-Nov-2007 19:50
Send private message

nate:
sbiddle:
joshp:

 

Also as a quick note.. Thank you to our VFX Asterisk Testers, your assistance has helped us get to where we are now.. :)


Will we be on the WxC xmas card list this year? :-)


Josh will shout you all beers Money mouth


Even better. When is the WxC Xmas party? Smile



coffeebaron
6234 posts

Uber Geek

Trusted
Lifetime subscriber

  #95406 15-Nov-2007 20:02
Send private message

And I'll shout the coffee Laughing




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer - one month free: https://www.starlink.com/?referral=RC-32845-88860-71 
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com


chris021
227 posts

Master Geek

Trusted

  #95407 15-Nov-2007 20:02
Send private message

sbiddle:
nate:
sbiddle:
joshp:

 

Also as a quick note.. Thank you to our VFX Asterisk Testers, your assistance has helped us get to where we are now.. :)


Will we be on the WxC xmas card list this year? :-)


Josh will shout you all beers Money mouth


Even better. When is the WxC Xmas party? Smile


That sounds like fun!

Fraktul
836 posts

Ultimate Geek

Trusted

  #95423 15-Nov-2007 22:56
Send private message

Interesting to note u-law being used when E1's use a-law...means it needs to be transcoded at their interconnect points if you forced it to u-law.

maverick
3594 posts

Uber Geek

Trusted
WorldxChange

  #95444 16-Nov-2007 07:32
Send private message

Fraktul: Interesting to note u-law being used when E1's use a-law...means it needs to be transcoded at their interconnect points if you forced it to u-law.



Yes interesting isn't it Laughing good to see a TDM guy around here looking at that, I wonder why........let the educated quessing begin Wink




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
Fraktul
836 posts

Ultimate Geek

Trusted

  #95509 16-Nov-2007 12:29
Send private message

I'm sure you have your reasons Wink

mruane
420 posts

Ultimate Geek


  #96609 23-Nov-2007 18:21
Send private message

Hi

Has anyone created a successful incoming route for their VFX Asterisk trunk. I have yet to get that to work. Outgoing is just fine and there is evidence of the incoming call reaching the box but its not being handled by the Route I have created. A working example would be great.

Cheers Mike

EDIT:
All fixed now. The instructions (in the sticky) to add allow=g729 was what caused my problems with the VFX trunk and one other. The Trixbox IVR system could not respond using g729. Removing that line from the [General] section of the SIP.CONF file fixed the problem and all is now back to normal - but with a great quality VFX trunk.

Cheers Mike

maverick
3594 posts

Uber Geek

Trusted
WorldxChange

  #96723 24-Nov-2007 15:44
Send private message

mruane: Hi

Has anyone created a successful incoming route for their VFX Asterisk trunk. I have yet to get that to work. Outgoing is just fine and there is evidence of the incoming call reaching the box but its not being handled by the Route I have created. A working example would be great.

Cheers Mike

EDIT:
All fixed now. The instructions (in the sticky) to add allow=g729 was what caused my problems with the VFX trunk and one other. The Trixbox IVR system could not respond using g729. Removing that line from the [General] section of the SIP.CONF file fixed the problem and all is now back to normal - but with a great quality VFX trunk.

Cheers Mike


Thanks for this, G729 is used in our networks but is a licensed codec, if you don't have it available in some of these systems it can cause problems, will need to  look at this.




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #96755 24-Nov-2007 21:59
Send private message

maverick:
mruane: Hi

Has anyone created a successful incoming route for their VFX Asterisk trunk. I have yet to get that to work. Outgoing is just fine and there is evidence of the incoming call reaching the box but its not being handled by the Route I have created. A working example would be great.

Cheers Mike

EDIT:
All fixed now. The instructions (in the sticky) to add allow=g729 was what caused my problems with the VFX trunk and one other. The Trixbox IVR system could not respond using g729. Removing that line from the [General] section of the SIP.CONF file fixed the problem and all is now back to normal - but with a great quality VFX trunk.

Cheers Mike


Thanks for this, G729 is used in our networks but is a licensed codec, if you don't have it available in some of these systems it can cause problems, will need to  look at this.


Trixbox and Asterisk default installs will do G.729 passthru but can't transcode, ie your phone hooked up to Asterisk is speaking G.729 you will be fine as it can pass that thru without transcoding it. If your phone is set for something else it needs to transcode.

It's only US$10 for a Digium licence (single channel only) or there is a free G.729 implimentation available.



mruane
420 posts

Ultimate Geek


  #96831 25-Nov-2007 14:18
Send private message

Thanks sbiddle and maverick.

Is the G729 codec a better option than either the ulaw or alaw options?  Guess I am trying to work out if its worth the effort of obtaining and loading the codec, certainly the cost is not an issue, but unless there's a significant benefit from a call quality point of view, it might not be worth the trouble.

Your thoughts would be worthwhile.

Cheers Mike

maverick
3594 posts

Uber Geek

Trusted
WorldxChange

  #96851 25-Nov-2007 16:25
Send private message

G729 is smaller packet codec, uses less bandwidth and is handles latency and jitter better than the G711, the G711 codecs are a higher quality but come at a price more bandwidth almost 3 times in some cases,  they are primiraly a TDM / WAN codec as they do not handle the latency and jitter as well as G729 so G729 is slighter better suited for NZ DSL conditions,




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.