stuff.... random stuff....


Asterisk VFX Howto

, posted: 15-Nov-2007 10:10

Now that WxC have 'SoftLaunched' their VFX service to asterisk i though it might be nice to post some of my config that made it work (for me)!

This is my first Blog post so bear/beer with me!

I am running asterisk 1.4.11 or something similar.

VFX is different to most connections you will have configued with Asterisk as they require 3 things:

- username
- password
- authid

Most providers only require 2.

ok now down to business

SIP.CONF:

register => 995035xx:<THIS IS THE PASS>:<THIS IS THE AUTHID>@as.wxcnz.net/995035xx

[VFX]
fromdomain=as.wxcnz.net
fromuser=995035xx ; this is your VFX Number
host=as.wxcnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=
type=peer
username=

You MUST have 'fromuser=' in there or else the system will not let you make calls. Also this must be your number don't bother trying to spoof your callerid. It doesn't work!

Also you should have canreinvite=no set or else you will be sending an extra invite the WxC doesn't like... it may still work, but WxC won't be happy (thanks Josh)


The other trap that i found was that the host as.wxcnz.net is not a valid DNS entry. This may have been corrected, however if it hasn't you will need to create an entry like this:

in /etc/hosts add the follwing line:

58.28.20.150    as.wxcnz.net

As per normal you can add all the usual codec deny and allow stuff i use ulaw and works fine, i have also used G729 with VFX and found to be very good, but im fussy so im sticking to ulaw.

I think that pretty much sums it up... feel free to ask me any questions if you get stuck!


Chris021







Comment by maverick, on 15-Nov-2007 10:42

Argh the old as.wxcnz.net DNS issue - this is not a resolvable address from Public IP's, so this entry is needed for devices that do not support OBP.
(Out Bound Proxy - This is a Session Border Controller Element that helps protect the network) 


chris021's profile

Chris Hoffmann
New Zealand


Areas of Interest:
VoIP
Network Security
Computer Forensics
Scanning
Photography

Twitter:


Top 10 Posts

Review: MS Surface RT - 3 days...
(7-Nov-2012 17:58, 9682 views)
Wiki Wiki on the wall who's th...
(28-Feb-2008 21:17, 8392 views)
HELICOPTER vs Light PLANE CRAS...
(17-Feb-2008 12:00, 8058 views)
My half week affair with the H...
(14-Jun-2008 15:48, 7951 views)
DHL you make me angry!...
(6-Jun-2008 17:41, 7629 views)
Why I don't like CAA today...
(21-May-2011 19:26, 7506 views)
The mysterious UBCT9...
(15-Nov-2007 22:17, 7229 views)
Gisborne, NZ Earthquake 6.8...
(20-Dec-2007 22:46, 6785 views)
Asterisk VFX Howto...
(15-Nov-2007 10:10, 6763 views)
SPA3102 no echo out of the box...
(16-Nov-2007 16:07, 6597 views)