9133i doesn't register

zishanov
Posts: 241
Member Since:
2006-06-27

After some reasearch, I decided to go with Aastra 9133i, thinking that it'll be a wonderful phone. But setting it up has proven that I was completely wrong. I naver had such a hard time before setting up an IP Phone.

Please help me to set it up. I've tried various settings. In the end, chaged settings to factory default, and did the following. Still doesn't register, says No Service, and asterisk doesn't show it registered.

=================
Firmware Information
----------------------
Firmware Version 1.3.0.1080
Firmware Release Code SIP
Boot Version 1.1.0.10
Date/Time Nov 4 2005 19:17:56

Basic SIP Settings
-------------------
Screen Name
Phone Number
Caller ID
Line Mode Generic Broadsoft SCA Nortel
Proxy Server
Proxy Port
Registrar Server myasterisk.dyndns.org
Registrar Port 5060
Registration Period 60
Authentication Name
Password

Advanced SIP Settings
-----------------------
Explicit MWI Subscription Enabled
Outbound Proxy Server
Outbound Proxy Port
Session Timer
T1 Timer
T2 Timer
Transport Protocol Both UDP TCP

RTP Settings
-------------
RTP Port 10004
Basic Codecs (G.711 u-Law, G.711 a-Law, G.729) Enabled
Force RFC2833 Out-of-Band DTMF Enabled
Customized Codec Preference List

Configuration Line 1
=============
SIP Settings
-------------
Screen Name MyName
Phone Number MyExtension
Caller ID My Extension
Line Mode Generic
Proxy Server 0.0.0.0
Proxy Port 0
Registrar Server myasterisk.dyndns.org
Registrar Port 5060
Registration Period 60
Authentication Name MyExtension
Password ****



aastra2
Posts: 324
Member Since:
2006-10-05
Re: 9133i doesn't register

You need to configure the Proxy Server and Proxy Port settings to point to your trixbox server.

--

----
Gareth

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



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

I tried it, still didn't work.

Whats the difference between the registrar server and proxy server? Isn't the asterisk my registrar server? What proxy port do I use? Is it 5060?

Given the following information, how can I make my phone work:

authentication user: 502
password: 1111
Asterisk server: myasterisk.dyndns.org
Phone number: 5551231234

If I put this info in Global settings, shouldn't the phone work?
Or If I put them both in Global and Line 1 settings, shouldn't it work?



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

As for the time server, I tried time.nist.gov, time.windows.com and myasterisk.dyndns.org. But it couldn't detect time either.



aastra3
Posts: 102
Member Since:
2006-11-07
Re: 9133i doesn't register

Can you give a little more information on you network configuration. are the phones and the trixbox behind a firewall. or perhaps the trixbox is remote. Are you sure DHCP is specifying the DNS server. Is the firewall correctly doing the port forwarding of 5060 to the trixbox?

I would suggest trying the configuration using just the IP addresses, not the domain names. ie. 10.10.10.1 etc rather than myasterisk.dyndns.org. This will eliminate a few variables.



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

I put new firmware in /tftproot/ directory. Phone updated the firmware successfully. But stil didn't work. Now I've restored it to factory default settings. It doesn't say on display 'No Service' but doesn't register either and doesn't read config files any more from the /tftpboot/ directory.

Trixbox is not behind nat, but is on a public IP and is remote. I have 2 other IP phones and 3 softphones registered to it.

Now I am using the IP address instead of FQDN. But no difference.



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

All of a sudden it has started to work. I don't know why. But it still doesn't read the config files from tftp. Are there some different config files for firmware version 1.4? If yes, where can I get them?

Doing setup-aastra in trixbox creates aastra.cfg in /tftpboot/ directory. So the phone should be able to read config files from here once given the IP of the trixbox server. But it doesn't seem to be readings configs from here.



aastra2
Posts: 324
Member Since:
2006-10-05
Re: 9133i doesn't register

The files are exactly the same between 1.4 and previous releases, that is the phone looks for aastra.cfg and .cfg; where is the mac address of the phone in uppercase.

The fact that the phone upgraded the firmware from the the trixbox tftp server, suggest that you've got TFTP connectivity and that the phone is downloading the aastra.cfg file. This is because the phone only checks for new firmware if it can successfully access the aastra.cfg file.

Have you created the .cfg files in /tftpboot? The aastra.cfg file only contains information about connecting to trixbox, the individual extension information for each phones is normally put in the .cfg file.

