Hi All, I'm trying to catch events for a failed registration (incorrect username, password, etc). For this I do this: void CCallManager::OnRegState (pjsua_acc_id acc_id) //handler for on_reg_state handler { pjsua_acc_info acc_info; pjsua_acc_get_info (acc_id, &acc_info); switch (acc_info.status) { ... } } acc_info.status is showing a value of 171100 when I enter an incorrect password, shouldn't it hold a 401? Am I missing something over here? Between, for an un-registration request (pjsua_acc_set_registration(acc_id, PJ_FALSE)), does PJSIP throw any events to indicate a successful un-registration? Or it will just have a 200 in acc_info.status inside on_reg_state handler? Thanks. Best Regards, Hitesh