bug in pjsua_callback::on_incoming_call

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

 



Hello Benny,

I still can't understand why pjsip do right job but i got wrong result?

I have one account 1002 on server 192.168.19.115
and another account 1002 on server 192.168.19.116
I have incoming call from server 192.168.19.115 and acc_id =0
I have incoming call from server 192.168.19.116 and acc_id =0 too. - 
should it be = 1 ?

next,
I have one account 1002 on server 192.168.19.115
and another account 1003 on server 192.168.19.116
I have incoming call from server 192.168.19.115 and acc_id =0
I have incoming call from server 192.168.19.116 and acc_id =1.

I tried to play with "default account" settings, but result is the same.


16.02.2012 10:14, Benny Prijono ?????:
> On Wed, Feb 8, 2012 at 3:13 AM, Mihail Laba <forfx at yandex.ru 
> <mailto:forfx at yandex.ru>> wrote:
>
>     ?????? ????, ????? )
>
>     I made several tests and found where is the problem:
>     When username is the same for both accounts - acc_id is always
>     from first account and = 0
>     When username is different - acc_id is correct.
>
>     It seems that pjsip lib identify account only by username, but
>     should use domain also.
>     It looks like a bug.
>
>
>
> pjsip does check both username and domain first, then just the domain 
> name, then just the username. It looks like the domain is different in 
> the request.
>
>  -Benny
>
>
>
>
> _______________________________________________
> 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/20120217/667a86fa/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