[Re:]Buddy Limit

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

 



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?

--- On Mon, 9/8/08, Benny Prijono <bennylp at pjsip.org> wrote:
From: Benny Prijono <bennylp@xxxxxxxxx>
Subject: Re: Buddy Limit
To: "pjsip list" <pjsip at lists.pjsip.org>
Date: Monday, September 8, 2008, 9:14 AM

On Sat, Sep 6, 2008 at 6:29 AM, Joseph Maiquez <josephmaiquez at yahoo.com> wrote:


Hi Benny,


Just want to ask, how many buddy can I add (maximum number of buddies)?? How can I change the maximum limit?

The default is 256, and it's controlled by PJSUA_MAX_BUDDIES setting.

?

Can I also change the header content of the chat message? If yes how? can you give me sample?


You can't normally change the default headers (From, To, etc.). For Content-Type, it's in the function argument of course. Outside these headers, you can add your own headers, please see http://trac.pjsip.org/repos/wiki/FAQ#call-user-data for this. 


 Benny

?

Thanks,

Joseph





      
_______________________________________________

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




_______________________________________________
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/20080908/5d346f8f/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