I don't know if you are using the end point manager, but I did notice that in trixbox 2.0 for some reason the end point manager didn't always write the .cfg file. I had to open the end points up again from the list and submit the information again to get it to write the files.

To prove one way or the other if the phone is connecting to the TFTP server you should run tail on the tftp logs why the phone is booting.

tail -f /var/log/atftpd.log

This will show you if the phone is downloading the files or not.

--

----
Gareth

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



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

This command was a nice command. I didn't know about it before.

Here is the output from it, which was related to Aastra:

Nov 09 21:02:17 asterisk1.local atftpd[29549.-1208198848]: Advanced Trivial FTP server started (0.7)
Nov 09 21:02:17 asterisk1.local atftpd[29549.-1208202320]: Serving aastra.cfg to xxx.xxx.xxx.xxx:64005
Nov 09 21:02:23 asterisk1.local atftpd[29549.-1208202320]: Serving security.tuz to xxx.xxx.xxx.xxx:64007
Nov 09 21:02:23 asterisk1.local atftpd[29549.-1208202320]: Serving aastra.cfg to xxx.xxx.xxx.xxx:64009
Nov 09 21:02:24 asterisk1.local atftpd[29549.-1208202320]: Serving 00085D03F70F.cfg to xxx.xxx.xxx.xxx:64011
Nov 09 21:02:33 asterisk1.local atftpd[29549.-1208202320]: Serving 9133i.st to xxx.xxx.xxx.xxx:64013

where xxx.xxx.xxx.xxx is the public IP of the network where Aastra is located.

This shows that Aastra is trying to retrieve data from tftp, but because of some reason not updating itself.
Also there are no such files security.tuz or 9133i.st in /tftpboot/ or anywhere on the harddisk. They why it is saysing Serving these files. The firmware file is FC-000046-01-08.st. Also here it shows mac address in capital letters, whereas the actual file has small letters.

Does this all give you any indication why still configurations are not being uploaded on the phone from tftp?



JamesDW
Posts: 518
Member Since:
2006-06-01
Re: 9133i doesn't register
Quote:
Also here it shows mac address in capital letters, whereas the actual file has small letters.

Does this all give you any indication why still configurations are not being uploaded on the phone from tftp?

YES! The file name of the config file that you create and save needs to be in ALL CAPS.



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

I tried that too, didn't help. Maybe I did something wrong.

By capitalizing you mean 00085d03f70f.cfg should be 00085D03F70F.CFG or 00085D03F70F.cfg. I tried the last one, but still didn't help.



JamesDW
Posts: 518
Member Since:
2006-06-01
Re: 9133i doesn't register

Keep it like 00085D03F70F.cfg

This is the way it must be. Otherwise you will be fighting more then one problem and never get it resolved. Leave the file like this then we will know the problem is not the file name... and you can focus elswhere.



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

I changed the file name to caps. Now it has started to upload some settings from the config file and some not. I've made sure that nothing is conflicting with aastra.cfg. I don't understand why it is not straight forward. I gave global settings in aastra.cfg and local settings in .cfg. But still some old settings which were there throught web GUI are still there. On top of that, now # key is not sending DTMF, i.e. doing *97# doesn't work because it doesn't recognize #. It was working fine a minute ago. DTMF was on RTP and is still on RTP.

But at least there is some success after many days of hard work.



aastra3
Posts: 102
Member Since:
2006-11-07
Re: 9133i doesn't register

web gui settings will override the config file settings. The phones up load the config files, then override any setting by what was set on web gui. you need to factory reset the phone, reconfigure the phone to point to the tftp server and then try again



aastra2
Posts: 324
Member Since:
2006-10-05
Re: 9133i doesn't register
Quote:
But still some old settings which were there throught web GUI are still there.

As stated elsewhere changes made via the option menu on the phone or it's web interface over-ride any settings in the configuration files. You can either reset the phone to "factory defaults" which will blow away any configuration changes you've made and return the phone to the state it was in when you took it out of the box.

Or simply use the web interface/options menu to change the values so they match the configuration file settings. This has the effect of removing the local override for these settings, so any changes to the configuration files will be picked up from this point on.

Quote:
On top of that, now # key is not sending DTMF, i.e. doing *97# doesn't work because it doesn't recognize #. It was working fine a minute ago. DTMF was on RTP and is still on RTP.

Check your dial plan settings. When setting the dial plan via the configuration file, you must put the value in quotes if it contains the '#' character. This is because '#' is also the comment indicator. For example:

sip dial plan: "x+#|xx+*"

