#102 Registration to Ekiga.net fails

open
None
5
2008-12-09
2008-12-09
Pekka Pessi
No

The Ekiga.net checks during registration that both the Via and Contact headers contain a public IP address. The registation fails with 606 if the Via header contains a NATted address from the private address space.

Discussion

  • Inca Rose

    Inca Rose - 2008-12-09

    Why do you think this is a sofia-sip problem ?
    There is nothing wrong whit that.
    Ekiga SIP server will end up sending the response to the udp-src address ignoring the Via host address.

    The UA application must take care of the contact address by:
    -Using some kind of STUN mechanism
    - Learning from the REGISTER response ( checking the Via parameters ) and reusing a new REGISTER
    - or not taking care at all and failing to get incoming calls.

     
  • Mikhail Zabaluev

    >The UA application must take care of the contact address by:
    >-Using some kind of STUN mechanism
    >- Learning from the REGISTER response ( checking the Via parameters ) and
    reusing a new REGISTER

    Sure, we do the latter, but the ekiga.net proxy rejects this REGISTER with 606 Not Acceptable.

     
  • Mikhail Zabaluev

    It shouldn't be an interop problem to put the public transport address in the client's Via. When the binding breaks, the proxy should signal it with rport and received which will be different from the address in Via.

     
  • Mikhail Zabaluev

    I reverse my stance from the earlier comments The modification of transport address in Via may cause interoperability problems with proxies that implement support for RFC 3581 and rely on the specified behavior for NAT-aware policies.

    The restriction imposed by the proxy is arbitrary. It does not follow any specification or best practice published by IETF that I'm aware of. The answer is, fix the proxy.

     
  • Murray Cumming

    Murray Cumming - 2009-10-13

    So, if the problem is with ekiga.net, has anyone contacted them about it yet?

     
  • Mikhail Zabaluev

    > So, if the problem is with ekiga.net, has anyone contacted them about it
    yet?

    Sort of; last word I heard from them is, they need this restriction so that their own client keeps working. I still think they shouldn't impose a restriction on the address in Via, and sofia-sip should now re-register with a discovered mapped address in Contact. I didn't press this last comment to them yet, though.

     
  • Mikhail Zabaluev

    What do you know, it works for me with the sofia-sip build we use in Maemo 5.

    Can somebody else confirm if it works with sofia-sip trunk?

     
  • Johan Brannlund

    Johan Brannlund - 2010-01-21

    I'm not 100% sure I did everything correctly, but using sofia-sip trunk didn't change anything for me.

     
  • Kẏra

    Kẏra - 2012-03-28

    Any updates?

     

Log in to post a comment.