[Re:]Buddy Limit

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

 



On Tue, Sep 9, 2008 at 1:38 AM, Joseph Maiquez <josephmaiquez at yahoo.com>wrote:

> Hi Benny,
>
>
> if the maximum default buddy limit is 256, why do you used
>
>     pjsua_buddy_id ids[64];
>     unsigned count = PJ_ARRAY_SIZE(ids);
>
> its unsafe right? if the buddy exceeds 64? can we make it 256 to make it
> safer?
>
>
It's safe. If the number of buddies exceeds 64, then only 64 is returned.
But I think there is a misunderstanding here. The 64 number is the limit of
pjsua *application*, and not PJSUA-LIB. I don't think it's really useful to
have more buddies in pjsua *application* than this.

On PJSUA-LIB, the default limit is 256, which as I said can be overridden.

 -benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080909/bb12d79e/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