Jump to content

PBX in LAN natted to a public IP


Ganesh
 Share

Recommended Posts

We have version 2.1.2.2292 (Win32) which is installed in the LAN. The domain is created as "localhost". The LAN IP is natted to a public IP. Phones within the LAN are using the natted IP as registrar and getting registered to the PBX.

 

The phones outside the office are using this public IP to register. The phones at some office are registering with the PBX. But in the PBX trace for registered phones, we see Via: SIP/2.0/UDP 0.0.0.0:1040 and Contact: <sip:109@0.0.0.0:1040>. Is this normal? Why is it not displaying the IP address? Registered trace is given below.

 

But at some offices the phones are not registering. There is no firewall in the network. The customer also has a PBX on direct public IP at a different location. If they try registering the same phones to the PBX that is on direct IP it is registering. The same phones are not registering to natted IP. Below is the logs taken from the phone. What could be the problem?

 

Registered Trace:

 

EGISTER sip:192.168.200.72 SIP/2.0

Via: SIP/2.0/UDP 0.0.0.0:1040;branch=z9hG4bK-gjvoz3k3jdgd;rport

From: "109" <sip:109@220.225.222.166>;tag=yyb923olv1

To: "109" <sip:109@220.225.222.166>

Call-ID: 2bba85479fd5-0sqr7ku8a2pr@snomSoft

CSeq: 619 REGISTER

Max-Forwards: 70

Contact: <sip:109@0.0.0.0:1040;line=3tjczupg>;q=1.0;+sip.instance="<urn:uuid:1440620d-1019-4b4b-a6a1-770b02fe6a41>";audio;mobility="fixed";duplex="full";description="snomSoft";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"

User-Agent: snomSoft/3.60j

Supported: gruu

Allow-Events: dialog

X-Real-IP: 0.0.0.0

Expires: 3600

Content-Length: 0

 

[9] 2008/01/10 00:01:45: Resolve destination 2090: udp 192.168.200.254 49083

[9] 2008/01/10 00:01:45: SIP Tx udp:192.168.200.254:49083:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 0.0.0.0:1040;branch=z9hG4bK-gjvoz3k3jdgd;rport=49083;received=192.168.200.254

From: "109" <sip:109@220.225.222.166>;tag=yyb923olv1

To: "109" <sip:109@220.225.222.166>;tag=30b628b6c0

Call-ID: 2bba85479fd5-0sqr7ku8a2pr@snomSoft

CSeq: 619 REGISTER

Contact: <sip:109@0.0.0.0:1040;line=3tjczupg>;expires=30

Content-Length: 0

 

Logs from phone not registering:

 

[5]10/1/2008 04:32:46: Opening UDP socket on port 0

[5]10/1/2008 04:32:46: Opening UDP socket on port 0

[5]10/1/2008 04:32:46: Opening UDP socket on port 0

[5]10/1/2008 04:32:46: Opening UDP socket on port 161

[5]10/1/2008 10:02:46: Opening TCP socket on port 0

[5]10/1/2008 10:02:46: Opening TCP socket on port 1800

[5]10/1/2008 10:02:46: Opening TCP socket on port 443

[5]10/1/2008 10:02:46: Opening UDP socket on port 0

[8]10/1/2008 10:02:46: Routing to outbound proxy sip:220.225.222.166

[8]10/1/2008 10:02:46: route_pending_packet 1000000: entry=url ? sip:220.225.222.166

[8]10/1/2008 10:02:46: route_pending_packet 1000000: entry=udp 220.225.222.166 5060

[8]10/1/2008 10:02:46: Send Packet REGISTER

[8]10/1/2008 10:02:46: Routing to outbound proxy sip:220.225.222.166

[8]10/1/2008 10:02:46: route_pending_packet 1000001: entry=url ? sip:220.225.222.166

[8]10/1/2008 10:02:46: route_pending_packet 1000001: entry=udp 220.225.222.166 5060

[7]10/1/2008 10:02:46: Trusted IP Addresses: udp:220.225.222.166

[5]10/1/2008 10:02:46: Opened audio

[8]10/1/2008 10:02:51: Send Packet REGISTER

[8]10/1/2008 10:02:52: Send Packet REGISTER

[8]10/1/2008 10:02:54: Send Packet REGISTER

[8]10/1/2008 10:02:58: Send Packet REGISTER

[8]10/1/2008 10:03:06: Send Packet REGISTER

[8]10/1/2008 10:03:22: Send Packet REGISTER

[2]10/1/2008 10:03:22: Registrar 104@220.225.222.166 timed out

[3]10/1/2008 10:03:36: DNS: Timeout on provisioning.snom.com

[8]10/1/2008 10:03:36: DNS Cache: Add a provisioning.snom.com = (ttl=60)

[8]10/1/2008 10:03:36: DNS cache_lookup: a provisioning.snom.com ->

[0]10/1/2008 10:03:36: Webclient: Could not find host provisioning.snom.com:80

[8]10/1/2008 10:03:36: DNS Cache: Add a 80 = (ttl=900)

[8]10/1/2008 10:04:22: Routing to outbound proxy sip:220.225.222.166

[8]10/1/2008 10:04:22: route_pending_packet 1000002: entry=url ? sip:220.225.222.166

[8]10/1/2008 10:04:22: route_pending_packet 1000002: entry=udp 220.225.222.166 5060

[8]10/1/2008 10:04:22: Send Packet REGISTER

[8]10/1/2008 10:04:22: Routing to outbound proxy sip:220.225.222.166

[8]10/1/2008 10:04:22: route_pending_packet 1000003: entry=url ? sip:220.225.222.166

[8]10/1/2008 10:04:22: route_pending_packet 1000003: entry=udp 220.225.222.166 5060

[7]10/1/2008 10:04:22: Trusted IP Addresses: udp:220.225.222.166

[8]10/1/2008 10:04:22: Send Packet REGISTER

[8]10/1/2008 10:04:23: Send Packet REGISTER

[8]10/1/2008 10:04:25: Send Packet REGISTER

[8]10/1/2008 10:04:29: Send Packet REGISTER

[8]10/1/2008 10:04:36: DNS Cache: Removing a provisioning.snom.com

[8]10/1/2008 10:04:37: Send Packet REGISTER

[8]10/1/2008 10:04:53: Send Packet REGISTER

[2]10/1/2008 10:04:53: Registrar 104@220.225.222.166 timed out

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...