One final thing, you mentioned in another post that the firmware file was called "FC-000046-01-08.st", you'll have to rename this to 9133i.st for the phone to pick it up. Basically the phones all expect the firmware files to be named after the phone model, eg 9133i.st, 480i.st, etc.

The name of the firmware from the download is named after its SKU number, which is different for each firmware version. Every firmware version you download will therefore have to be renamed for the phone to automatically pick it up from the tftp server.

--

----
Gareth

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



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

Thanks for all your help. But now I have following questions:

1. Why it tries to look for security.tuz file, where is this file located?

2. Purpose of TFTP is to control phones in a large deployment. If settings made through web UI or phone are over-riding TFTP's config settings, then what's the purpose of TFTP and how an administrator would change settings on, lets say, 50 phones.

3. When I enabled Force RFC2833 Out-of-Band DTMF setting, # started to work. In the dial plan it was not in quotes. I'll try that too. But what was happening in the beginning was that dialing *97# worked, but then entering password and then # didn't work. Was it because of RFC2833 Out-of-Band DTMF or because of it putting not being in quotes?

There are still few things I am trying to figure out on the phone, which I don't understand how are they working and/or not working. It was not easy to deal with this phone, but I am impressed by its excellent voice quality. This is the reason these days I am using only this phone. Purpose of asking these questions is to master its setup so in future I can confidently give them to my clients with voice quality guarantee.



aastra2
Posts: 324
Member Since:
2006-10-05
Re: 9133i doesn't register

1. The phone supports encrypted configuration files, the security.tuz file is one of these files, hence it always checks for it's presence. How this works is fully documented in the admin guide which is available here:

http://www.aastratelecom.com/support/show_manuals.asp?p=240

2. In general, for large deployments you should stick to the configuration files, but if there is a quick change you want to make without having to go back to the TFTP server and changing the configuration file, you can do this through the Web interface.

Note that there are two privilege levels of login on the web pages - admin and user. End-users of the phone, should really only be given the user login details, this allows them to setup things such as speed dials and some other user level preferences. Admin privilege allows you to change a lot more - almost everything that you can set via the configuration files, but you're supposed to know the impact of the changes you make.

3. The dial plan settings are used by the phone to determine when it's collected enough digits to have a full number for forwarding to trixbox. If you look at the default dial plan it will match have an exact match on *97#, so the phone will dial this number by sending out an INVITE message [Note, by default when dialing the phone doesn't send the # - it's just used to tell the phone you've finished entering the number].

Once you've got the call setup to the voice mail server, then any dialed digits don't go through the dial plan - they instead are sent to the server in one of three ways:

DTMF tones through the voice path using the selected codec
RFC2833 events (special RTP packets)
SIP INFO messages

You can choose which of these methods via the phone configuration, but it has to match the trixbox settings - otherwise it won't detect the digits.

My guess is that your trixbox is setup to expect RFC2833, hence you needed to set the phone up the same way.

--

----
Gareth

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



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

Now my phone is working fine.

What I've learnt is following.

1. Web UI has problems in it.
2. Configuration file name should be capital.
3. Firmware file name should be changed to
.st, e.g. 9133i.st.
4. To use TFTP, don't touch anything in phone's UI or its web UI. This is what creates all the problems.
5. If phone's UI or web UI was used to make any settings, and later decided to use TFTP, first restore the phone to factory default settings and remove local configuration settings. This can be done in web UI. Make sure that aastra.cfg and .cfg files have all the required info. Then reboot the phone.
5. Use tail -f /var/log/atftpd.log command in linux to see if the phone is actually being served by the tftp server.
6. I also had to set DTMF methof to RTP and to enable Force RFC2833 Out-of-Band DTMF.

Why I say web UI has problems is because it acted funny ever since I got the phone, and I believe many things didn't work just because of this. For example, when I typed tftp server FQDN or IP, on rebooting the phone, everytime I saw last 2 letters or digits from the typed named were missing. For time server, it never updated its clock from the timer server, though it showed time server typed correctly.

Right now, what happened was that I put " marks around the typed dial plan. On reboot, there was no dial plan at all. Then I checked that in config file there were already quotes around the dial plan. I typed in the dial plan again without quotes, and on reboot again there was no dial plan. Obviously web UI settings were ignoring the configuration files' settings, and themselves were also not working. So I had to again restore it to factory default, so that config files can kick back it.

In short, phone works perfect once settings loaded from tftp. But web UI gives problems. I mostly use TFTP , so I am ok for now. But hopefully web UI will be fixed too by Aastra.

