sipXphone

register/unregister race on bootup

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 2.5.1, 2.5.2
  • Fix Version/s: None
  • Component/s: None
  • Description:
    Hide
    There is a race condition in the initial registrations at boot time.

    The phone attempts to clear any previous registered contacts, but does
    not finish that before it begins its new registration.

    The result is that the unregister finishes _after_ the new registration, leaving the phone not registered (but it thinks it _is_ registered, so it doesn't refresh the registration until the regular refresh time).
    Show
    There is a race condition in the initial registrations at boot time. The phone attempts to clear any previous registered contacts, but does not finish that before it begins its new registration. The result is that the unregister finishes _after_ the new registration, leaving the phone not registered (but it thinks it _is_ registered, so it doesn't refresh the registration until the regular refresh time).
  • Environment:
    Found at SIPit15 testing with sipXregistrar
  1. boot_register_race.pcap
    (6 kB)
    Scott Lawrence
    2004-08-25 06:38

Activity

Hide
Scott Lawrence added a comment - 2004-08-25 06:38
The attached file is an ethereal capture file that shows the registers from a 2.4 xpressa at boot time.
Show
Scott Lawrence added a comment - 2004-08-25 06:38 The attached file is an ethereal capture file that shows the registers from a 2.4 xpressa at boot time.
Hide
Bob Andreasen added a comment - 2005-05-26 20:06
We really need to rewrite the refresh manager -- It needs a better state model.
Show
Bob Andreasen added a comment - 2005-05-26 20:06 We really need to rewrite the refresh manager -- It needs a better state model.

People

Dates

  • Created:
    2004-08-25 10:36
    Updated:
    2005-05-26 20:06