Max calls in pjsua_config

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

 



It is default limit value of pjsua. You can change it at your code.

regards,
Gang

On Thu, Feb 5, 2009 at 5:56 PM, Dan ?berg <dan.aberg at keystream.se> wrote:

> Might I suggest changing line 92 in pjsip/src/pjsua-lib/pjsua_core.c,
> function pjsua_config_default from:
>
> cfg->max_calls = 4;
>
> to something like:
>
> cfg->max_calls = (PJSUA_MAX_CALLS) < 4 ? (PJSUA_MAX_CALLS) : 4;
>
> I know the documentation (
> http://www.pjsip.org/pjsip/docs/html/structpjsua__config.htm#81c509061591620d0e4a92b134b60467)
> tells me to set max_calls to a value lower than PJSUA_MAX_CALLS, but I just
> don't like getting a segmentation fault for not reading the documentation
> ;-)
>
> Regards,
> Dan
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090206/508409cf/attachment.html>


[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