Otherwise, the ultimate feature, i.e. sound quality is wonderful and I've really liked this phone.



eoo
Posts: 448
Member Since:
2006-10-30
Re: 9133i doesn't register

Just to reinforce zishanov, we are using the 9133i and it is awesome BUT the web UI is seriously deficient. It frequently freezes up when the configuration changes are applied, it often misses things that are changed. We have NTP configuration working, sort of, but with no success on the time zone adjustments. Never been able to use the web UI for password changes.

The TFTP works fine but when you need a quick adjustment, the web UI should be there, not set off an hour of troubleshooting every time you want to use it.



aastra2
Posts: 324
Member Since:
2006-10-05
Re: 9133i doesn't register

zishanov:

You only need the quote marks around the dial plan in the configuration file - you don't need to use them in the WebUI. They are needed to escape the '#' character in the configuration file, as this is the comment indicator for the configuration files only.

I've never heard of people having problems setting the TFTP server via the WebUI or TUI. Maybe there is something specific about the values you are trying to set (although I can't think what, unless you have a very long FQDN address), can you PM me the values you tried to use?

eoo:

Can you elaborate on the problems you are seeing using the WebUI? The only 1.4 web related issue that I know of is with long (85+ character) dial plans being truncated. Are there specific web pages that caused problems, or was it all of them? Was there a problem with a particular browser? Any info you can provide that can help isolate the problem, would be of great benefit.

Which timezone are you having problems with?

Note, you can only change the user password through the WebUI not the admin password. But I'm assuming you already knew that and it's the user you are having problems with?

--

----
Gareth

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



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

All issues are already mentioned in the posts here. Main problem was that what I changed in Web UI, sometimes didn't actually changed anything and on next reboot I could see that nothing was changed. Trying to type in tftp address still doesn't work. If I type xxx.xxx.111.123, it'll take only xxx.xxx.111.1 and last 2 digits will be deleted. There were other issues too which I forgot (read the previous posts) but I am not touching the web UI any more.

Also I don't think it makes any sense that changes made through web UI take precedence over the tftp, and don't get updated from tftp. What's the purpose of tftp then? Other phones I have, i.e. Grandstream and Linksys don't do this and make it easier for me as an admin to control phone through tftp.



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

I am also having issues in getting these phones to register. upgraded all phones to newest firmware without issue. Not sure about the global sip tab vs. the line 1 config, line 2 config, line 3 config etc...(9133i). My setup is no nat. Trixbox and all phones are on same lan. 3 9133i and 1 480i CT. Other phones Linksys spa922, spa921, Grandstream have no issue at all.

I went into the WEB UI and enter the user/password require by Trixbox for registration but ended up with a No service message. I generate the mac.cfg file with endpoint manager(Is there another way?).

I have 5 analog lines coming in. Just need it to be

L1 - 111-1111
L2 - 222-2222
L3 - 333-3333
L4 - 444-4444
L5 - 555-4444

Do I need to enter these actual phone numbers somewhere?

I had these extensions already in FreePbx

ext/password
1001/1001 - 9133i
1002/1002 - 9133i
1003/1003 - 9133i
1004/1004- 480i CT

Been through the forums and docs from Aastra.com. Maybe I haven't spend enough hours yet !

:-D



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

jthong555, make sure you put your asterisk server address both in sip proxy server and sip registrar server, and set ports 5060 for both of them, if that's what you're using in sip.conf. The global sip settings are just to confuse the users, aastra should remove them altogether. Just put your settings in line 1, line 2 etc.

And before doing this all, once reset the phone to factory default settings.

I also had never registration problem with Linksys and Grandstream, they register immediately. But aastra has made it unnecessarily difficult. They should consider changing their web UI and firmware settings.



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

I did put my trixbox ip into the sip proxy and sip registrar already and set port 5060 for both. I am heading out for dinner now.!. Can't wait and try it out on the lines line1, line2. thanks



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

I guess I need to input basic sip credentials too? If so I guess that I am a little confuse at this point.

Going by my previous comments.

I want all 3 9133i to have

L1 = 111-1111 (hardcode buttons already)
L2 = 222-2222 (hardcoded already)
L3 = 333-3333 (hardcoded already)
L4 = 444-4444 (will have to use buttons on the side and program 2 more for line L4 and L5)
L5 = 555-5555

