Changeset 5748 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Feb 27, 2018 3:37:53 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r5721 r5748 138 138 call->index = id; 139 139 call->last_text.ptr = call->last_text_buf_; 140 call->cname.ptr = call->cname_buf; 141 call->cname.slen = sizeof(call->cname_buf); 140 142 for (i=0; i<PJ_ARRAY_SIZE(call->media); ++i) { 141 143 pjsua_call_media *call_med = &call->media[i]; … … 793 795 call->acc_id = acc_id; 794 796 call->call_hold_type = acc->cfg.call_hold_type; 797 798 /* Generate per-session RTCP CNAME, according to RFC 7022. */ 799 pj_create_random_string(call->cname_buf, call->cname.slen); 795 800 796 801 /* Apply call setting */ … … 1223 1228 1224 1229 call = &pjsua_var.calls[call_id]; 1230 1231 /* Generate per-session RTCP CNAME, according to RFC 7022. */ 1232 pj_create_random_string(call->cname_buf, call->cname.slen); 1225 1233 1226 1234 /* Mark call start time. */
Note: See TracChangeset
for help on using the changeset viewer.