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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux