"No service" message -- but I have service

KodaK
Posts: 1885
Member Since:
2006-06-14

I have two phones that connect to a TB server across a VPN.

They work fine, but if they sit idle for a long time they will eventually display "No Service" -- but if I call them from the other side of the VPN they ring, if I call from them it works fine, and if I just pick up the handset and put it down the "No Service" message goes away.

I just added the "sip registration time: 300" line to the config files today, but it hasn't been long enough for me to tell if that fixed the issue.

Has anyone seen this before? Is this normal? Will the "sip registration time" config option fix the issue?

Thanks.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



KodaK
Posts: 1885
Member Since:
2006-06-14
Re: "No service" message -- but I have service

Adding "sip registration time" did not fix the issue. The phones are still saying "no service".

But, like I said, I can call it just fine and it can be called just fine -- it's just an annoying, pointless message.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



KodaK
Posts: 1885
Member Since:
2006-06-14
Re: "No service" message -- but I have service

Anyone? I know it's cosmetic, but it looks unprofessional.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



aastra3
Posts: 102
Member Since:
2006-11-07
Re: "No service" message -- but I have service

does the problem still exist after rebooting the phone?

The problem is that the sip registration is not being acknowledged ( 200 OK)
check that the registraion port is set to 5060 in the config.

It may need a wireshark trace of the sip messages to investigate further

Cheers

Kieran



KodaK
Posts: 1885
Member Since:
2006-06-14
Re: "No service" message -- but I have service

Oh yeah, I've rebooted plenty of times.

The registration port is set to 5060 in the config.

I also noticed a field, "registration period" that looks promising. I'll look it up, but I'll ask anyway: what does that do? Right now it's set to "0".

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



aastra2
Posts: 324
Member Since:
2006-10-05
Re: "No service" message -- but I have service

The fact that you can make incoming calls to the phone is interesting, it means that the trixbox server is getting the REGISTER messages from the phone, but the phone isn't getting the acknowledgments from the server. Or at least not recognizing the responses.

To answer your question about the parameters, here is a brief description (from memory) of the 1.4.1 parameters that you can tweak:

sip registration period:
sip lineX registration period:

- Length of registration period requested by the phone. The trixbox server can choose a different value and send that back in the 200 OK message.

sip registration retry timer:

- When the registration is rejected by Trixbox (eg wrong password), how long the phone waits before retrying. Default 1800 seconds (30 minutes)

sip registration timeout retry timer:

- When the phone doesn't get a response from Trixbox (eg server down), how long the phone waits before retrying. Default 120 seconds (2 minutes)

sip registration renewal timer:

- How long before the registration expires that the phone will renew it's registration. Default 15 seconds. For example - if registration period is 2 minutes, by default the phone will attempt to renew it's registration after 1 minute 45 seconds (120 - 15 = 105 seconds).

Now back to your problem...

You mentioned that the phone was connecting to the server via a VPN connection - can you give any more details of this? Maybe the VPN connection is somehow dropping the responses (ie 200 OK) to the phone's registration requests. But that would be really weird since it appears to allow calls to the phone. Alternatively, it could be changing the 200 OK message sent by trixbox so that the phone doesn't recognize it.

As it's difficult to troubleshoot individual issues via the forum, as Kieran suggested, if none of this info helps in diagnosing the problem yourself, then I'd recommend raising a case with our support organization.

--

----
Gareth

Firmware 2.5.1 available.
Download it from www.aastratelecom.com



KodaK
Posts: 1885
Member Since:
2006-06-14
Re: "No service" message -- but I have service
Quote:
aastra2 wrote:
You mentioned that the phone was connecting to the server via a VPN connection - can you give any more details of this?

Sure, I can tell you what I have set up right now.

I have two vpn capable routers with public IPs connected to my Internet router. To clarify: they're in the same physical location because this is just a mock up for now -- they go to the actual location on Friday. There is no firewall (at the moment) set to block any traffic between the two networks.

Network "A" is 192.168.1.0/24 and is the network the TB server lives on.

Network "B" is 192.168.17.0/24 and is the network the phones in question are connected to.

