Remote Rig

RRC-Micro PC Client in English => General discussion => Topic started by: dl2nd on 2013-06-01, 17:47:10

Title: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-01, 17:47:10
Hello,

the connection between two RRC-1258 works.

I have a problem with the connection between the PC Client and the RRC-1258.

The RRC Client shows: Connected to sip: ...... and the RTP lights green but the RRC-1258 Radio Status Homepage shows:

Radio   ON
Connection status   Faulty(See below)
SIP status   Connected/transfering
Last SIP error   None
RTP status   Excellent(60)
UDP cmd status   Error(0)
SIP command timeout   0
Rx Jitter buffer size   7
Rx Jitter delay   5
Dual Rx   0
Current audio packet size   40
Current audio quality   0 - alaw 8 kHz
SIP Out port   61389
SIP In port   13000
Audio Out port   61392
Audio In port   13001
Command Out port   0
Command In port   13002
External SIP In port   13000
External Audio In port   13001
External Cmd In port   13002
Other party   79.252.241.174
Input 1   High
Input 2   High
Output 0   Low
Output 1   Low
Output 2   Low
Dynamic DNS status   Unknown
Ping status (watchdog)   Off
DNS status   OK, remoterig.com = 193.202.110.185
Active profile:   Default
PTT status:   OFF
Antenna-Switch (IP)   not connected

The router ports (NAT) should be ok, I have tried the connect also in my own network but I got the same problem.
I have made 2 Files in the debug mode: external connection and connection in my own network.
In both files there are a entry with ...unauthorized ...., I have double checked my sip password, should be ok.

Thank you for your help.

Uwe
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dj0qn on 2013-06-01, 21:53:36
Uwe,

It looks like a port forward problem. You may have forwarded TCP instead of UDP, for
example.

If you send me a short mail to dj0qn (at) darc.de then I can send you my networking
checklist if you don't find the forwarding problem first.

73,
Mitch DJ0QN / K7DX
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: Jan (Microbit) on 2013-06-02, 08:29:15
Yes, when you see "Connection status   Faulty(See below)" the lines below will tell which part is faulty. In this case it is the UPD port transferring the commands which has no contact as it says "UDP cmd status   Error(0)":

Connection status   Faulty(See below)
SIP status   Connected/transfering
Last SIP error   None
RTP status   Excellent(60)
UDP cmd status   Error(0)

The numbers inside () are showing a timeout value and when they reach 0 there is a communication fault which was not just temporary.
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-02, 11:38:34
Okay, thanks.
To exclude a problem with my router configuration, I have tried the connection in my own network (without the router)
but got the same error.
In matching with the ports at the 1258 status homepage, I think I have the correct settings in the RRC Client:
SIP Port: 13000
Command Port: 13002
Audio Port: 13001

Should be ok ?
By the way, when I disconnect the connection, the radio (TS-2000) switched off.

What strikes me, the outgoing ports of the RRC-1258 are allways different (not the command port, it is zero) which each new connection. I that correct ?

I took a look with wireshark and there are following records in the capture file; answer from RRC-1258:
Status: 401 unauthorized
Status: 403 forbidden

Uwe
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-02, 19:42:36
Okay,

Mitch told me, I have to use RRC-COM2 instead off RRC-COM0 with Kenwood TS-2000.
I will try it ...

Uwe
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dj0qn on 2013-06-02, 19:51:25
Jan,

I suggest that the setup instructions for the RRC Micro Client should be improved.
This is at least the 5th or 6th one I have seen in the last few months that were
confused by the way it is written.

There are (hard to believe) many users of the RRC's that never set their station up
to use CAT. Then they don't understand why this won't work with the PC Client.
It needs to be clearer that one must use the CAT COM port. If this is a rig such as
a Kenwood, Yaesu or Elecraft, they must install a serial cable between the RRC and
rig to make this work.

Thanks & 73,
Mitch DJ0QN / K7DX

Title: Re: Connected to sip - but Connection status Faulty ?
Post by: Jan (Microbit) on 2013-06-02, 21:37:15
Mitch,

Thanks for your advice about how to improve the RRC Micro's setup instructions. Those "in charge" of it will surely follow your advice  :)
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: roland on 2013-06-02, 21:58:45
I agree that it could be better. Just a thought. Would video instructions be better than written?
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dj0qn on 2013-06-02, 22:01:29
Thanks, video is always better, but has two drawbacks:

1) Is hard to modify, you usually need to redo for any changes
2) Can't be printed out.

73,
Mitch DJ0QN / K7DX
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: roland on 2013-06-02, 22:34:05
Thanks for the input.
Guess PDF is to prefer then
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-03, 08:10:06
Hello @ALL,

I have new results, looks better but not hundred percent.
With Mitchs help I am a step forward now  :)

COM0 and COM2 (RRC) connected to TS-2000.
- PTT works
- RX works
- TX works, I think

The debug file looks better but still with error "401 unauthorized".
The communications between COM2 and HRD fails.
The RRC Hompage still shows "connection faulty".

@Jan
Maybe, the debug file could help you ?

Uwe




