Strange behavior?

mlewis
Posts: 192
Member Since:
2006-12-18

I'm not sure what is going on here and I sure could use some input. We changed our PRI over to a new provider yesterday and since then, have been seeing strange things.

For example, users who are trying to connect remotely, all of them using SPA-941 phones, can't connect. Instead, we see 192.168.1.1 for everyone that can't connect when we do a 'sip show peers'.

I had one user test with me. We changed the password to a simple one, tried various NAT combinations but we just keep on getting the following;

pbx105*CLI>

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.99:5060;branch=z9hG4bK-13e2a8bf;received=192.168.1.1
From: "Glen xxxxxx" ;tag=8c98b09447781cd0o0
To: "Glen xxxxx" ;tag=as264f7d47
Call-ID: 8f85ee0e-7c6a6e07@192.168.1.99
CSeq: 51268 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7aad7c64"
Content-Length: 0

The provider keeps telling us the problem is at our end yet we've already found that they did change some of the signalling causing an inbound route problem. That has been fixed since but now we're struggling with this.

I have to guess that this is something to do with a NAT setting on the new router they have brought in?

Mike



SkykingOH
Posts: 9538
Member Since:
2007-12-17
I am not sure how changing a

I am not sure how changing a PRI line would effect any SIP or for that matter anything on the network. Did you change ISP's also? What is the network environment? More importantly what changed?

--

Scott

aka "Skyking"



mlewis
Posts: 192
Member Since:
2006-12-18
And that's the problem, the

And that's the problem, the new ISP keeps telling us it's at our end and so far it's not.
They said they never changed anything but they did and I'm trying to figure out what it might be so that I can have them look closer.

For one, they changed the PRI signalling from incoming digits being 10 to 4 or some such thing which broke our inbound routes.

Now we're seeing remote phones coming over the network showing up as 192.168.1.99 which is screwing things up.
On the remote users phones, we set them all to 192.168.1.99 behind their DSL/Cable modems yet the PBX is seeing some of those phones trying to connect as 192.168.1.99 over the Internet.

In other words, that private IP is coming over the net, into our network and the PBX is not authenticating them.
We never made any changes on the firewall but the new provider did bring in their own voice/data router for this circuit so I suspect a NAT setting on their hardware. This is what I need to prove so that I can call them and explain what I need.

I hope this helps to better explain.

Mike



SkykingOH
Posts: 9538
Member Since:
2007-12-17
I am lost, is this a PRI

I am lost, is this a PRI that is delivered over VOIP and you are connecting the IAD to the PRI? If they supplied the router how do you know the port forwarding is still correct?

The private IP from the remote end has nothing to do with the server end. You really need to give more information. Did the remote phones ever work? What kind of phones are they? The trix should see the remote NAT address as the source IP.

--

Scott

aka "Skyking"



mlewis
Posts: 192
Member Since:
2006-12-18
>I am lost, is this a PRI

>I am lost, is this a PRI that is delivered over VOIP and you are connecting the IAD to the
?PRI? If they supplied the router how do you know the port forwarding is still correct?

We had a standard PRI connected to trixbox onto a Rhino card. Our new provider came in with bonded connected and the PRI over IP. They installed their own router and PRI breakout box and told us everything would be identical. There were some minor differences as I mentioned earlier. In my initial post, I mentioned that I was not sure where the NAT problem might be but that the TB was not seeing the users real IP, only their phone IP which is a private NAT address. Not sure why that would even make it across the net. I thought the users firewall/router would translate that to public only. I guess the private IP must be in the session packets.

>The private IP from the remote end has nothing to do with the server end. You really need to >give more information. Did the remote phones ever work? What kind of phones are they? The >trix should see the remote NAT address as the source IP.

I've been giving what ever information anyone would like, am happy to :).
I thought I mentioned that but all of the phones are Linksys SPA-941. Some of the users are able to connect and some aren't.

I did find that someone had enabled Source Translation on the firewall which I've disabled since I started this thread. Now, everyone seems to be connecting but the current problem is;

1776/1776 75.x.x.97 D N 1907 UNREACHABLE

Turning the above off allowed this user to connect but now we're seeing that the TB seems to be communicating with the user over port 1907? We identified that the port is being initiated from the TB and have not figured out why this is happening. Why is this user diferent than the others.

What can I provide in order to help find a solution, I'll be happy to.

Mike



16again
Posts: 370
Member Since:
2007-03-04
Is trixbox behind NAT? If

Is trixbox behind NAT? If the external IP address has changed, change sip_nat.conf accordingly.

You're using a new internet router. Make sure it does not have SIP helpers/ALG enabled!!



mlewis
Posts: 192
Member Since:
2006-12-18
The TB is behind a firewall

The TB is behind a firewall which is handling NTA. Yes, one of the first things I did was to mod the nat file.

ALG is on but the SIP protocol is disabled. I'm pretty sure that's how it was working before. I had created a custom SIP service and was using that for SIP. I'm no longer sure if juniper support changed something I'm not catching at this point.

The firewall is a juniper, ssg series, screenos.

Mike



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.