contact params are not copied during account duplication

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

 



Hi Roman,

Just checked in the fix to SVN trunk, see
https://trac.pjsip.org/repos/ticket/1151#comment:7. Another missing
field "auth_pref" was also included.

Thanks,
nanang


On Sun, Nov 28, 2010 at 11:38 PM, Roman Grachev <roman.grachev at gmail.com> wrote:
> Hi,
>
> The function pjsua_acc_config_dup() does not copy contact_params and
> contact_uri_params fields. This causes various problems if a client
> tries to use them. The following patch fixes the problem:
>
> --- pjsip/src/pjsua-lib/pjsua_acc.c
> +++/pjsip/src/pjsua-lib/pjsua_acc.c
> @@ -77,4 +77,6 @@
> ? ? pj_strdup_with_null(pool, &dst->reg_uri, &src->reg_uri);
> ? ? pj_strdup_with_null(pool, &dst->force_contact, &src->force_contact);
> + ? ?pj_strdup_with_null(pool, &dst->contact_params, &src->contact_params);
> + ? ?pj_strdup_with_null(pool, &dst->contact_uri_params,
> &src->contact_uri_params);
> ? ? pj_strdup_with_null(pool, &dst->pidf_tuple_id, &src->pidf_tuple_id);
>
>
> Regards,
> Roman
>
> _______________________________________________
> 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