When I try to use JAIN-SIP in order to develop a small voip
application.
I am using Jain-Sip 1.2
However I have a problem I and was wondering if you could
When trying to insert a public IP address into the VIA
header of a Sip message through which my host is accessible
from the Internet(I use STUN to discover the public IP). I
am creating a listening point which is listening on the IP
Address I have on my network interface that is connected to
the internet(it is a private network behind a NAT though so
the IP is not the same as the public IP). Later on when I
try to insert the Public IP address (that makes me
accessible over the internet) to the Via Header I receive an exception:
javax.sip.TransactionUnavailableException: sentBy does not
match the sentby setting of the ListeningPoint A.B.C.D:5070
at
gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:285)
Fixed in revision 16.
Via Header can be set now to have whatever IP-Address you would like it to have. This opens one more door on the way to successfully traversing firewall and nat.
As stated this has been fixed and is therefore closed.
Update: it is actually fixed in both the branch version babbly-ua (as of version 20) and the trunk version of babbly as of version 22