Re: SIP header allocation for pjsua_call_make_call()

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

 



On Wed, Sep 7, 2016 at 3:59 PM, JOHAN LANTZ <johan.lantz@xxxxxxxxxxxxxx> wrote:
> I do not think you have to be concerned about memory pool allocation for
> headers in an outgoing call. Pjsip will duplicate what you pass in msg_data.
> ...
> pjsua_call_make_call(account, &to, NULL, NULL, &msg_data, &call_id);
> ...

Excellent!  That's what I needed.  I took another look at the source
and I found it to be true: pjsua_call_make_call() makes a copy of
msg_data.

Thanks, Johan!

Dave

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
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