Comp 6204 Voip: Taridium Ipbx Express Free Edition 5 Users (Asterisk Based)
Comp 6204 Voip: Taridium Ipbx Express Free Edition 5 Users (Asterisk Based)
Comp 6204 Voip: Taridium Ipbx Express Free Edition 5 Users (Asterisk Based)
Introduction.............................................................................................3
Installation............................................................................................... 4
. . . . . . . . . .
Introduction
This report is going to document what I have done in attempting top get Taridium ipbx
eXpress installed and configured to work with Cisco phones loaded with sip firmware.
Pc:
Core i5 2400 @
4Gb DDR3
3tb 3.5” sata
Cisco
IP Phone SPA502G
Serial number: CCQ16421HAH
Mac address: 58BFEA11A7CE
PID / VID SPA502G V02
IP Phone 7941
Serial number: FCH120797Z0
Mac address: 001F6C802164
PID / VID CP-7941GV02
IP Phone 7941
Serial number: FCH12098FEY
Mac address: 01F9E2525CF
PID / VID CP-7941GV02
IP Phone 7911
Serial number: FCH141192ZJ
Mac address: 081FF3624FC1
PID / VID CP-7911GV08
Switches:
3
Installation
Installation of Taridium ipbx eXpress was via dvd-r written and verified using easyburn.
The operations system base is Centos 6 based (an RPM based distro)
The Installation is fully automated except for the option for disk usage.
The use entire disk option was used.
nano /etc/sysconfig/network-scripts/ifcfg-eth0
3
Once you have an IP number you can access the Web based GUI
3
Next will be a popup of:
Fill out the forms: System Name (IPBX), IP address (192.168.1.199), admin password, enable
dhcp if required (I selected this), change time zone to Pacific/Auckland.
(nb: if you check the box next to “don’t show the wizard when I login next time” you won’t be
able to select apply
3
Afterwards you will be greeted with a screen like:
Fortunately Taridium says it supports Cisco’s IP Phones. But it recommends the 7940/7460,
This means we need to modify the templates to get the Cisco 7941/7961 series phones
working as these have different configuration xml file layouts.
It also says it supports the SPA series of phones, so in theory my SPA502G’s should
work…..we hope…
3
Configuring ipbx
The first part was where the DHCP server installable from the web GUI did not work, so one
had to be manually installed, the problem with this was once installed it has to be started
manually via the CLI.
Second the TFTP service was not reliable. This meant the phones would fail to find their
configuration files, yet alone any of their firmware files.
And third, the configuration files created by the ipbx GUI did not work for any of my phones,
forcing me to create a template using Cisco’s xml layout.
Fist part was copying the phones flash firmware to the /tftpboot folder
Unfortunately I have an issue here with the tftp sever……um, ok no firmware updates.
Definitely an issue with ipbx’s tftp service, even configuration files are sometimes
unaccessable.
The configuration files for each phone gets created according to their mac address and the
phone number it has been assigned. This is mostly done automatically via a default template.
After copying and pasting the example into notepad, editing it and then pasting the contents
into the new default template, we add the users via the GUI and selecting our new template.
Strangely I have one phone (7941) connected and working (as in talking to the messenger
service, record and playback messages etc), but the other phone (7941) just sits saying
unprovisioned. If the phone says this then it is not getting everything it needs in its config file.
Time to try to eliminate file finding issues….changed DHCP and TFTP servers to be hosted
via tftpd32 running off Windows XP
3
Ok so it was the TFTP service after all
Ok So now reading the log files from tftpd32 it seems the phones are requesting files starting
in SEP%%MAC%%.cnf.xml whis is vastly different to the SIP%%MAC%%.cnf files made
by ipbx. No wonder the phones failed
These config files (SEP%%MAC%%.cnf.xml) work fine if one line is configured, if two are
configured but seem to be the same then it sends the phone into a loop and it never finishes
registering.
The phones do request networking and user locale files/information, but they do not need
them, although it does slow them down a few minutes more from being useable.
The mail slow down is waiting for the fones to find its config file as follows
Success… Phones Work Rung 2501 from 2401, seems to have dialing delay
Fist we select SYSTEM, then SIP CHANNELS, Then TEMPLATES, Then ADD TEMPLATE.
On the next page select LOAD TEMPLATE and load “Cisco 79xx series”
<device>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>cisco</sshUserId>
<sshPassword>cisco</sshPassword>
<ipAddressMode>0</ipAddressMode>
<devicePool>
<dateTimeSetting>
<dateTemplate>D/M/Ya</dateTemplate>
<timeZone>New Zealand Standard/Daylight TIme</timeZone>
3
<ntps>
<ntp>
<name>192.168.1.199</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps>
</dateTimeSetting>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
</ports>
<processNodeName>192.168.1.199</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
</devicePool>
<sipProfile>
<sipProxies>
<registerWithProxy>true</registerWithProxy>
</sipProxies>
<sipCallFeatures>
<cnfJoinEnabled>true</cnfJoinEnabled>
<rfc2543Hold>false</rfc2543Hold>
<callHoldRingback>2</callHoldRingback>
<localCfwdEnable>true</localCfwdEnable>
<semiAttendedTransfer>true</semiAttendedTransfer>
<anonymousCallBlock>2</anonymousCallBlock>
<callerIdBlocking>2</callerIdBlocking>
<dndControl>0</dndControl>
<remoteCcEnable>true</remoteCcEnable>
</sipCallFeatures>
<sipStack>
<sipInviteRetx>6</sipInviteRetx>
<sipRetx>10</sipRetx>
<timerInviteExpires>180</timerInviteExpires>
<timerRegisterExpires>3600</timerRegisterExpires>
<timerRegisterDelta>5</timerRegisterDelta>
<timerKeepAliveExpires>120</timerKeepAliveExpires>
<timerSubscribeExpires>120</timerSubscribeExpires>
<timerSubscribeDelta>5</timerSubscribeDelta>
<timerT1>500</timerT1>
<timerT2>4000</timerT2>
<maxRedirects>70</maxRedirects>
<remotePartyID>false</remotePartyID>
<userInfo>None</userInfo>
</sipStack>
<autoAnswerTimer>1</autoAnswerTimer>
3
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<preferredCodec>g792a</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
<kpml>3</kpml>
<natEnabled>false</natEnabled>
<phoneLabel>ipbx %%username%%</phoneLabel>
<stutterMsgWaiting>0</stutterMsgWaiting>
<callStats>false</callStats>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
<startMediaPort>16384</startMediaPort>
<stopMediaPort>32766</stopMediaPort>
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>%%username%%</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>%%username%%</name>
<displayName>%%username%%</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>%%username%%</authName>
<authPassword>%%secret%%</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messagesNumber>%%username%%</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>%%username%%</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>true</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
</sipLines>
<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate>dialplan.xml</dialTemplate>
</sipProfile>
<commonProfile>
<phonePassword></phonePassword>
3
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>1</callLogBlfEnabled>
</commonProfile>
<loadInformation>SIP41.9-4-2SR3-1S</loadInformation>
<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<settingsAccess>1</settingsAccess>
<garp>0</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<videoCapability>0</videoCapability>
<autoSelectLineEnable>0</autoSelectLineEnable>
<webAccess>0</webAccess>
<spanToPCPort>1</spanToPCPort>
<loggingDisplay>1</loggingDisplay>
<loadServer></loadServer>
<sshAccess>0</sshAccess>
<sshPort>22</sshPort>
</vendorConfig>
<versionStamp>001</versionStamp>
<networkLocale>United_Kingdom</networkLocale>
<networkLocaleInfo>
<name>United_Kingdom</name>
<uid>64</uid>
<version>1.0.0.0-4</version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<authenticationURL></authenticationURL>
<servicesURL></servicesURL>
<transportLayerProtocol>2</transportLayerProtocol>
<certHash></certHash>
<encrConfig>false</encrConfig>
<dialToneSetting>2</dialToneSetting>
</device>
to read: /tftpboot/SEP%%MAC%%.cnf.xml
3
Your screen should look like this:
Fill out the form to your requirements but under device type select our new template of “Cisco
7941” before entering the phones “MAC address”
On the main unit or via SSH, we log in as ‘root’ and run the following:
nano /etc/dnsmasq.conf
#interface= to interface=eth0
#dhcp-range=192.168.0.50,192.168.0.150,12h
to
dhcp-range=192.168.1.200,192.168.1.240,12h
#enable-tftp to enable-tftp
and
3
#tftp-root=/xx/xxx to tftp-root=/tftpboot
Then all that needs to be done is to run the following command:
Then
Then if you want you can reboot the system, or carry on as normal