support

Your One Stop Guide for NORTEL i2002- i2005 install

satman
Posts: 22
Member Since:
2006-07-16

Hi All!!!

Got a Nortel i2002 sitting around? Have so many people told you that it won't work on a sip server? Do you use it for a paperweight?

Today I would like to discuss how to successfully install and get that paperweight going.

I know alot of people who want to use the Nortel but maybe your a newbie like me, and you need more details on the install. So I have put together something we newbies can understand.

First and foremost I would like to thank Cedic Hans, the man behind the Unistim, who has had so much patience with me, and who has guided me when in doubt. Im a person full of questions and always looking for ways and understanding those ways clearly so in the future it becomes easier. Cedric has helped me for about a week clearing up issues about how to get this unistim in the trixbox.

Also Trixbox I would like to thank for making a install so easy, I hope they can incorporate the unistim in the next iso. With as many times as I F**ked up my install It was alot easier to drop a cd and wait 10 minutes to go back to the drawing board. fantastic work Trixbox.

This will be your one stop way to understanding the unistim installation, so all those times you search google or yahoo, forget it I tried that everyday. I have always been a windows person, you ask me anything on server03 yeah ok no problem, but dealing with redhat or debian.. my reply?? exactly.. nothing. Im new into linux for doing stuff like this. So here is step by step success. Please remember I write everything so you need to compare carefully.

This is based on the latest ISO install 1.1

Credits: Cedric Hans http://mlkj.net/UNISTIM; and Trixbox

After installing trixbox, assure you have a connection to the web. test by pinging something on the outside world. doing this first will assure that you have made it out.

ping cnn.com
you should see the reply press: ctrl+c to stop

type: yum -y update (this is a long process about 45mb to download, just let it do its thing about 20 minutes. In the end it will rebuild on its own, so let mother nature do her thing)

Type asterisk -r

You should see something like Connected to Asterisk 1.2.9.1 svn rev 34876 currently running on asterisk1 (pid = 31770)
(you need to remember the rev number you need it on the next section)

Press ctrl+c to get out of CLI mode

type: cd /usr/src

type: svn checkout http://svn.digium.com/svn/asterisk/branches/1.2 asterisk-1.2 --revision 34876 (Now Replace 34876 with the correct rev number that you saw when you typed asterisk-r)

*came back with Checked out revision 34876*

type: mv asterisk-1.2 asterisk

type: cd asterisk

type: make

*** Heres the tricky part. It asks you to (make install) DONT MAKE IT! other wise you will corrupt the files and asterisk will not run. This was my failure to understand.***

type:ln -s /usr/src/asterisk/include/asterisk/ /usr/include/asterisk

type: wget http://mlkj.net/UNISTIM/chan_unistim-1.0.0.3a.tar.bz2
then: tar xvjf chan_unistim-1.0.0.3a.tar.bz2
then: cd chan_unistim-1.0.0.3a
then: make
then: make install
then: make config

At this point I rebooted to allowing it to do what ever it wants. I know in real life, you dont need to do it, but Im not the linux guru either.

edit /etc/asterisk/unistim.conf (do it from the trixbox main menu on edit config)

when trixbox reloads you should login to the website and login. now look at edit configs, on the bottom you should see unistim.conf if you see this perfect. if not, then you didnt follow step by step.

now that the unistim installed, we need to make it accept the nortel, we will need the mac address of the phone for this next step. I will use extension "201" from the pbx but I will also use "102" to identify the phone is itself, for the purpose of unistim.

[general]
port=5000 ; UDP port
;keepalive=120 ; in seconds, default = 120
;public_ip= ; if asterisk is behind a nat, specify your public ip

[nortel201] ; this is the name of the phone, we will use it shortly
device=006038bb7323 ; this is where you must have your mac address
rtp_port=10000
rtp_method=0
status_method=1 ; If you don't see status text, try 1, default = 0
contrast=8 ; define the contrast of the LCD. From 0 to 15. Default = 8
dateformat=1
timeformat=1
country=us
ringvolume=3
ringstyle=2
callerid="name" <201> ; this is what you want others to see the extn 201 is from free pbx, so we will have to put it in ourselves
context=default
mailbox=201@internal
linelabel="name <201>" ;this line is what will show on the phone
extension=line
line => 102 ; this is important this is the identity of the nortel itself
bookmark=name@exten
bookmark=name@exten
bookmark=name@exten
bookmark=name@exten