Now I assume that each endpoint(Aastra) will be identify by ONE extension
Ext. 1001- first Aastra 9133i
1002- 2nd 9133i
1003- 3rd 9133i
1004- 480i CT (base)
1004- 480i CT (Cordless)
It should be simple but my brain somehow doesn't seem to work right tonight. The more I think about it the more confuse I get about my incoming lines and stuff. But that's part 1. First I need to get my extension(phone) to register before I setup inbound/outbound stuff.

You also mention sip.conf? What lines do I need to put there?

Back to the top in the line 1, line 2, line 3 part. now let say I do have to enter the credentials.. Do I put 1001 for line 1 with password 1001? 1002 for line 2 wiht password 1002? 1003 for line3?. I guess not because I believe that each one of the extensions belong to ONE PHYSICAL PHONE.

Because nobody is posting I am editing this part for clarification.

It's like Mary is sitting at phone 1001
Jack is sitting at phone 1002
Sue is sitting at phone 1003
Heather is sitting at phone 1004
David is sitting at phone 1004(cordless)

ALL phones should have L1-L5 buttons all program for all 5 lines.
They are the receptionist. Incoming calls will ring line1 button on ALL phones . AM I MAKING SENSE HERE????



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

With Trixbox, all you need is to give an extension number and a password. In your case you'll add SIP extension. Then press submit and the red bar on the top. Once done, you'll click the extension from the extensions list, and in the settings screen, type 'no' in the 'qualify' field and 'yes' in the 'nat' field. You don't need to add/remove anything from sip.conf at this stage. The only thing you might need is to add a line 'insecure=invite' in sip.conf under the [general] parameters. But thats only to receive incoming calls on SIP trunks.

Once done, all you need is to setup aastra phone lines with the extension and passwords you just selected for your extensions.

To make it easier, at this stage keep the passwords same as extensions.

If you have trixbox on public IP, or forwarded to it can be accessed remotely, I can help you setup 2 extensions on it. I can also help you setup your one of your aastra using remote provisioning if you like. Then you can see what changes I've made and move on from there. If you want this, contact me at zeeshan@visionvoip.com with trixbox IP and MAC address of an aastra phone.



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

hey thanks for trying..

I only need to get it working on the internal lan. Once that's done, I can handle everything else.

Yes as indicated above I already created the sip extensions with same password already. I turn on qualify=yes and nat =no because everything is on my LOCAL lan. My trixbox is NOT on public ip . Everything private as in 192.186.1.XXX

I do currently do have natted extensions remotely that are working fine for months. I just couldn't get this concept of
Phone Company incoming lines, with All the buttons on the Aastras and the FreePBX Extensions to click. Doesn't make sense to me yet.



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

I need to add that I am not using any VOIP Provider. SO no sip calls coming in on trunks. Only from remote extensions. I Just got 5 incoming analog lines going into 5 fxo ports on a Sangoma a200d. Need to hard-code all 5 lines into their respective buttons on the Aastra's. The 5 lines are in a hunt group.



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

I needed to spend a whole day reading the Administrator's Manual from Aastra website before I could make it work. I think you should also do the same thing.



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

Already did that.. I'll just wait for an Aastra moderator to chime in. It just too bad. I was hoping to see a better written sample config files in the manual. I might just have to spend another 10-20 hours of reading. Anyway thanks again!

For such a popular phone, since nobody is having this issue, I guess I am just one of those dumb ones! :lol:



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

Actually I also thought the same thing when buying this phone. I thought it'd be simple to set it up. But after my experience with it, I'm not going to buy them again, unless they come up with something better. Although when setup, the voice quality is great.



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

Have you used tftp? I think thats the only hope left for you.

Do setup-aastra on trixbox. It'll setup /tftpboot/ folder with a sample aastra config file in it. This file will be useless as it doesn't have anything in it.

Delete the three lines which are there in the aastra.cfg file and copy paste the following text in it. Save the file. In the phone's web UI, DO RESET it to factory default settings, reboot the phone and in the tftp section, give the IP address of your trixbox. And of course, in the following text, where I have 192.168.0.199, write your trixbox's IP address. Make sure you have extension 1111 with password 1111 in your trixbox. This is just for testing purposes to bring your phone online. Later you can change settings to whatever you like.

Please make sure you have qualify=no for the extension.

# DHCP Setting
# =============
dhcp: 1 # DHCP enabled.

# Time Server Settings
# =====================
time server disabled: 0
time server1: time.nist.gov

#sip outbound proxy: sbc.aastra.com
#sip outbound proxy port: 0 # a value of 0 enables SRV
# lookups for the address of
# the proxy.

sip rtp port: 10004
#-----------------------------------------------------------------

