Ignore:
Timestamp:
Feb 10, 2010 2:24:48 PM (14 years ago)
Author:
bennylp
Message:

Ticket #995: Send un-PUBLISH when pjsua_acc_set_registration(FALSE) is called (thanks Johan Lantz for the suggestion)

  • in this implementation, when pjsua_acc_set_registration(FALSE) is called, the un-REGISTER request will be sent immediately after un-PUBLISH, unlike the process during shutdown where the un-REGISTER request will be sent only after un-PUBLISH transaction is complete
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r3032 r3096  
    12651265            goto on_return; 
    12661266        } 
     1267 
     1268        pjsua_pres_unpublish(&pjsua_var.acc[acc_id]); 
     1269 
    12671270        status = pjsip_regc_unregister(pjsua_var.acc[acc_id].regc, &tdata); 
    12681271    } 
Note: See TracChangeset for help on using the changeset viewer.