save and re-write config. should be on the top of your screen on the far right hand side.

now we need to make the extension in freepbx, so click on freepbx and goto the tools tab.

on the right you will see Module Admin, click this, and a menu will show all the modules that are available. Right now lets work on getting the extention done and then you can play with the rest later. Click: Core(core) under the Modules and install. When its installed a red bar will flash at the top about applying changes, click this.

now click on the "setup" tab on the top. and then you should see "extensions" on the right side. A list of SIP, IAX2, ZAP, and Custom appear. Click on custom and it will allow you to put in the extension number in, as for this example we used "201" as the pbx extension. you need to do anything much on this page but go down to the Device options and put in: USTM/102@nortel201 (this tell the extension to dial unistim.conf and your phone id, the part after the name is the name we gave the phone which shows which mac address to ring.) **If you want to put your nortel on voice mail you may do this now by clicking enable, and supplying a password*** click submit, and click the red bar again to apply your changes.

Guess what your done. people talk about adding to other areas, but what people forget to tell you is that when you apply something it goes away, so its not perm. so with regards to other people posting oh you have to add this to the default... then they need to show step by step with examples to clarify which config file they are using etc. this is the most clarified way of installing your nortel. I will post more when I know of more features or other steps.

Please repy this, so I know it has been helpful to you. thus allows me to provide more information and I can see that it was useful. If there are any changes I will post as well.

Need to config the Nortel?
How to configure i2002 - i2004 phones :
- Power on the phone
- Wait for message "Nortel Networks"
- While the "Nortel Networks" splash is showing, press each the four softkeys just below the LCD screen, in sequence from left to right. (you can do it real easily with your four fingers as if on a piano - one-two-three-four)
- If you see "Locating server", you were'n fast enough. Power off (or reboot the phone) and try again
- DHCP : 0
- SET IP : a free ip of your network
- NETMSK / DEF GW : netmask and default gateway
- S1 IP : ip of the asterisk server
- S1 PORT : 5000
- S1 ACTION : 1
- S1 RETRY COUNT : 10
- S2 : same as S1

How to soft reboot a Nortel IP set

Press the following buttons in sequence:
mute key
up arrow button
down arrow button
up arrow button
down arrow button
up arrow button
mute key
9 on the dial pad <-- after this point the phone will be in a kind of diagnostic mode - press the keys if you want
release <-- pressing the release key will drop you out of the diagnostic mode, and reboot the set



surfsofa
Posts: 1
Member Since:
2006-08-15
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Thanks for taking the time to document and share this Satman. There don't seem to be many of us out here trying to connect Nortel phones to Asterisk via Hans's Unistim channel driver. At least not many who post on forums like this. :)

I've had everything working previously on Asterisk@Home, but so far I'm having nothing but problems with Trixbox. I've got a working Asterisk server after a lot of pain (i586), but am currently in what I think is a catch22 situation with the unistim driver :

1) Unless I remove or comment-out 'port=5000' from unistim.conf Asterisk is unable to load
2) Without that command, my phone can't register with the server, since it's trying to connect to that port

Doh!

Question for you (or anyone else working on this) : when you're in the asterisk console (asterisk -r) does the command 'unistim debug' work for you? It doesn't for me and it worked fine with A@H.



CJPOLO
Posts: 1
Member Since:
2006-09-08
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Thanks so much for this detailed guide! It has helped me heaps to get my nortel phone semi working. But i have a few questions i have had trixbox up and running for a few weeks now with the X-Lite soft phone, now that i have got my nortel up and running there are a few problems with the nortel. Everytime i try and call the x-lite softphone from the nortel the xlite will ring but as soon as i answer its like the nortel hangs up straight away any ideas? Also when i am calling another extention from the nortel there is no ringing on the earpiece of the nortel, but the other extention is ringing? and one final one when i try and call an external number eg. a mobile which works fine from the softphone the nortel dosnt even ring it. It just says calling then back to my display message Just like you hung up? If possible could you please help me with all these issues i am having.

