Powered by Jitbit Forum free trial version.
home recent topics recent posts search faq  

TekSIP Forum



register | lost password   open id

Messages in this topic - RSS

Home » General » Can not get the remote End Point to Register

TekSIP - General issues
22.07.2010 12:11:07

klgoh
klgoh
Posts: 5
I would like to do a setup to link two location A and B together. The setup as follows:
Location A: Fix IP, NAT, TekSIP server is installed behind the NAT. ATA is Grandstream HT286 install same LAN with TekSIP server. I manage to make the ATA registered to the TekSIP Server.
Location B: Dynamic IP, NAT. ATA is Grandstream HT503 is behind NAT. The ATA can not register to TekSIP Server at location A.

The idea is to enable the ATA at Location A and Location B can call each other. Is this possible? If possible, what is the setup for Location A Router, Location B Router and ATA. Thanks in advance.
0 permalink
22.07.2010 17:45:12

Admin
Admin
Administrator
Posts: 254
Hi,

Have you set up a reverse mapping for UDP port 5060 to Grandstream HT503 at location B? You need to have a similar mapping at location A for TekSIP.

Best regards,

Yasin KAPLAN
0 permalink
22.07.2010 18:06:16

klgoh
klgoh
Posts: 5
Yes, in the router for Location A and B, port forward 5060 to respective device as you mentioned but still can not get Location B to register to TEKSIP server at location A. Need to point out one matter, Location B, I set the HT503 to use TCP instate of UDP. I think my Location B ISP block UDP transport. I did setup Location B for IPtel.org service and only TCP can register to IPtel.org SIP server successfully. TEKSIP supported TCP, right?
0 permalink
22.07.2010 19:35:40

Admin
Admin
Administrator
Posts: 254
Yes, TekSIP supports TCP transport. Can you send me TekSIP log after setting log level to debug at settings / service parameters for REGISTER requests from location B?
0 permalink
26.07.2010 10:04:40

klgoh
klgoh
Posts: 5
Following is my log during the location B HT503 try to register.

note:

A. sip.location1.com is FQDN for location A will translate to IP address 202.188.61.2 (I have changed the actual IP address for the purpose of this posting)
B. 110.159.123.13 is the public IP for location B. Behind the NAT for this address is the HT503 (private ip 192.168.1.120)
C. TekSIP is running behind the NAT which Public address is 202.188.61.2.

I can notice that the HT503 have send a SIP req to register to the TEKSIP with the correct source Public IP. BUt when TekSIP try to respond to this request, it make a SIP req to the public IP of Location A instate of place the SIP req to the public IP of the Location B. Please advise.

_______________________________________________________________________________

SIP req. from : 110.159.123.13:2050 (TCP) - 7/26/2010 2:49:28 PM

REGISTER sip:sip.location1.com SIP/2.0
[Via] = SIP/2.0/TCP 192.168.1.120:5060;branch=z9hG4bK1285751670;rport;alias
[Route] = <sip:sip.location1.com:5060;lr>
[From] = <sip:102@sip.location1.com;user=phone>;tag=784203400
[To] = <sip:102@sip.location1.com;user=phone>
[Call-ID] = 1057814588-5060-1@192.168.1.120
[CSeq] = 2000 REGISTER
[Contact] = <sip:102@192.168.1.120:5060;transport=tcp;user=phone>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B821BAFCE>"
[Max-Forwards] = 70
[User-Agent] = Grandstream HT-503 V1.1B 1.0.1.63
[Supported] = path
[Expires] = 1800
[Allow] = INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
[Content-Length] = 0

SIP req. to : 202.188.61.2:5060 (TCP) - 7/26/2010 2:49:28 PM

SIP/2.0 502 Unknown host or domain
Via: SIP/2.0/TCP 192.168.1.120:5060;branch=z9hG4bK1285751670;received=110.159.123.13;rport=2050;alias
From: <sip:102@sip.location1.com;user=phone>;tag=784203400
To: <sip:102@sip.location1.com;user=phone>
Call-ID: 1057814588-5060-1@192.168.1.120
CSeq: 2000 REGISTER
Server: TekSIP/v2.9
Content-Length: 0

