Hi Jason,
Well, it appears that when the GK sends ACF, myphone
doesn't like it, never sends Setup, and sends another RRQ!
I know nothing about myphone, so I don't know why.
Perhaps it is as simple as the GK name -- you have no
setting, so it defaults to OpenH323GK. Maybe myphone
expects or is configured for something different.
If that is not the problem, look at the ACF with Ethereal
and try to figure out why myphone doesn't like it. Are
there debug features in myphone that may help?
It is very common to configure a permanent endpoint that
is not registered. This is the usual case when you are
sending calls, destined for the PSTN, via a VoIP provider.
They are almost certainly not going to register with your
GK, so you configure the IP address of their gateway
(which is often actually a GK) as a permanent endpoint.
I will be traveling and may not be able to reply for a
few days.
Regards,
Stewart
----- Original Message -----
From: <Jason.Price@xxxxxxxxxxx>
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 01, 2005 9:21 PM
Subject: RE: Some basic setup questions
Stewart,
I see the following logging output when I attempt to call the outside
endpoint:
2005/11/01 08:33:44.081 2 RasSrv.cxx(173) RAS Read
from <InsideClient>:2552
2005/11/01 08:33:44.083 2 RasSrv.cxx(221) RAS Received
ARQ
2005/11/01 08:33:44.084 1 RasSrv.cxx(343) RAS ARQ
Received
2005/11/01 08:33:44.089 2 RasTbl.cxx(2029)
CallTable::Insert(CALL) Call No. 5, total sessions : 1
2005/11/01 08:33:44.090 2 RasSrv.cxx(388)
ACF|<InsideClient>:1720|5117_endp|24139|<OutsideClient>:1720|<id
info>:h323_ID|false;
2005/11/01 08:33:44.091 2 RasSrv.cxx(233) RAS Send ACF
to <InsideClient>:2552
2005/11/01 08:33:45.096 2 RasSrv.cxx(173) RAS Read
from <InsideClient>:2552
2005/11/01 08:33:45.098 2 RasSrv.cxx(221) RAS Received
RRQ
2005/11/01 08:33:45.099 1 RasSrv.cxx(343) RAS RRQ
Received
2005/11/01 08:33:45.101 2 RasSrv.cxx(233) RAS Send RCF
to <InsideClient>:2552
2005/11/01 08:33:45.106 2 RasSrv.cxx(173) RAS Read
from <InsideClient>:2552
2005/11/01 08:33:45.109 2 RasSrv.cxx(221) RAS Received
IRR
2005/11/01 08:33:45.110 1 RasSrv.cxx(343) RAS IRR
Received
2005/11/01 08:33:54.097 2 RasSrv.cxx(173) RAS Read
from <InsideClient>:2552
2005/11/01 08:33:54.098 2 RasSrv.cxx(221) RAS Received
DRQ
2005/11/01 08:33:54.099 1 RasSrv.cxx(343) RAS DRQ
Received
2005/11/01 08:33:54.100 2 RasTbl.cxx(2235) CDR ignore
not connected call
2005/11/01 08:33:54.101 2 gkacct.cxx(984) GKACCT
Successfully logged event 2 for call no. 5
2005/11/01 08:33:54.102 2 RasSrv.cxx(388)
DCF|<InsideClient>|5117_endp|24139|normalDrop;
2005/11/01 08:33:54.102 2 RasSrv.cxx(233) RAS Send DCF
to <InsideClient>:2552
Unfortunately, removing the NAT translations is not possible. I do have
connectivity from the GK box to the outside endpoint on port 1720. I
tried removing the [RoutingPolicy] section, but no change. I have
iptables configured on the GK box to force it to source from the
external address, so that shouldn't be a problem.
I'm still not understanding if it's possible for a registered endpoint
to make a call to an unregistered endpoint (configured as a
PermanentEndpoint). Can you clarify for me?
Thanks.
Jason
-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
Stewart Nelson
Sent: Monday, October 31, 2005 5:43 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: Some basic setup questions
Hi Jason,
I'm not really seeing any useful error information, regardless of
logging level - I see "IRR Received", then 9 seconds later, it times
out with a "DRQ Received" message. And I'm still seeing no traffic
attempt to go outbound at all from the gatekeeper (via tcpdump) - it
doesn't seem to be even attempting the connection.
Before you try to call, I assume that you see RRQ and RCF.
When you attempt the call, you should see:
Caller sends ARQ to GK
GK sends ACF to caller
Caller sends Setup to GK
GK sends Setup to Callee
Now, we know that the last step is not happening (on the network), but
how much of this sequence do you see in the log, and where does the IRR
occur? What does the IRR contain?
Right now, I'm simply trying to connect two instance of MyPhone - one
inside the network, and one outside the network. There is just one GK,
which is inside the network, protected by firewalling. The outside
device is currently unable to register with the GK, due to firewall
rules. Is it possible to make calls to the outside endpoint, without
having it registered to the GK? I'd like to avoid that stipulation, if
possible. I configured the outside MyPhone to not use a GK.
MyPhone (NAT) -> GK -> firewall -> MyPhone (NAT)
I'm not familiar with MyPhone, but you may have better luck if you turn
off all NAT options. The calling phone is on the same LAN as the GK, so
there is no NAT happening there.
The GK should take care of translating addresses in signaling packet
contents, so the called phone should see only public addresses. Is it
indeed on a public IP?
I added this information to the config:
[RoutedMode]
AcceptUnregisteredCalls=1
[RoutingPolicy]
Default=explicit,dns
[RasSrv::PermanentEndpoints]
xxx.xxx.xxx.xxx=TEST_CLIENT (outside IP configured here)
[RasSrv::ARQFeatures]
CallUnregisteredEndpoints=1
[Gatekeeper::Main]
NetworkInterfaces=[interfaces]
I would try removing the [RoutingPolicy] section, using
xxx.xxx.xxx.xxx=1234 in [RasSrv::PermanentEndpoints], where the called
phone is configured to have number 1234 and the calling phone dials
1234. (Sorry, all of my own systems use only phone numbers, and I don't
understand the subtleties of the other ways to call.)
I try to connect via IP or "TEST_CLIENT", but neither works. I'm not
entirely sure how to allow calls by IP - I'm hoping I configured that
properly in the RoutingPolicy section. I have not tried 2.0.9, but
the external IP is configured as a loopback on the host, so I'm not
sure if the NetworkInterfaces element is really needed.
I don't understand what you mean by "the external IP is configured as a
loopback". Although it may not relate to your present problem, once you
get the Setup to go out, the GK needs to know what external IP to use in
the content of various signaling packets, and NetworkInterfaces is how
you tell it what address to use.
Try e.g. "telnet xxx.xxx.xxx.xxx 1720" from the GK machine, where
xxx.xxx.xxx.xxx is the address of the called phone.
If you don't see a "connected to ..." message, you have a network
configuration or firewall problem having nothing to do with gnugk.
Good luck,
Stewart
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free
Certification Exam for All Training Attendees Through End of 2005 Visit
http://www.jboss.com/services/certification for more information
_______________________________________________________
Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe:
http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________________
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/
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________________
Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/