P.s. is there any way to change the display on the nortel so it displays the numbers your punching into it.

Thanks Heaps
Dwayne



abomb60
Posts: 2
Member Since:
2006-09-11
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Thanks for the help! After a few hours of messing around I was able to get 2 i2004's to register. Only problem seems to be that I can't dial out. I can call other extensions on my system but when I start to dial a trunk routing code and number it gives me an error.

I'm going to try an i2050 next to make sure it's not a firmware issue with the phone. Both did register but one had a messed up screen so I never really tested it.



Andi_M_I
Posts: 1
Member Since:
2006-09-14
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Is not true if no one that currious how to connect nortel phones (or other ipphone) with trixbox like you've describe. but i've a papperweight too :-D .. so i follow the instruction to instal unistim and adding custom extension for my nortel.

"Just popping in", please help me to solve the same problem that you've post in this forum, about nortel phone always hangup when dialing to xlite softphone. I've doing step-by-step instruction like satman said.

Thank you.



sci72
Posts: 1
Member Since:
2006-09-26
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Hey satman don't disapear on us after dropping that useful info in our laps.

I've got a i2004 registered with Asterisk (display is up, can draw dial tone) but when I try to call another phone on the system (non Nortel) the other phone will ring for a second and then the call is dropped. Also if I call the Nortel from one of the other phones the Nortel will ring, however when I answer it the call is not connected. The other phone still hears ringing. Any ideas?



borgcube
Posts: 1
Member Since:
2006-09-29
Re: Your One Stop Guide for NORTEL i2002- i2005 install

So anyone other than Satman got this to work.

Followed the guide but alas, can call my i2004 with no audioand all external calls get droped. :-x



lostsoul
Posts: 1
Member Since:
2006-10-13
Re: Your One Stop Guide for NORTEL i2002- i2005 install

I am not sure if anyone is still interested but I was finally able to get my violet Nortel i2004 "paperweight" to work with the lastest Trixbox release (1.2.2). These are the features which are now working:

1. Extension to Extension calling (works with either side originating)
2. Outbound calling via IAX2 trunk
3 Voicemail
4. MWI
5. Programmed all the soft-keys
6. History
7. more...

The only annoyance which I have not spent any time on is missing DTMF (tones) while dialing. I had them early on but I seem to have lost them during debugging and testing.

After completing the process Satman outlined I managed to get most everything working with the exception of outbound calling. I had the change my "context" from "default" to "from-internal" to finally get that to work.

Below are the configuration files from my environment. The changes in the "extensions_additional.conf" file below were created by adding a "CUSTOM" extension as outlined by Satman.

extensions_additional.conf

[ext-local]
include => ext-local-custom
exten => 606,1,Macro(exten-vm,606,606)
exten => 606,hint,USTM/101@reception
exten => ${VM_PREFIX}606,1,Macro(vm,606,DIRECTDIAL)

; end of [ext-local]

unistim.conf

[general]
port=5000
;keepalive=120
;public_ip=
autoprovisioning=no

[reception]
device=006038xxxxxx
rtp_port=10000
rtp_method=0
maintext0="Nortel Phone"
maintext2="Reception - x606"
dateformat=0
timeformat=0
contrast=4
callhistory=1
context=from-internal
callerid="Reception" <606>
mailbox=606
linelabel="x606"
extension=line
line => 101
bookmark=5@John@95551212@32 ;
bookmark=4@Mike@95551212@32 ;
bookmark=3@Voicemail@*97@54 ;
bookmark=2@Bob@95551212@32 ;
bookmark=1@Bruce@95551212@32 ;



hbondy
Posts: 1
Member Since:
2006-09-10
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Lostsoul,

I am VERY interested in your results. I have 100's of i2004s out there and would like to migrate and integrate them to an asterisk platform. May I contact you for additional details on your success here? My email is harry@mserve.com

Thanks,



satman
Posts: 22
Member Since:
2006-07-16
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Hi,

I have successfully configured all my nortels on trixbox. I would be more then happy to answer any questions you might have. more brains are better then one..

have any extra phones??? I like these better, so many people do not want to use them. As they claim they will not work.. argghh

lets keep in touch,

Larry



