if you are using pjsua api, then pjsua_config cfg; char tmp[80]; pjsua_config_default(&cfg); pj_ansi_snprintf(tmp, sizeof(tmp), "SIPPhone Toolkit/%s", SIPPHONE_VERSION); pj_strdup2_with_null(pool, &cfg.user_agent, tmp); regards, Gang > > > On Mon, Feb 2, 2009 at 6:58 PM, <ltquang at tma.com.vn> wrote: >> Dear all >> anyone know how to set User-Agent field in Register SIP message? Please >> help me >> >> Thanks in advance >> >> QUANG Luong Thanh >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >