I’ve recently had Vodafone’s FTTH broadband installed and along with the package you get a phone line delivered via VoIP. Unfortunately the way this is delivered is via their router which only allows you to plug a standard phone handset into the back.
I’d like to ditch the supplied router in favour of my own and use a separate FreePBX box to connect to the phone service.
Vodafone (rather surprisingly) supplied me with the following details…
SIP_LINE1_USERNAME - voiXXXXXXXXX SIP_LINE1_PASSWORD - XXXXXXXXXX SIP_LINE1_URI - voiXXXXXXXXX SIP_OUTBOUND_PROXY - 10a.Z4.bbvoice.vodafone . co . uk SIP_REGISTRAR_SERVER - resvoip.vodafone . co . uk
Only problem is I can’t get them to work with either a softphone or old Polycom SoundPoint IP331. Neither the proxy or the registrar server resolve.
I decided to use Wireshark to capture the traffic between the router and the ONT box on the wall which gave me a few clues. Once the router has booted and the connection is up the router first of all does an SRV lookup on the above mentioned proxy address but adds a couple of bits to the address first - ‘_sip._udp.10a.Z4.bbvoice.vodafone . co . uk’
After that following the registration process seems normal but it still uses the ‘resvoip.vodafone . co . uk’ address while registering.
This is the capture of the register packet… (there’s lots of X’s!)
Session Initiation Protocol (REGISTER) Request-Line: REGISTER sip:resvoip.vodafone.co.uk SIP/2.0 Method: REGISTER Request-URI: sip:resvoip.vodafone.co.uk Request-URI Host Part: resvoip.vodafone.co.uk [Resent Packet: False] Message Header From: <sip:voiXXXXXXXXX@resvoip.vodafone.co.uk>;tag=XXXXXXXX-XXXXXXXX-XXXX-XXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX SIP from address: sip:voiXXXXXXXXX@resvoip.vodafone.co.uk SIP from address User Part: voiXXXXXXXXX SIP from address Host Part: resvoip.vodafone.co.uk SIP from tag: XXXXXXXX-XXXXXXXX-XXXX-XXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX To: <sip:voiXXXXXXXXX@resvoip.vodafone.co.uk> SIP to address: sip:voiXXXXXXXXX@resvoip.vodafone.co.uk SIP to address User Part: voiXXXXXXXXX SIP to address Host Part: resvoip.vodafone.co.uk Call-ID: XXXXXXXX-XXXXXXXX-XXXX-XXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX [Generated Call-ID: XXXXXXXX-XXXXXXXX-XXXX-XXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX] CSeq: 1 REGISTER Sequence Number: 1 Method: REGISTER Via: SIP/2.0/UDP X.X.X.X:5065;rport;branch=XXXXXXX-XXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX Transport: UDP Sent-by Address: X.X.X.X Sent-by port: 5065 RPort: rport Branch: XXXXXXX-XXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX Max-Forwards: 70 Supported: replaces,100rel,timer X-Serialnumber: [SERIAL NUMBER OF ROUTER] User-Agent: Vox 3.0v Build 19.2.0307-3261 -- [SERIAL NUMBER OF ROUTER] Expires: 3600 Contact: <sip:voiXXXXXXXXX@X.X.X.X:5065> Contact URI: sip:voiXXXXXXXXX@X.X.X.X:5065 Contact URI User Part: voiXXXXXXXXX Contact URI Host Part: X.X.X.X Contact URI Host Port: 5065 Content-Length: 0
This picture shows the whole sequence. I can post more info from the capture if needed.
Either way, I’m stuck on trying to get the connection working within FreePBX as a chan_sip trunk. Vodafone reckon that I can use 3rd party equipment with the service but so far I haven’t had any luck. If anyone can give me any pointers with this I’d be really grateful.