Using a VOIP Line for DUN

DUN, or Dial Up Networking is what we all used to do in the 90’s to get onto the internet.  Using a Modem and the Public Switched Telephone Network (PSTN) you could dial-in to another computer or your ISP to transfer data in the digital domain.  Today hardly anyone uses Modems over the PSTN, but some systems still require to be able to dial over the telephone network.  With leased lines, cable and DSL you may find you do not have a traditional phone line available or accessible to utilise. However, the internet is everywhere and VOIP (Voice Over Internet Protocol) has been around a long time so why not use a modem to dialup over a VOIP line.

Traditionally VOIP lines utilise very small bandwidths, in the region of 16kbs, but as bandwidth is becoming cheaper and line speeds are increasing it is now possible to get VOIP lines that can handle up to a single 64kbs stream.  That is plenty to do V.90 or V.92 session which nearly all modems will support.  With some very cheap hardware you will be able to setup a telephone line that can support a modem dial out.

First you will need an internet VOIP provider that supports G711a or G711u protocols.   The provider will also need to provide a termination point in the UK.

20090608184611Also you will need a phone adapter, to enable you to plug your modem (or STB) into what it thinks is a regular phone line but to have the call handled in the IP domain.  The most cost effective unit is the Linksys PAP2.  You can pick these up for around £20 (less than 2 months line rental with most phone-line providers).

Please refer to your service provider for the exact setup details for your line.  You then only have to make a few modifications that will be outlined below.

You need to change the preferred codec to either G711u or G711a, you may find one works better than the other, u-Law is preferred (actually it’s mu-law, and should be the Greek letter μ).  You have to select ‘yes’ to ‘Use Pref Codec Only’.  On the right hand side you should select ‘No’ to all the echo cancellation and detection options.  All other options not highlighted can be left as default or how Sipgate show them.

 

image

That should be it.  You’ll have to check your line is up by calling in on your number.  Then check you can dial out too.  If all is well then so long as you have the available bandwidth and a clean internet connection then a modem dialup should work just fine.

I’ve tested this successfully with a UK Sky HD+ Box, a PAP2T and and my VOIP line running over a Virgin Media cable connection.  Feel free to post in the comments what worked for you.

Advertisements

12 thoughts on “Using a VOIP Line for DUN

  1. good guide here, what virgin connection where you using? Fiber Optic?

  2. […] Continued here: Using a VOIP Line for DUN | Albal's Blog […]

  3. Paul Sheraton says:

    Hello can you confirm the precise model of SKY HD box you have I am a virgin media customer and a voipfone.co.uk customer and have been trying to get call back working for well over a year with no success. Does the phone number CLI of the voip number have to be registered with sky to work? Cheers Paul

    • Al says:

      The model I am using is the Amstrad DRX980. You need to ensure all echo detection or anything else that may interfere with FAX/Data calls is turned off. It’s imperative you use G711a/u law.

  4. Ok thanks ive ordered another PAP2 as I sold my old on on ebay ill give it another go i may post back if I get stuck 🙂

  5. cheesypeteza says:

    Thanks for the info, can you tell us which voip service you used? I’ll only be using the voip service for this, so ideally I want the cheapest.

  6. tonyhoyle says:

    I got it working with caveats:

    1. You have to change the pap2t to use UK settings if yours isn’t already – I used the regional settings from http://www.velocityreviews.com/forums/t304117-pap2-uk-settings.html

    2. Playing with the FXO input and output gain makes a huge difference. With an input port gain of -5 and and output port gain of -4 I was able to keep the sky box online for 1.5 minutes before it failed – more than enough for a callback (30-40 secs) and enough to even do a bill check. With tweaking I expect it could last much longer.

    • Al says:

      Thanks for the feedback – some useful information there.

    • tonyhoyle says:

      Some more experiments..

      Set jitter level to medium, jitter buffer adjustment up and down
      Change RTP Packet size to 0.0010

      I’m now able to stay online seemingly indefinitely. 🙂

      • cheesypeteza says:

        Thanks for the settings. I tried them all. I still couldn’t connect. Eventually I tried changing the codec from G711U to G711A and it started working perfectly, no drops. Weird as I thought G711U is what standard BT lines use, but anyway I am happy now.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: