[pjsip] _id atthibute in python pjsua

Benny Prijono bennylp at teluu.com
Mon Aug 24 11:47:10 EDT 2009


On Mon, Aug 24, 2009 at 12:40 AM, Saúl Ibarra<saghul at gmail.com> wrote:
> Hi,
>
> By reading pjsua.py file I found some classes like Buddy have a _id
> atthibute. It may be usefull to me, but I need to know if that _id is
> reaaly unique? How is it calculated?
>

That corresponds to the id in pjsua-lib, e.g. buddy_id, call_id,
acc_id etc. All are integer indexes, and definitely is not unique on
itself, so you shouldn't use it.

What's the problem?

Cheers
 Benny




More information about the pjsip mailing list