[pjsip] How to set User-Agent field in Register SIP message?

Gang Liu gangban.lau at gmail.com
Tue Feb 3 01:27:12 EST 2009


if you are using pjsua api, then


    pjsua_config_default(&cfg->cfg);
    pj_ansi_snprintf(tmp, sizeof(tmp), "SIPPhone Toolkit/%s", SIPPHONE_VERSION);
    pj_strdup2_with_null(app_config.pool, &cfg->cfg.user_agent, tmp);


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
>



More information about the pjsip mailing list