The outside IP for "A" is a.b.c.3 and "B" is a.b.c.7 (this will obviously change when I move the setup to its production location.

The routers have an IPSec tunnel between them. All other voice and data traffic appears to route fine right now.

The phones get their network config via DHCP from router "B" and incidentally they also get a pointer to the tftp server from that router, and they can configure themselves from factory default across the VPN.

Is there anything more you'd like to know? The routers are Snapgear routers, one SG550 and another is an SG560.

Quote:
Maybe the VPN connection is somehow dropping the responses (ie 200 OK) to the phone's registration requests. But that would be really weird since it appears to allow calls to the phone. Alternatively, it could be changing the 200 OK message sent by trixbox so that the phone doesn't recognize it.

My next step (if I had time) was to try running a wireshark trace to see what was up -- I have to find a hub somewhere in my junk pile, though. The small POE switch I have for the phones isn't managed and I can't mirror a port on it. :/

I do, however, have both phones running in "debug" mode and logging to a central syslog server. Would the output of that be helpful? I scanned through it and didn't see anything that raised red flags -- but then again I don't know what I'm looking for either.

Quote:
As it's difficult to troubleshoot individual issues via the forum, as Kieran suggested, if none of this info helps in diagnosing the problem yourself, then I'd recommend raising a case with our support organization.

Again, I was going to do that, but it's such a minor thing -- I was hoping there was a quick fix someone already knew about.

Thanks again.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



TROFFASKY
Posts: 78
Member Since:
2006-06-03
Re: "No service" message -- but I have service

Have you tried setting up another SIP agent [ie a different SIP phone or a PC running X-lite] on the "remote" side of your VPN? 'sip debug peer ' from the Asterisk console may furnish you with more useful information. Do the phones register OK when local to the trixbox? Does the Snapgear have any options along the lines of SIP ALG [Application Layer Gateway - some routers and firewalls (eg Zyxels) try to be 'helpful' by modifying SIP headers to take account of NAT, and end up breaking things]



KodaK
Posts: 1885
Member Since:
2006-06-14
Re: "No service" message -- but I have service
Quote:
TROFFASKY wrote:
Have you tried setting up another SIP agent [ie a different SIP phone or a PC running X-lite] on the "remote" side of your VPN?

Right now it's 9133is, and my boss wanted them to get 480i CTs. Those just came yesterday so I'll set them up today and see. I also have a grandstream and a linksys I could set up and see if they behave.

Quote:
'sip debug peer ' from the Asterisk console may furnish you with more useful information.

Another good idea. I just started this and I'll check it once I get to the office, maybe there will be something useful.

Quote:
Do the phones register OK when local to the trixbox?

Yes, "local" phones don't have this problem. These same phones, when plugged in to the local network, don't have this problem.

Quote:
Does the Snapgear have any options along the lines of SIP ALG [Application Layer Gateway - some routers and firewalls (eg Zyxels) try to be 'helpful' by modifying SIP headers to take account of NAT, and end up breaking things]

Yes, there is an option for "SIP Proxy" but it is not enabled. Interestingly, it's either on or off and there are no configuration options (at least in the GUI -- the great thing about these routers is that they're Linux based and you can easily get at the guts to make advanced configurations -- Snapgear plug off.)

Thanks for the tips. I'll give 'em a shot and see what happens.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



KodaK
Posts: 1885
Member Since:
2006-06-14
Re: "No service" message -- but I have service

It hasn't been a whole day yet, but I put the 480i CTs in place and they don't seem to be suffering from this issue. I haven't had time to do much of anything else, and by posting this I'm almost insuring that it will happen as soon as I mash the "submit" button -- but it looks like it's a non-issue with those phones.

I suppose it's possible that it's something holding over from a previous config on the 9133s, if I get a chance I'll set them back to factory and see, but if the phones that I'm using in production aren't going to do it then I probably won't -- I have too many other things to do right now. :)

Thanks for all the tips, I'll post again if anything changes.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



ItilitI
Posts: 3
Member Since:
2006-09-13
I was running into the same

I was running into the same issue. In each extension that this is happening, is qualify set to yes? If so, then it won't work. In the newest version of Freepbx, they started creating extensions by default woth nat=yes, and qualify=yes. This great except for one teeny tiny problem.. The asstra ohones don;t reply to qualify from the asterisk box. Asterisk sends it a 102 OPTIONS SIP conmmand, and it wont reply to it so Asterisk puts it in "UNREACHABLE" State. Check your asterisk info page and see if it says that...

I had to turn it off at my offfice for each Aastra ohone. That being said, I just did a brand new install at a new client wqith the 55i's and did not run into this issue..

HTH,

Rick



awair
Posts: 11
Member Since:
2007-04-02
VPN - "Keep Alive"

I am using Linksys routers for a similar setup and found that the VPN connection was occasionally dropped. Initiating network traffic at one end would sometimes re-open the VPN but not always.
Since setting "Keep Alive" for the VPN, I have not experienced any dropped connections.



Astawerks
Posts: 44
Member Since:
2007-02-25
what firmware are you using

what firmware are you using ?

*********************
Astawerks
www.astawerks.com
Trixbox and Asterisk Consulting\
AASTRA 9133i's $124.00
***********************

--

*********************
Astawerks
www.astawerks.com
We have all the New Digium cards in stock
Authorized AASTRA Reseller
Authorized Rhino Dealer
***********************



mickw
Posts: 1
Member Since:
2006-09-05
AASTRA 480i

I had this "issue" on newly acquired 480i.

Once I added the Phones Trixbox extension number into the "Phone Number" setting in "Global SIP" the message went away.



grandanet
Posts: 5
Member Since:
2010-01-03
Solution for "No Service"

This is a registration timeout message, the solution is to set the SIP registration times to never expire.

For example, Aastra 480i

Go to -> Global SIP

Under the = Basic SIP Network Settings

Registration Period = 0

Under the = Advanced SIP Settings

Registration Failed Retry Timer = 1
Registration Timeout Retry Timer = 120
Registration Renewal Timer = 0

Let me know if this helps...

--------------------------
GrAnDaNET :-)

--

--------------------------
GrAnDaNET :-)



Comment viewing options

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