mocahbee
Posts: 24
Member Since:
2006-10-27
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Larry how can I get these nortel i2002's to work with the newest Trixbox? Same proceedure?



chi9ii9i
Posts: 1
Member Since:
2007-01-16
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Hello

I have the following issues with my nortel 2004

1) There is no tone when dialing (pressing buttons)
2) When calling an outside number they can't hear me talk, I can only hear them
3) Is there a way to activate the Directory, Msg/Inbox, Expand buttons
4) Is there a way to see parked calles

Thank you all for your help
Charlie



powermg
Posts: 1
Member Since:
2006-07-17
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Excellent instructions.
Changing context=default to context=from-internal solved the outbound calls problem

Many thanks



yelwoci
Posts: 27
Member Since:
2006-06-23
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Larry

I have i2004's working fine internally but won't dial out.
I've tried various locations for the ext-local code but it never bites, running straight to the extensions.conf [default] 'hangup'
9 to dial ISDN trunk '01234567890' imaginary external no.

trixbox1*CLI>
-- Starting switch on '4899@i2004-0' to 901234567890
== Starting USTM/4899@i2004-0 at default,901234567890,1 failed so falling back to exten 's'
-- Executing Playback("USTM/4899@i2004-0", "vm-goodbye") in new stack
-- Playing 'vm-goodbye' (language 'en')
-- Executing Macro("USTM/4899@i2004-0", "hangupcall") in new stack
-- Executing ResetCDR("USTM/4899@i2004-0", "w") in new stack
-- Executing NoCDR("USTM/4899@i2004-0", "") in new stack
-- Executing GotoIf("USTM/4899@i2004-0", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("USTM/4899@i2004-0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Wait("USTM/4899@i2004-0", "5") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'USTM/4899@i2004-0' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'USTM/4899@i2004-0'

Y



yelwoci
Posts: 27
Member Since:
2006-06-23
Re: Your One Stop Guide for NORTEL i2002- i2005 install

Not for me it didn't !!!???

Y



yelwoci
Posts: 27
Member Since:
2006-06-23
Re: Your One Stop Guide for NORTEL i2002- i2005 install

For your information.
Got it working.
1. Ensured 'line => 101' was at end just before bookmarks
2. Replace context with something rubbish and ensured rest of line was clear; saved and re-read configs; then put back to 'from-internal'; saved and re-read configs.

All OK



ctaylor777
Posts: 2
Member Since:
2007-03-14
I have done all that has

I have done all that has been posted here but I still cannot get audio from Nortel 2002/2004 to an x-lite softphone or from Nortel to Nortel. The Nortel phone will call out but there is no audio incoming or outgoing. Our version of trixBox is 2.0



satman
Posts: 22
Member Since:
2006-07-16
Hey All

Satman is back again, with another episode of Nortel 101

Ctaylor asked about runing nortel with version 2.0... ah ah ah. The codec from unistim has yet to be released for this version. the highest version on unistim is for 1.4 now I tried doing the same thing, and pending on your codec which I run g729 I have had some issues with outgoing calls, Trixbox is changing the rev so fast that unistim cant keep up as fast, I think he is waiting for the trixbox to stable out. Its hard when you just get it working then you decide you want to upgrade to the new one and poof you loose everything. recently I update with yum and wiped out my zaptel. this is messed up. now with that it took out my unistim as well. no one has given me a good reason for it nor a cure, however, I did run yum -y install asterisk-devel and ran the 1.4 version 5a of unistim and now the phones are back on. But now it doesnt want to make a call out. This is getting fustrating. Andrew is very limited in his time and with Fonality in place he doenst have the time he used too.

Guess we are on our own to figure it out.

Im interested to know which version of Unistim you put on your box.
I will setup a trix 2.0 and come up right behind you so I can figure out your problem.

I expect to put a new version of how to as soon as I get 2.0 going.



satman
Posts: 22
Member Since:
2006-07-16
Nortel Online

Ok now heres something else, alot of your posts I didnt see until trixbox did the website revamp. Im sorry for that, if your still facing problems please let me know so I can catch up..

Anyone running Trixbox 2.0 or later with Nortel please let me know which unistim you used so I can complete my guide. you must have a working model, please dont send me messages that it "should"
Thanks
Satman



ctaylor777
Posts: 2
Member Since:
2007-03-14
Re: Hey All

I ran the 1.2 3A that was in your original post. Did you try the 4C? I was going to try it but wanted to see if anyone else had any luck first. Thanks for the quick response. I would appreciate any help on this issue.



satman
Posts: 22
Member Since:
2006-07-16
Pre Unistim Config

Yesterday I tried to install the unistim, I could not even get past the inital make command
sooooo I guess Im going to have to downgrade to the inital version and work up. Ctaylor, I would stay at that codec until we have more people who can identify the install issue.

Im working on it. today I will be doing it most of the day so I will get back to you shortly..



vk5hks
Posts: 12
Member Since:
2007-03-03
Pre Unistom Config

I have noticed that you can not install on a later version as well :)

Anyone had any luck with this?

I have a feeling that the website does not have any support for the later versions.

Any idea on backdating it, or maybe we could develop it as a new module in the GUI?

Sam



constant
Posts: 1
Member Since:
2007-04-18
This is a real bummer. I

This is a real bummer. I just wiped a drive to install Asterisk 2.2 to find out it does not support the i2002. I had three previously somewhat working. Any updates to this thread?

Thanks!



harrisjt
Posts: 14
Member Since:
2006-11-30
Make sure you have the right

Make sure you have the right version thats what my prob was i was tring to install the 1.4 driver but that wasnt the right one. use the 1.2



Richardcd
Posts: 1
Member Since:
2007-10-12
from paperweight to phone again

I was quite surprised to see some folks had got the i2004 working with trix/asterisk. Pretty darn clever.

And I'll be it works. I can initiate and receive calls from/to soft phones and leave messages. I cannot, however call the various extensions on my trixbox; 411, 947 (weather), *97 (voicemail). It just says goodbye and hangs up. Any ideas? Is it a trixbox or a freepbx issue or the unistim driver?
Thanks!
Richard



channer
Posts: 1
Member Since:
2007-10-16
I'm an extreme newbie here

I'm an extreme newbie here basicaly no experience with trixbox, I got the box installed and registered 2 nortel 2002 IP phones to it thanks to this howto, all extensions can call other extensions but I'm not getting any audio whatsoever,

I installed an Xlite softphone from which I can call both nortel extensions and hear the voicemail prompt,
but I'm not getting any sound from the nortels except a strange dial tone

I would like some troubleshooting ideas/suggestions as I have no prior experience and I have tried to RTFM without much success, any help would be appreciated.



bravonoj
Posts: 41
Member Since:
2007-11-20
how can we get the Message

how can we get the Message waiting indicator working on the i2004 phones? is it something that needs to be done in the unistim.conf file or somewhere else? Please advise

thanks
Jon Hoffmann



jchuby
Posts: 357
Member Since:
2006-07-20
TB 2.4 with Asterisk 1.4

Does this work with TB 2.4 with Asterisk v 1.4??

--

JChuby
Experienced Trixbox Tech for Hire in Greater NYC
JChubaK@gmail.com or PM me on Trixbox.org Forums



discusz
Posts: 53
Member Since:
2007-02-22
I have the message indicator

I have the message indicator working but my only problem is one way audio.. I used to have the 2002 working with an earlier Trixbox but have yet to get the 2002 and the 2004 to work, I havent played with it in a few months.. this is only for my home connection so have not been too worried. but would love to get them working.

Would be nice if there was a firmware update for the 2002 and 2004 to do SIP, then there would be no issues

jim



sunnybor
Posts: 43
Member Since:
2007-04-14
I have i2004. It works fine

I have i2004. It works fine for me in TrixBox 2.4.2....



discusz
Posts: 53
Member Since:
2007-02-22
well I am back to where I

well I am back to where I was before// Phone rings, but I get no audio. I can call other extensions, but I get no audio incoming, I do get dialtone however/

I am sure I am missing something easy but I have no idea what...



cefe_71
Posts: 3
Member Since:
2008-03-05
i2002 working with not DTMF

Hi all !

Finally I was able to put my i2002 to work with trixbox 2.4 (Asterisk 1.4.18); haven't set voicemail yet. Everything else is working except that I can't have DTMF tones or see the dialed numbers on the screen. Does any one have DTMF working?

Here is my UNISTIM.CONF

[general]
port=5000 ; UDP port
;keepalive=120 ; in seconds, default = 120
;public_ip= ; if asterisk is behind a nat, specify your public ip

[nortel201]; this is the name of the phone, we will use it shortly
device=000ae408de77; this is where you must have your mac address
rtp_port=10000
;rtp_method=0
status_method=1 ; If you don't see status text, try 1, default = 0
titledefault=Asterisk ; default = "TimeZone (your time zone)". 12 characters max
;maintext0="Welcome" ; default = "Welcome", 24 characters max
;maintext1="a custom text" ; default = the name of the device, 24 characters max
;maintext2="(main page)" ; default = the public IP of the phone, 24 characters max
contrast=8 ; define the contrast of the LCD. From 0 to 15. Default = 8
dateformat=1
timeformat=1
country=us
ringvolume=7
ringstyle=2
;callerid="nortel" <201> ; this is what you want others to see the extn 201 is from free pbx, so we will have to put it in ourselves
context=from-internal
mailbox=201@internal
linelabel=nortel201 ;this line is what will show on the phone
extension=line
line => 101; this is important this is the identity of the nortel itself
bookmark=name@exten
bookmark=name@exten
bookmark=name@exten
bookmark=name@exten

Thanks for anyhelp

Cesar

--

Cesar



johnmcollier
Posts: 1
Member Since:
2008-03-07
IP Phone 2002 Kind of working

Thanks to everyone for their posts. I've followed everything here and got my 2002 working on Saturday. but..... no sound. It dials out just fine, it rings in from another SoftPhone ext. but after picking up there's no sound either incoming nor outgoing. No numbers show up on the screen either.
I'm using trixbox 2.4.2 with Asterisk 1.4.18-1 which by the way I had to use the chan_unistim...5b to get it to work. Below is my unistim.conf. Please help. I'm so close but I want to get this fully functional so I can get back to work.
Thanks.
[general]
port=5000
;keepalive=120
public_ip=xx.xx.xx.xx
;autoprovisioning=no

[Nortel201]
device=000ae470xxxx
rtp_port=10000
;rtp_method=3
status_method=1
;titledefault=Asterisk
maintext0="Better than Ever!"
;maintext1="a custom text"
;maintext2="(main page)"
contrast=6
dateformat=1
timeformat=1
country=us
ringvolume=3
ringstyle=2
callhistory=1
callerid="JOHN" <201>
context=from-internal
mailbox=201@internal
linelabel="JOHN <201>"
extension=line
line => 101

bookmark=name@extension
bookmark=name@extension
bookmark=name@extension
bookmark=name@extension

;[violet]
;device=006038abcdef
;line => 102



satman
Posts: 22
Member Since:
2006-07-16
Im Back

after waiting to see how these updates are going to effect the trixbox. I see that we run into new problems. Im currently finding some issues with the 5c of unistim and as well I will have to spend alittle more time to figure out what happen.



leetware
Posts: 7
Member Since:
2007-05-03
Will this work with an 12004

Will this work with an 12004 on trixbox 2.6 ce ? Hoping some one has done this as i have a few of these phones to get working
Thanks
Graeme



leetware
Posts: 7
Member Since:
2007-05-03
So no one is using a i2004

So no one is using a i2004 phone on trixbox 2.6.1.0?



Durron
Posts: 3
Member Since:
2008-05-13
Updated procedure

Thanks to this thread and many others, as well as many nights screwing around with it (and trying different asterisk packages), I've gotten my i2005 working properly (again). With no audio issues.

I have gotten this to work on both Trixbox 2.6 and currently on PBX in a Flash 1.2 (PiaF on a virtual machine currently).

Trixbox 2.6
Step 1:
Do a yum -y update
Do a yum -y install asterisk-devel

Step 2:
yum install subversion gcc gcc-c++
cd /usr/src
svn checkout http://svn.digium.com/svn/asterisk/branches/1.4 asterisk
cd asterisk
./configure
make
ln -s /usr/src/asterisk/include/asterisk/ /usr/include/asterisk
cd ~

Step 3: **For Asterisk 1.4.4 and higher: (I'm not sure on the version #'s, but 5d is the only one that would install successfully for me)
wget http://mlkj.net/UNISTIM/chan_unistim-1.0.0.5d.tar.bz2
tar xvjf chan_unistim-1.0.0.5d.tar.bz2 && cd chan_unistim-1.0.0.5d
make && make install && make config

Step 4: Reboot at this point

Step 5:
Edit /etc/asterisk/unistim.conf

Make sure to make the following changes: (in addition to any other configuration changes you want to make)

[general]
disallow=all
allow=ulaw
allow=alaw
allow=gsm

[nortel001]
device=00your00mac00here00
rtp_port=10000
rtp_method=3
context=from-internal
extension=line
line => 200
mailbox=200

Step 6:
Edit /etc/asterisk/sip.conf

[general]
nat=yes
blindport=5060
bindaddr=0.0.0.0
externip=***.***.***.*** your external ip
localnet=192.168.1.0/255.255.255.0 internal network/mask

bandwidth=high
disallow=all
allow=ulaw
allow=alaw
allow=gsm

Step 7:
Edit /etc/asterisk/iax.conf

[general]
bandwidth=high
disallow=all
allow=ulaw
allow=alaw
allow=gsm

Step 8:
Edit /etc/asterisk/rtp.conf
Make sure these are there
rtpstart=10000
rtpend=20000

Step 9:
Add your custom extension in FreePBX
Add Custom extension.

Give it extension 200
Then for the "Device Option dial"
use USTM/200@nortel001

200 is the extension from unistim.conf "line =>"
nortel001 is the device label from unistim.conf "[nortel001]

You can use whatever label and extension number you want.

Step 10:
Reboot server and reboot the nortel phone. Program the right IP information in as per the first post here. Also http://www.voip-info.org/wiki/index.php?page=Asterisk+UNISTIM+cha... has a good amount of information as well.

You should now be able to dial outside lines, have 2way audio, etc etc.

I had this working perfectly on Trixbox 2.6, and currently have it mostly working on PBX in a Flash. Only issue now is the phone keeps resetting itself whenever the "keepalive=" option is set to go off. Still trying to figure that one out. May be to do with being on a virtual machine, or something with PiaF itself.

Hope this helps!



Durron
Posts: 3
Member Since:
2008-05-13
Fixed PiAF

Fixed the resetting issue.

Put keepalive=10



xinsight
Posts: 13
Member Since:
2008-01-17
multiple i2004 phones?

Durron - are you using more than one phone? I was able to get a single i2004 to work (full audio, dial outside, extensions, etc.) but as soon as the 2nd phone registered, the first phone became unresponsive. (Then when rebooting the first phone, the 2nd one became unresponsive.)

My setup has the i2004 phones behind a router (NAT) and the asterisk server is on the public internet. It seems that each phone 'steals' the connection. Is the unistim module channel supposed to manage and prevent these conflicts automatically - or is there something that needs to be done with setting ports for each extension?

Also, a tip for anyone else trying to get i2004s to work. Looking through chan_unistim.c, I saw that there is a 'nat' option for unistim.conf. Very rarely there were problems with one-way audio (with my single i2004). I added that line and so far, it seems to help.



Durron
Posts: 3
Member Since:
2008-05-13
xinsight Good question. I

xinsight

Good question. I don't have another i2004/5 to hook up yet (missing AC adaptors and I dont have a PoE switch at home). When I get another I'll give it a try.

My i2005 is on the local network with the PBX, so no NAT between the two. I seem to remember reading people had multiple phones working at the same time. We shal see I guess. Will update when I try it.



xinsight
Posts: 13
Member Since:
2008-01-17
Did you ever get multiple

Did you ever get multiple i2004s work? I can't imagine that multiple phones wouldn't be supported, but with the UNISTIM driver I guess we should be lucky that anything worked at all.

The other problem I found was that only one line was supported. So, you couldn't receive or make a second call. I ended up just buying new polycom phones. They are a huge pain to configure (you have to reboot after each config change. arrgh.) but they seem to work fine.

The i2004s did have good audio though. Too bad Nortel doesn't support open standards.



Comment viewing options

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