BUG in PJSUA when i have two NIC

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

 



I'm not sure I'd call that a bug. By default, PJSIP uses the interface
that is bound to the default route. More specifically:

"local IP is detected by:
- calling gethostbyaddr(gethostname())
- detecting the default route
- enumerating IP interfaces and use the first interface"

http://osdir.com/ml/voip.pjsip/2008-01/msg00044.html

On Tue, 2009-08-11 at 17:42 +0800, Ricky Wu wrote:
> Hi all,
>       i have two NIC, and they have different IP.
>       NIC A's IP is 172.18.1.131 
>       NIC B's IP is 192.168.1.165
>       SIP server IP is 172.168.1.112. and NIC B can't connent SIP
> server actually.
>       but when i use PJSUA to register and make a call, I find the
> server show NIC B is connenting. 
>       There is no this problem when i use other softphone.
>       Is there someone can help me to modify this bug?
> 
> 
> 
> 
> 
> ______________________________________________________________________
> ???????????,www.yeah.net
> _______________________________________________
> 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




[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