It seems the NAT client IP address for the the proxy xx.xx.13.17 is not
being set or set to a value that has not previously been set, hence it is
returning an address of 127.0.0.1
So I think the problem maybe in
EndpointRec::SetNATAddress()
So I think a check should be put in check that the new value is not 127.0.0.1.
if (ip.IsLookback()) // ie value has not been set.
return;
I think the problem maybe in
bool RegistrationRequestPDU::Process()
with the following code snippet....
}
} else {
PIPSocket::Address rasip, sigip;
if (GetIPFromTransportAddr(request.m_rasAddress[0], rasip)
&& GetIPFromTransportAddr(SignalAddr, sigip) && rasip != sigip)
// this is an nated endpoint
ep->SetNATAddress(rasip);
}
as I'm not 100% sure what that does as SetNATAddress() is already called
several lines above this...
Might help
Simon
At 05:55 PM 18/05/2006, you wrote:
Dear All,
Same thing is happening for me also . Here is "trace log 6" below just
for a single fail call (No Audio) ..
SoftPhone(Private IP) --> NAT Box --> GnuGK (Public IP) --> TenorGW
(Public IP)
This is not only happening from Private IP but also from Public IP .
Regards,
..Tusar..
}
2006/05/18 15:25:41.395 5 ProxyChannel.cxx(3402) RTP fnat=0 rnat=1
2006/05/18 15:25:41.395 5 ProxyChannel.cxx(3402) RTCP fnat=0 rnat=1
2006/05/18 15:25:41.395 4 ProxyChannel.cxx(4231) RTP Open fast
start
logical channel id 1 port 10034
2006/05/18 15:25:41.395 5 ProxyChannel.cxx(2421) Q931
fastStart[0] to send {
forwardLogicalChannelNumber = 1
forwardLogicalChannelParameters = {
dataType = nullData <<null>>
multiplexParameters = none <<null>>
}
reverseLogicalChannelParameters = {
dataType = audioData g7231 {
maxAl_sduAudioFrames = 3
silenceSuppression = TRUE
}
multiplexParameters = h2250LogicalChannelParameters {
sessionID = 1
mediaChannel = unicastAddress iPAddress {
network = 4 octets {
45 58 0d 0a EX..
}
tsapIdentifier = 10034
}
mediaGuaranteedDelivery = FALSE
mediaControlChannel = unicastAddress iPAddress {
network = 4 octets {
45 58 0d 0a EX..
}
tsapIdentifier = 10035
}
}
}
}
2006/05/18 15:25:41.397 4 ProxyChannel.cxx(2413) Q931
fastStart[1] received: {
forwardLogicalChannelNumber = 101
forwardLogicalChannelParameters = {
dataType = audioData g7231 {
maxAl_sduAudioFrames = 3
silenceSuppression = TRUE
}
multiplexParameters = h2250LogicalChannelParameters {
sessionID = 1
mediaGuaranteedDelivery = FALSE
mediaControlChannel = unicastAddress iPAddress {
network = 4 octets {
c0 a8 0a 0b ....
}
tsapIdentifier = 5011
}
silenceSuppression = FALSE
}
}
}
yasocket.cxx(648) 127.0.0.1:5010<=>xx.xx.13.10:10034<=>xx.xx.13.12:10240
84 bytes sent
2006/05/18 15:25:47.341 5 yasocket.cxx(743) ProxyRTP(1) 1
sockets
selected from 2, total 2/0
2006/05/18 15:25:47.341 6 ProxyChannel.cxx(3475) RTP Forward
xx.xx.13.17:5010 to 127.0.0.1:5010
2006/05/18 15:25:47.341 6
yasocket.cxx(648) 127.0.0.1:5010<=>xx.xx.13.10:10034<=>xx.xx.13.12:10240
84 bytes sent
2006/05/18 15:25:47.431 5 yasocket.cxx(743) ProxyRTP(1) 1
sockets
selected from 2, total 2/0
2006/05/18 15:25:47.431 6 ProxyChannel.cxx(3475) RTP Forward
xx.xx.13.17:5010 to 127.0.0.1:5010
2006/05/18 15:25:47.431 6
yasocket.cxx(648) 127.0.0.1:5010<=>xx.xx.13.10:10034<=>xx.xx.13.12:10240
84 bytes sent
2006/05/18 15:25:47.510 6 yasocket.cxx(802) ProxyH(0) waiting...
2006/05/18 15:25:47.521 5 yasocket.cxx(743) ProxyRTP(1) 1
sockets
selected from 2, total 2/0
2006/05/18 15:25:47.521 6 ProxyChannel.cxx(3475) RTP Forward
xx.xx.13.17:5010 to 127.0.0.1:5010
2006/05/18 15:25:47.521 6
yasocket.cxx(648) 127.0.0.1:5010<=>xx.xx.13.10:10034<=>xx.xx.13.12:10240
84 bytes sent
2006/05/18 15:25:47.611 5 yasocket.cxx(743) ProxyRTP(1) 1
sockets
selected from 2, total 2/0
2006/05/18 15:25:47.611 6 ProxyChannel.cxx(3475) RTP Forward
xx.xx.13.17:5010 to 127.0.0.1:5010
2006/05/18 15:25:47.611 6
yasocket.cxx(648) 127.0.0.1:5010<=>xx.xx.13.10:10034<=>xx.xx.13.12:10240
84 bytes sent
2006/05/18 15:25:47.640 6 yasocket.cxx(802) GkStatus waiting...
2006/05/18 15:25:47.660 6 yasocket.cxx(802) ProxyRTP(0) waiting...
2006/05/18 15:25:47.701 5 yasocket.cxx(743) ProxyRTP(1) 1
sockets
selected from 2, total 2/0
2006/05/18 15:25:47.701 6 ProxyChannel.cxx(3475) RTP Forward
xx.xx.13.17:5010 to 127.0.0.1:5010
2006/05/18 15:25:47.701 6
On 5/18/06, Dario Nul <dario7@xxxxxxxx> wrote:
I tried 2.2.4, but had audio problems, even though I do not use full proxy.
After looking at CDRs, I noticed the Media IP field sometimes has 127.0.0.1
could this be the problem?
Other times, the field has correct IP address of media.
any ideas?
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdk&kid0709&bid&3057&dat1642
_______________________________________________________
Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd_______________________________________________________
Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/