___________________________________________________________________________________
0 permalink
26.07.2010 11:45:14

Admin
Admin
Administrator
Posts: 254
Hi,

What is the "SIP Domain" configured in Settings / Service Paramters in TekSIP? I've fixed the issue with 502 response. Download
and test latest built which I've posted to TekSIP web site a couple of minutes ago.

Best regards,

Yasin KAPLAN
edited by admin on 26.07.2010
0 permalink
27.07.2010 07:58:47

klgoh
klgoh
Posts: 5
I have download and installed your latest build and I found the following problem.

TekSip is doing a SIP req to the incoming IP with the incoming port number (for my last example 110.159.123.13:2050) when TekSip receive a SIP req from Location B. But TekSIP still receive error 502. This is because the HT503 at Location B is listen to Port 5060 and it is behind the NAT, and the NAT is set to forward incoming port 5060 traffic to HT503. Therefore incoming port 2050 traffic will not forward to HT503.
I also notice that HT503 did a SIP req to the TekSip are using port 5060 (if I set HT503 not to use random port) but when it pass thru Location B NAT (I am using Dlink DI615), the NAT will remap the port (in my last example was port 2050), and the remap to port number is random. Therefore, TekSIP should do a SIP req to Incoming IP address with Port number 5060 (which appear in [Route] = <sip:sip.location1.com:5060;lr> tag). ie 110.159.123.13:5060 when respond to SIP req from HT503.

The "SIP Domain" setting is the Private IP address of the Machine running TekSIP. I did try to change to FQDN (ie sip.location1.com) but it revert back to the Private IP address when I click the "save" button.
0 permalink
27.07.2010 09:30:55

Admin
Admin
Administrator
Posts: 254
As far as I understand 202.188.61.2 is the external IP address of location B. You can click "Use External Address" and set external IP address as 202.188.61.2
at Settings / Service Parameters. You should not receive 502 after this setting. Please send me a log for the latest situation.
0 permalink
27.07.2010 12:17:49

klgoh
klgoh
Posts: 5
Please ignore my previous posting. Do you have an email that I can send the log file direct to you. I don't like the fix IP to publish on the forum.

I manage to get the HT503 to register to TekSIP by changing the SIP Server setting at the HT503 to the Private IP address of the TekSIP machine but can not dial to the HT503. I notice the following:

1. If using UDP, HT503 do show not register but the TekSIP registered the HT503 with the Address shown on the "Registrations" page as Location B Public IP address. (I did mentioned the Location B UDP may not work. I did try with IPtel.org with UDP also can't register)
2. If change to TCP, HT503 do show register but the TekSIP registered the HT503 with the Address shown on the "Registration" page as FQDN of Location A. I can not dial the HT503 also. Check the log show:

_______________________________________________________

/27/2010 5:05:08 PM - Debug Message (SendUDPPacket-General):

Cannot access a disposed object.
Object name: 'System.Net.Sockets.TcpClient'.

SIP req. to : :0 (UDP) - 7/27/2010 5:05:08 PM

__________________________________________________

any solution?
0 permalink
27.07.2010 12:55:39

Admin
Admin
Administrator
Posts: 254
You can send logs to info at teksip.com
0 permalink
18.02.2011 07:38:35

znarfes
znarfes
Posts: 1
Hello,

I have exactly the same problem like "klgoh".
Was there any solution for this problem ?

Best regards.
Helmut
0 permalink
18.02.2011 09:41:41

Admin
Admin
Administrator
Posts: 254
Hi,

Can you send me TekSIP log (Accessible through file menu) after setting log level to debug at settings / service parameters?
You can send the log to info at teksip.com.

Best regards,

Yasin KAPLAN
0 permalink

Home » General » Can not get the remote End Point to Register





Powered by Jitbit Forum 7.2.3.0 © 2006-2011 Jitbit Software