Changeset 4181 for pjproject


Ignore:
Timestamp:
Jun 27, 2012 5:00:33 AM (12 years ago)
Author:
ming
Message:

Re #1537: Fixed bug that does not update via_sent_by upon NAT address update.

File:
1 edited

Legend:

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

    r4180 r4181  
    13531353        acc->via_addr.port = via->sent_by.port; 
    13541354        acc->via_tp = tp; 
     1355        pjsip_regc_set_via_sent_by(acc->regc, &acc->via_addr, acc->via_tp); 
     1356        if (acc->publish_sess != NULL) { 
     1357                pjsip_publishc_set_via_sent_by(acc->publish_sess, 
     1358                                               &acc->via_addr, acc->via_tp); 
     1359        } 
    13551360    } 
    13561361 
Note: See TracChangeset for help on using the changeset viewer.