Hi,
________________________________
From: ext Diego Costantini [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2008 6:33 PM
To: Zabaluev Mikhail (Nokia-D/Helsinki)
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: RE: [Sofia-sip-devel] Can NUA resolve domain names?
Now it works but I have another problem.
I am binding sofia to sip:*:5067 and apparently can receive messages
correctly, but when I try to send one, it uses the first eth it finds, not the
proper one from route.
E.g.:
[EMAIL PROTECTED]:~/nec/libvoip$ route -e
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.100.0 192.168.150.11 255.255.255.0 UG 0 0
0 eth2
10.10.150.0 * 255.255.255.0 U 0 0
0 eth1
192.168.150.0 * 255.255.255.0 U 0 0
0 eth2
10.0.2.0 * 255.255.255.0 U 0 0
0 eth0
link-local * 255.255.0.0 U 0 0
0 eth1
default 10.0.2.2 0.0.0.0 UG 0 0
0 eth0
default 192.168.150.11 0.0.0.0 UG 0 0
0 eth2
when I send to 10.10.150.101, the source is 10.0.2.15, so the message
is lost.
The correct outgoing interface should be 10.10.150.100
Am I missing a sofia tag to use the correct souce IP for every message,
or it is not supported (or a bug)?
To use a non-default route, you have to bind the stack to the IP address of the
interface you want to use.
I filed a bug
<http://sourceforge.net/tracker/index.php?func=detail&aid=1751089&group_id=143636&atid=756076>
about it.
Hope this helps,
Mikhail
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel