how to specify local-ip?

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

 



2009/3/16 Joe Joe Shmoe <joeshmoesale at yahoo.com>

> Hello.  I'm a newb here using PJSUA to run some simple tests.  I have
> configured multiple virtual interfaces on my linux box and would like PJSUA
> to use one of the virtual interfaces as its source IP.  Is there any way to
> specify the local IP to be used?  It seems that it only uses the default
> interface.  It does not matter if I use --ip-addr option.
>
>
Joe, pjsua doesn't have the option to bind to specific interface indeed (it
always binds to 0.0.0.0). You could do this in the program though, via
pjsua_transport_config.bound_addr setting.

cheers
 Benny




> Joe
>
>
> _______________________________________________
> 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/20090317/7a89be04/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