# Configuration Server Settings
# = = = = = = = = = = = = = =
download protocol: TFTP
tftp server: 192.168.0.199

#----------------------------------------------------------------
# Dial Plan Settings
# ====================
sip digit timeout: 3
sip dial plan: "x+#|xx+*"
#-----------------------------------------------------------------
# General SIP Settings
# ======================
sip session timer: 30
sip transport protocol: 0 # use UDP (1), TCP (2) or both (0)

# Global SIP User Settings
# ==========================
#
# sip screen name: Your Name # the name display on the phone's screen
# sip user name: 1111 # the phone number
# sip display name: Your Name
# sip vmail: *97
# sip auth name: 1111
# sip password: 1111
# sip mode: 0 # line type:
# 0 - generic,
# 1 - BroadSoft SCA line
# 2 - Nortel line
# sip proxy ip: 192.168.0.199
# sip proxy port: 5060
# sip registrar ip: 192.168.0.199 # IP address or FQDN of registrar
# sip registrar port: 5060 # as proxy port, but for the registrar
# sip registration period: 60 # registration period in seconds

# Per-line SIP Settings
# =======================
# configure line 1 as your first extension

sip line1 screen name: Zeeshan-VisionVoIP
sip line1 user name: 1111
sip line1 display name: Zeeshan-VisionVoIP
sip line1 auth name: 1111
sip line1 password: 1111
sip line1 mode: 0
sip line1 proxy ip: 192.168.0.199
sip line1 proxy port: 5060
sip line1 registrar ip: 192.168.0.199
sip line1 registrar port: 5060
sip line1 registration period: 300

# sip line3 mode: 1
# sip line3 vmail: *78
# configure line 5 (a soft key line) as an ordinary line
# of a test server
# sip line5 screen name: Test 1
# sip line5 user name: 5551001
# sip line5 display name: Test 1
# sip line5 auth name: 5551001
# sip line5 password: 5551001
# sip line5 mode: 0
# sip line5 proxy ip: 10.50.10.102
# sip line5 proxy port: 5060
# sip line5 registrar ip: 10.50.10.102
# sip line5 registrar port: 5060
# sip line5 registration period: 60
#-----------------------------------------------------------------
# Programmable Key Settings
# ===========================
# Programmable keys can be set either server wide or unique to each
# phone.
# Setting programmable keys as line/call appearances should be done
# in the ".cfg" file, since these are unique to each phone.
# Notes:
#
# There are a maximum of 7 programmable keys that can be configured
# on the 9133i phone, and only 2 on the 9112i phone. These can be
# set up through either of the 2 configuration files, depending on
# whether this is to be server wide ("aastra.cfg") or phone
# specific (".cfg"). Each prgkey needs to be numbered from
# 1 - 7 (or 1 -2 on the 9112i), for example "prgkey2 type:
# speeddial". Programmable keys can be set up as speeddials or as
# additional call/line appearances or as feature keys and have a
# type, value and line associated with it as seen here in the
# default programmable settings.
# PRGKEY TYPES: "line", "speeddial", "blf", "list", "dnd"
# PRGKEY VALUE: If prgkey type is a speeddial, any DTMFs (from
# 0 - 9, *, "#") or a comma (,) for 500ms pause and
# 'E' for On-hook can be set for the value.
# If prgkey type is blf it is the extension you want
# to monitor.



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

Thanks! This is what I am look for.. will try it and post back in a few hours.

P.S

You might just saved me because I promise a client that I will install the pbx in the premise this Saturday at 8AM. I have less then 24 hours!
Sure hate to reschedule. :-D



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

did the setup-aastra got the file aastra.cfg .. how do you open it?
I used notepad and it came out weird. You mentioned not to use the web-gui, or phone gui, after I copy and pasted your config. then I should set phone to factory default, reboot all my phones and presto right!?



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

Looking at your config again.

Again I hope someone can help out in setting up my multiple extensions/lines. (per my past postings).

You seem to have only one extension 1111.



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

Zishanov

Thanks for saving me a few more hours of reading! I got one of my extensions to register. By successfully registering one phone, it answered alot of my previous questions but one more which I am going to have to find out at the client site on Saturday. I don't have 5 fxo lines coming in to test but I do have the general idea of how it works. It will be down hill from here for sure. First off, I didn't use tftp(only 4 Aastras to config) . I went into the Web-Gui and put in the credentials. here is what I found out so far with testing for newbies that are in the same boat and to save them hours of reading.

