Menu

#97 IPv6 contact is used on IPv4 transport

closed-duplicate
nobody
None
5
2011-01-17
2008-07-01
No

Copied from Telepathy-SofiaSIP bug # 1988988:

My client has both ipv4 and ipv6 addresses. It registers to a sip server
with only ipv4. In the telepathy debug output i see:

nta::contact: sip:sjoerd@[2a01:348:16d:0:20d:93ff:fe83:5a93]:44547>

and on the server it says:
Contact "user"
<sip:sjoerd@[2a01:348:16d:0:20d:93ff:fe83:5a93]:44547>

Discussion

  • Mikhail Zabaluev

    There are some interesting race conditions when running tests on a dual-stack host which seem to be related to this problem:

    test_refer.c:502: check_sofia test_refer0() FAILED: nua_event_name(e->data->e_event) != nua_event_name(nua_i_notify) or "nua_i_bye" != "nua_i_notify"
    75%: Checks: 8, Failures: 2, Errors: 0
    suite_for_nua.c:114:F:with-proxy:with_proxy:0: Failure 'test_call_cancel(ctx)' occured
    suite_for_nua.c:144:F:with-proxy-and-nat:with_proxy_and_nat:0: Failure 'test_refer(ctx)' occured

    In the transport logs, I see the transport vs Via confusion:

    ------------------------------------------------------------------------
    send 440 bytes to udp/[127.0.0.1]:40531 at 16:07:04.984607:
    ------------------------------------------------------------------------
    SIP/2.0 200 OK
    Via: SIP/2.0/UDP [::1]:56324;rport=40531;branch=z9hG4bK889NQ3Uy3r82r;received=127.0.0.1
    From: <sip:alice@example.com>;tag=HZgg3tZKtX00r
    To: <sip:bob@example.org>;tag=NDHFpHcQ597DN
    Call-ID: 83ee296f-8e08-122e-bd84-00218696a9bc
    CSeq: 6483350 BYE
    User-Agent: sofia-sip/1.12.10devel
    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE
    Supported: timer, 100rel
    Content-Length: 0

     
  • Mikhail Zabaluev

    Duplicate of 1751089.

     
  • Mikhail Zabaluev

    • status: open --> closed-duplicate
     

Log in to post a comment.