How to get BT Home Hub to simply forward UDP 5060?

Discussion in 'UK VOIP' started by Mark Carroll, Sep 5, 2013.

  1. Mark Carroll

    Mark Carroll Guest

    I am trying to get a BT Home Hub running software version 8.1.H.U (Type
    A) to forward incoming UDP 5060 to an computer on the LAN running a SIP
    client. Is there a trick to persuading them to do that? Once set in the
    port forwarding configuration, other ports come through unmolested, but
    it seems to be trying to grab 5060 for itself (some SIP-ALG thing
    maybe), which is rather messing up my attempts to get the VoIP client
    working. Do I just have to give up and buy a different modem/router or
    can this one be persuaded to stop messing with the SIP stuff and just
    pass it on?

    (Hmmm, I wonder if it's messing with outbound traffic too...)

    -- Mark
    Mark Carroll, Sep 5, 2013
    1. Advertisements

  2. Mark Carroll

    Roger Guest

    Can you specify a different sip port for your device? - I use 5062,5064
    etc for different devices on my network.
    Roger, Sep 5, 2013
    1. Advertisements

  3. Mark Carroll

    Mark Carroll Guest

    I tried experimenting with ekiga, setting its SIP listening port to
    5050, and having it use 5061 to 5100 for the other stuff, but it refused
    to register with (Admittedly, I failed to make much sense of
    the debug log.) Possibly I gave up too easily, or simply misunderstood?

    -- Mark
    Mark Carroll, Sep 5, 2013
  4. Mark Carroll

    Mark Carroll Guest

    I was testing with Ekiga 4.0.1, as I've seen it working before. Is that
    a bad choice?

    -- Mark
    Mark Carroll, Sep 5, 2013
  5. Any SIP server needs ports open, although the router might open them in
    response to an outgoing REGISTER, and the SDP on the 200 OK. Any SIP
    client will need ports open for the duration of the call, although they
    might be opened in response to the outgoing INVITE.

    If you are using Asterisk, it is inadvisable to have the router try
    anything clever, so you really should port forward 5060 and your
    incoming RTP range.

    (You need a SIP server to receive incoming calls, and a SIP client to
    make outgoing ones. Normally the same device acts in both roles.)
    David Woolley, Sep 5, 2013
  6. Mark Carroll

    Roger Guest

    Dont know if this applies to your verions of the homehub but try this -

    "I had this problem with Cisco SPA phones using gradwell servers. if you
    go into advanced management of the HH and then look at the connected
    devices you should be able to see your router. Click on it even though
    it doesn't look like a link. A new screen will appear that allows you to
    disable SIP ALG for that router and it works like a charm. Why BT hide
    this so well I don't know, typical BT!!!"
    Roger, Sep 5, 2013
  7. Mark Carroll

    Mark Carroll Guest

    Its NAT seems to be pretty strict / symmetric, I don't want to put the
    computer in the DMZ, and the traffic isn't all going via some third
    proxy machine. So, there's not really any other way to get the incoming
    UDP to the client.

    -- Mark
    Mark Carroll, Sep 7, 2013
  8. Mark Carroll

    Mark Carroll Guest

    Thank you! It was worth a try. I did try clicking on it and it told me
    IP addresses and suchlike but alas no SIP ALG option. I guess I don't
    have the right model / version.

    -- Mark
    Mark Carroll, Sep 7, 2013
  9. Mark Carroll

    Mark Carroll Guest

    Some googling suggests that it's a Thompson TG797N with the telnet
    disabled, although one can still get in via JTAG and reenable it.
    describes how to flash it with hacked firmware but hopefully I can avoid
    having to do that.

    Hmmm, I am not sure I tried getting at it via FTP, I'd better check.

    -- Mark
    Mark Carroll, Sep 7, 2013
  10. Mark Carroll

    Mark Carroll Guest

    It does seem to have been a curious choice: it used STUN to detect
    symmetric NAT and a conditional statement thus didn't attempt
    registration. Adjusting the source code and recompiling got it able to
    make a SIP call at last!

    -- Mark
    Mark Carroll, Sep 7, 2013
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.