Ignore:
Timestamp:
Jul 5, 2012 10:52:55 AM (7 years ago)
Author:
nanang
Message:

Re: Added compile-time setting PJNATH_STUN_SOFTWARE_NAME to specify SOFTWARE attribute for STUN sessions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_session.c

    r3843 r4199  
    501501    sess->use_fingerprint = fingerprint; 
    502502    sess->log_flag = 0xFFFF; 
    503      
    504     sess->srv_name.ptr = (char*) pj_pool_alloc(pool, 32); 
    505     sess->srv_name.slen = pj_ansi_snprintf(sess->srv_name.ptr, 32, 
    506                                            "pjnath-%s", pj_get_version()); 
     503 
     504    pj_stun_session_set_software_name(sess, &cfg->software_name); 
    507505 
    508506    sess->rx_pool = pj_pool_create(sess->cfg->pf, name,  
Note: See TracChangeset for help on using the changeset viewer.