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.



204 posts

Master Geek
+1 received by user: 1

Trusted
WorldxChange

Topic # 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:[email protected]/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:[email protected]/VFXNumber

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
19285 posts

Uber Geek
+1 received by user: 1155

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 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? :-)

3bit.com
5802 posts

Uber Geek
+1 received by user: 129

Moderator
Trusted
Subscriber

Reply # 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




19285 posts

Uber Geek
+1 received by user: 1155

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 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

3519 posts

Uber Geek
+1 received by user: 815

Trusted
Subscriber

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

And I'll shout the coffee Laughing




Chorus has spent $1.4 billion on making their ADSL broadband network faster. Why not spend a couple of hundred to make sure you are getting the most out of your connection?
Geekzone special price: $150* for master splitter install, normally $200+ through your ISP. Auckland and Waikato areas.
*Travel charges may apply. Additional costs may apply for complex installs.
I install - Naked DSL, DSL Master Splitters, VoIP, RBI Rural Broadband. Also a dealer for WorldxChange.
Need help in Auckland or Waikato? Click my email button, or email me direct: [my user name] at geekzonemail dot com

193 posts

Master Geek
+1 received by user: 1

Trusted

  Reply # 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!

835 posts

Ultimate Geek

Trusted

  Reply # 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.

3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 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

835 posts

Ultimate Geek

Trusted

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

I'm sure you have your reasons Wink

405 posts

Ultimate Geek
+1 received by user: 2

Subscriber

  Reply # 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

3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 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

19285 posts

Uber Geek
+1 received by user: 1155

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 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.



405 posts

Ultimate Geek
+1 received by user: 2

Subscriber

  Reply # 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

3558 posts

Uber Geek
+1 received by user: 60

Trusted
WorldxChange

  Reply # 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




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Lightbox press event release
Created by freitasm, last reply by steve98 on 2-Aug-2014 10:25 (136 replies)
Pages... 8 9 10


New Mobile plans coming?
Created by nunasdream, last reply by Quibbler on 1-Aug-2014 19:57 (108 replies)
Pages... 6 7 8


Are IT staff supposed to know everything
Created by BTR, last reply by Dingbatt on 2-Aug-2014 08:42 (41 replies)
Pages... 2 3


2010 Honda Jazz, Suzuki Swift - which has higher maintenance cost?
Created by joker97, last reply by jonathan18 on 31-Jul-2014 10:47 (76 replies)
Pages... 4 5 6


Hierarchy of a mistake: Gerry Brownlee
Created by joker97, last reply by DonGould on 29-Jul-2014 21:57 (93 replies)
Pages... 5 6 7


Does acupuncture work?
Created by timmmay, last reply by timmmay on 1-Aug-2014 19:22 (52 replies)
Pages... 2 3 4


"keyless" keys - questions
Created by joker97, last reply by MadEngineer on 30-Jul-2014 22:02 (35 replies)
Pages... 2 3


Dick Smith in Continual Sale Mode
Created by Dynamic, last reply by mattwnz on 1-Aug-2014 21:31 (95 replies)
Pages... 5 6 7



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.

Alternatively, you can receive a daily email with Geekzone updates.