I am really confused by all the credentials under Basic Sip Configuration Settings.(other phones just need login name/password) I started with the obvious until I get it to make a call.

1. I put in credentials for authtentication and password(not enough)
2. Added a "Screen Name"-1001- and rebooted(much better after phone booted up. Saw 1001 on the display. BUT couldn't make any calls or *43 or anything. Basically STILL not register. O.K.
3. Took out screen name and leave blank and added 1001 to "Phone Number" and rebooted. That did the trick!!. So Phone Number is a critical field. !!!!!! After rebooting the display showed 1001 on the display. I noticed that there are 2 lines available. IF I kept the 1001 on the Screen the after I rebooted the phone I will have 2 instances of my extensions displayed. One on top of each other. But the Screen Name credentials are not necessary to register and make phone calls.

I don't have access to analog lines at this point so I still don't know under Phone Number if I should input my real analog phone lines. But experimentation will tell tomorrow.

I also notice that seem like the line1, line2 , line 3 in the config web page doesn't really refer to the physical buttons on the phones. I went into line2 and of course it was blank. But on my physical line 2 and line 3 I can still hear dial-tone and make phone calls. Hm...hmm..hmm

I also notice that if I input the config file for the credentials on the sip global..It will input go ahead and input all the data for line1, line2, line3, line 4, line 5 , line 6 .(I mean the web-page gui not physical line buttons)
It will not input the credentials for the screen name or the phone number. Weird. I swear that I saw that during my testing. But a second time, I couldn't duplicate my results.

The result was that entering all necessary credentials on the sip global page, I get it to work also. Line1, line2, line3 all was blank. Darn.. I thought that I was on to something.! :lol:

_____________________________________________
my plan of deployment is as follows:

Make a ring group and call it "receptionist"and put all those extensions into it
1001
1002
1003
1004

In the inboud route point it to this ring group. That should ring all phones at the same time. The should take care of all those incoming lines. Welcome comments on best way to accomplish my scenario.



aastra3
Posts: 102
Member Since:
2006-11-07
Re: 9133i doesn't register

Hi

Here is a quick guide to getting trixbox to working with an aastra phone.
1) Factory reset your phone. This removes any configurgation that may have been done by the webgui. The webgui takes precedence over the tftp config file. This configuration example uses tftp config files.
2)on the trixbox run
/usr/local/sbin/setup-aastra
this creates the aastra.cfg file in tftpboot. (tip:even if you are editing the config files by yourself, you always need an aastra.cfg file even if you decided to do all the config in the MAC.cfg file.)
3) config your sip extension using freepbx
4) goto the trixbox endpoint manager. It will find the MAC address of the aastra phones on the local network if you use the map Devices
5)other wise get the MAC address from the label on the back of the phone.
6)click Aastra Phones from endpoint manager
7)click add phone
8) fill in the web form (selecting the extension from freepbx device id) enter phone type and MAC address. (ignore the softkeys for now.) -> submit
check that a cfg file has been created in the /tftpboot directory.
9) set up the tftp server on the phone to point at the trixbox
on the phone select options
network
download protocol -> tftp -> done
tftpserver
primary tftpserver

10 reboot the phone!

Now test the calls to an other local sip phone.Easy!

In addition I noticed you mention your fxo phone lines. On Trixbox you don;t need to select an outgoing line to make an outgoing call. The outgoing lines do not map directly to an IP phone(generally!!!) The IP phones do not need to know about these phone numbers. Its the trixbox routing that looks after that.

Hope this helps

Kieran



jthong555
Posts: 150
Member Since:
2006-06-20
Re: 9133i doesn't register

Aastra

Thanks for responding. But my questions remains. I am more interested in getting INCOMING questions answered because it is suppose to be a small call center. Excuse me again, I don't know if anybody is understanding my rambling on and on so I will need to re-ask my concerns in my previous post.

1. So you're saying that the Aastra Phones doesn't have per fxo line(number) map to physical button??
2. So what does the Aastra line button(the green ones) do?? L1, L2, L3
Those are obviously hardcoded from factory for Line(fxo) designations.
I don't believe that I can even program speed-dail into those buttons if I wanted to. As I said I have 5 lines.

3. If People start calling the main phone line (111-1111) and talking while someone else call in and got roll over to line 2(222-2222). 3rd person call in got rolled over to line3(333-3333). 4th person call in..which button will it roll to.?? which bring me to my question what are those line1, line2, line3, line4, mapped to??

