Account id always 0

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

 



I am working on a pjsua based client that registers more than one account.
internally I want to know which account was called on incoming call.
I i look at the pjsua console the registered accounts are nomber 2 and
three. and i am able to call them.

I call the function:

pjsua_call_get_info(call_id, &call_info);

but when I look at call_info.acc_id  it is always 0 for any account that
was called..

How can i know what account was called?

thank you!

Regards
Gideon Spreeth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120127/f7190072/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