Changeset 1822


Ignore:
Timestamp:
Feb 26, 2008 11:14:03 AM (11 years ago)
Author:
bennylp
Message:

Stateful proxy sample: do not create CANCEL if UAC INVITE transaction has been responded with final response

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/stateful_proxy.c

    r1417 r1822  
    270270         */ 
    271271        uas_data = (struct uas_data*) invite_uas->mod_data[mod_tu.id]; 
    272         if (uas_data->uac_tsx) { 
     272        if (uas_data->uac_tsx && uas_data->uac_tsx->status_code < 200) { 
    273273            pjsip_tx_data *cancel; 
    274274 
Note: See TracChangeset for help on using the changeset viewer.