how to specify local-ip?

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

 



Hi Benny

I integrated the bound_addr option and now it works as I had hoped.? Thanks for your response! :)

Joe

--- On Tue, 3/17/09, Benny Prijono <bennylp at teluu.com> wrote:

From: Benny Prijono <bennylp@xxxxxxxxx>
Subject: Re: how to specify local-ip?
To: "pjsip list" <pjsip at lists.pjsip.org>
Date: Tuesday, March 17, 2009, 4:52 AM

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





-----Inline Attachment Follows-----

_______________________________________________
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/d29bc7fe/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