Title: Re: Connected to sip - but Connection status Faulty ?
Post by: Jan (Microbit) on 2013-06-04, 14:33:27
Does the RRC status page still show "UDP cmd status   Error(0)"?
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-04, 14:47:46
Yes
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: Jan (Microbit) on 2013-06-04, 14:54:55
Then there is still something which prohibits the UDP Cmd data from being transferred between the RRC and the RRC Micro. You are 100% sure that the port forwarding is ok for that port?
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-04, 15:45:44
Yes, for sure.
I am using the same ports with the combination RRC (Remote) - RRC (Radio) and it works.
Port forwarding settings: UDP -> 13000 - 13002 for 192.168.1.228 (RRC Radio)

If you like to try it I can send you the RRC radio url via private mail.

Uwe




Title: Re: Connected to sip - but Connection status Faulty ?
Post by: Jan (Microbit) on 2013-06-04, 16:32:14
Send the URL so we can have a look  ;)
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-04, 16:42:24
Ok, sent to: mikael(at)styrefors.se

The radio is off at the moment but I can switch it on, if you want (remote).

Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-05, 07:06:13
After a short night I have new results now:

During while Ham Radio Deluxe trying connect to the virtual COM, the "UDP status cmd" shows
OK (40). After that, a countdown starts and count down ... OK (39) ... OK(38) .... and than Error (0).
I dont know if that is a normal reaction ?

Still have the problem HRD cannot connect (got frequency reading error) to the virtual COM.

Uwe
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: Jan (Microbit) on 2013-06-05, 09:33:19
We have had a look and it seems the problem is that no serial data is coming back from the radio to the remote RRC and as a consequence of that no data is received by HRD via RRC Micro. We can see that serial data is sent out to the radio from the remote RRC, but nothing is returned. Could be a problem with wiring and/or setup like baudrate etc.
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-05, 09:50:01
Okay Jan,

thank you very much.

I will check it when I am at home at the weekend.
The best test is to connect a computer (serial port) with the radio directly.

Uwe

 
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dl2nd on 2013-06-16, 19:08:30
Sorry for the delay.

The TS-2000 has a Problem with the serial.
I have borrowed a TS-2000 from a good fried and everything is ok right now.

Thanks @all for the help.

Uwe
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: sp2xdw on 2015-03-08, 13:10:17
Dear,
Mitch DJ0QN / K7DX
 I have the same problem. For some time, only occasionally reaches connectivity . Most of the time a message is displayed below: UDP cmd status   Error(0)

Name   Value
Control panel   ON
Radio   ON
Connection status   Faulty(See below)
SIP status   Connected/transfering
Last SIP error   None
RTP status   Excellent(60)
UDP cmd status   Error(0)
SIP command timeout   0
Rx Jitter buffer size   4
Rx Jitter delay   3
Dual Rx   0
Current audio packet size   20
Current audio quality   1 - Linear 12 bits 8 kHz
External IP   dwydra.dyndns.org
SIP Out port   5060
SIP In port   5060
Audio Out port   20004
Audio In port   11000
Command Out port   12000
Command In port   12000
External SIP In port   5060
External Audio In port   11000
External Cmd In port   12000
Other party   83.8.145.90
Input 0   High
Input 1   High
Input 2   High
Output 0   High
Output 1   Low
Output 2   Low
DNS status   OK, dwydra.dyndns.org = 83.8.145.90
Active profile:   Profile 1
PTT status:   OFF
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dj0qn on 2015-03-08, 14:11:06
I responded to your direct mail.

I sent you my networking checklist and you must change port 5060 to something else.

73,
Mitch DJ0QN / K7DX
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: sp2xdw on 2015-03-16, 18:51:38
Name   Value
Control panel   ON
Radio   ON
Connection status   Faulty(See below)
SIP status   Connected/transfering
Last SIP error   None
RTP status   Excellent(60)
UDP cmd status   Error(0)
SIP command timeout   0
Rx Jitter buffer size   4
Rx Jitter delay   3

I changed to 6060 but  still UDP error  --- sp2xdw@icloud.com
Dual Rx   0
Current audio packet size   20
Current audio quality   1 - Linear 12 bits 8 kHz
External IP   dwydra.dyndns.org
SIP Out port   6060
SIP In port   6060
Audio Out port   16492
Audio In port   11000
Command Out port   12000
Command In port   12000
External SIP In port   6060
External Audio In port   11000
External Cmd In port   12000
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dj0qn on 2015-03-16, 18:53:21
Looks to me like a router problem....did you follow the checklist I sent you and forward the ports?

73,
Mitch DJ0QN / K7DX
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: sp2xdw on 2015-03-16, 19:15:12
do sp2xdw@wp.pl and sp2xdw@icloud.com pse
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: EA5WA on 2020-10-07, 10:35:54
@dj0qn Mitch, can I have your checklist?

Now we are facing this same problem with a TS-2000 via CAT COM2

73's from EA5WA Juan Carlos
Title: Re: Connected to sip - but Connection status Faulty ?
Post by: dj0qn on 2020-10-07, 11:32:18
No problem, Juan Carlos.

My mail is dj0qn (at) darc (dot) de.

73,
Mitch DJ0QN / K7DX