4. which bring me to my question? Is it doe-able to map the buttons on the right hand side to fxo so that calls can flow there? IF yes, then
which button correspond to what. For simplicity I want the last 2 buttons on the right panel above the Mute button on the 9133i . That will be for L4 and L5. What button does those 2 buttons correspond to?

That's all for now, appreciate any input.



zishanov
Posts: 241
Member Since:
2006-06-27
Re: 9133i doesn't register

From your questions it looks like that you are fairly new to Asterisk and Trixbox and this is your first installation. Aastra is not the right phone for first installation and call centre setup is also not possible to setup so easily as your first setup.

It is all there in the Administrator's Guide, if you program only one line, then this one line will be able to accept 9 calls at a time. If you program line1 and line2, then as I remember, each line will be able to take 4 calls, so a total of 8 calls. Each incoming call is assigned to one of the buttons on the right side and you see light flashing beside them, representing that they have calls on them. For one line configured and 9 calls coming to this one and only line, still 9 buttons will be flashing.

In a call centre environment, you don't have to have many lines programmed on the phone. Its the Trixbox which takes care of the incoming calls, keep them in queue, and send them to the phone(s) one by one. After all, only one person will be answering the phone so if 9 lines are ringing at same time, he will not be able to answer them anyways. He'll have to put everybody on hold and take each call one by one manually. This is what you don't do when you have Trixbox's queue doing it.

So, you will have one line configured on each phone. Forget about the other lines. Forget about the General SIP settings. I specially hate the General SIP settings section, I really don't know why its there. Aastra will make a story about why its there but its really not required there at all.

Now as for FXO, that is something not connected to the IP-Phone, but it is connected to the Trixbox. IP-Phone knows only its own extension, which is configured as line1 in this case. When a call comes in at FXO, Trixbox attends it, and then passes it to the extension configured on line1, or wherever it is configured to send it. When you dial out from line1, call goes to Trixbox, and then routed to the destination through FXO. This setup is done in inboud and outbound routing settings section of Trixbox.

I think you need to go through the Trixbox training first. Spend a day reading Trixbox without tears. What you are trying to do is not that difficult but you have to know all the basics first. Configuring the IP Phone is only one small part of setting up a call centre, there are many other setups and configurations you'll need before and after that. And as for the Aastra phones, all is already said in good detail in this very long forum.



Splatty
Posts: 8
Member Since:
2007-12-03
9133i

Zishanov: Many of your comments are true with regards to the user needing to learn more about Aterisk, and how it works and why. HOWEVER, as a VERY experienced user and installer, I can tell you that the 9133i is NOT difficult to configure. It is often impossible, and quite simply pot luck. EXAMPLE: installed 16 Phones sucessfully. 36 would not install. All returned. At another install none of the phones would install, then 3 would randomly register. I know EVERY trick with these phones. They are just NO good. It should not be this difficult to setup an endpoint. Period. My advice to anyone reading this is simple. DO NOT BUY THESE CRAPPY PHONES. YOU WILL BE IN TEARS. Whilst the voice quality is good and the phone functions well, you can get random errors and problems that you will NEVER find the solution to. Put simply, the firmware is so bad and buggy, that it simply is not worth using.

GENERAL RULE: Don't buy aasta phones. If you have sell them. If they work for you, feel blessed. And if your an installer, never install them in a commercial environment. I have probably installed more of these handsets than anyone else I have ever heard of. I'm replacing them at the rate of 3 a week at my cost.

Buy a SNOM, Grandstream, CISCO, Linksys - whatever just NOT an aastra.

Until aastra understands that the programming is BAD, no body should buy these phones, period. Yes I know, they look good, reasonable price, and some people including myself have used them without problem - the exception - not the rule.

I have installed almost every sip phone known to man. These with out doubt, will hurt you, and make you cry. Lots!

So take heed: If you have one and it doesnt work try to return it. Don't waste your time. The solutions above sometimes work, sometimes don't. Its just luck. If you cant return the phone, bin it, or ebay it. Don't waste hours trying to fix a problem that in all likelyhood, you will never find a solution to.

Some aastra phones are better than others. By and large they are very good phones with excellent voice quality and good features. Shame that they have such badly written firmware.

I'm sure some will slate me - But I have a binful of them - not selling them as I don't think it's fair. If I cant get them to work - Joe Bloggs certainly can't.

AASTRA - if your reading this Take note. Get your act together, and fix your damn phones. You have a great many installers including myself, that loathe you. You dont listen. Your support sucks. You have great phones with BAD firmware.



Comment viewing options

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