Solved

Configure Cisco phone 7942 to Asterisk

Posted on 2011-03-15
17
1,292 Views
Last Modified: 2013-11-12
Does anyone have use Cisco phone 7942 to connect to Asterisk server ? The phone couldn't download the configuration file succesfully ?

Which files should be exist under the tftpboot directory as I don't have Cisco Call Maanger ? Is there any workable templates and image for the phone that I could test ?

Thanks
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 7
17 Comments
 
LVL 6

Accepted Solution

by:
vikrantambhore earned 500 total points
ID: 35153805
Hi,

I did as per this page http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+79xx

was worked fine for me

HTH
0
 

Author Comment

by:AXISHK
ID: 35153883
Are you also connecting to Asterisk ?

Thanks
0
 

Author Comment

by:AXISHK
ID: 35153884
Do u mind to send those files to me such that I could test on my TFTP server ?

Tks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:vikrantambhore
ID: 35153888
Ok I will give you no stress,

Which files you have at the moment on TFTP Server ?
0
 

Author Comment

by:AXISHK
ID: 35154010
SIP42.9-0-3S
jar42sip.9-0-3TH1-22.sbn
cvm42sip.9.0-3TH1-22.sbn
cnu42.9-0-3TH1-22.sbn
dsp42.9-0-3TH1-22.sbn
SEP<MAC>.cnf.xml

BTW, are u registering the phone with Asterisk ?

Thanks
0
 
LVL 6

Expert Comment

by:vikrantambhore
ID: 35154013
yes, i will post config file for you, Please let me know software version of ur phones ?
0
 

Author Comment

by:AXISHK
ID: 35154015
How to check software version ?
0
 
LVL 6

Expert Comment

by:vikrantambhore
ID: 35154052
go to phone setting --> device settin--> status--> firmware version
0
 

Author Comment

by:AXISHK
ID: 35154070
term32.default
jar42sip.9-0-3THI-22.sbin
cvm42sip.9-0-3TH1-22.sbin
cnu42.9-0-3-TH1-22.sbin
tnp42.8-3-1-21a.bin
dsp42.9-0-3TH1-22.sbn

Tks
0
 
LVL 6

Expert Comment

by:vikrantambhore
ID: 35154096
step 1
Get a tftp server software.

Step2
Now the important part comes..creating configuration files...i have searched a lot in google for configuration files..hav not seen together...so here i am putting the formats of those configuration files.

These are the files required.
1.CTLSEP001121F11A5A.tlv ( 001121F11A5A is mac address of cisco ip phone)
2.OS79XX.TXT
3.P0S3-8-12-00.sb2 (name of iso image)
4.P0S3-8-12-00.loads
5.P003-8-12-00.bin
6.P003-8-12-00.sbn
7.SEP001121F11A5A.cnf.xml (MAC address of cisco phone after SEP)
8.SIP001121F11A5A.cnf (Mac address of cisco ip phone after SIP)
9.SIPDefault.cnf

now the contents of these files


1. CTLSEP001121F11A5A.tlv this file shouldn't have any content in it.You can create a file like this
using the free hex editor Neo and save it in the above name.


2. The OS79XX.TXT file should contain the name of the image like the following one :


P003-8-12-00


3. please note except 1st and last three files others will be der in the zip file which u gets from CISCO.


So i am going to 7th file SEP001121F11A5A.cnf.xml the following should be the content of this file :


P0S3-8-12-00
pls dont forget to edit the name of ios as the one ios u r having.
4. now the content SIP001121F11A5A.cnf
(change image name as of the IOS one u are having in image version field.)




image_version : "P0S3-8-12-00"
directory_url : ""
services_url : ""
logo_url : ""
http_proxy_addr : ""
http_proxy_port : ""
transfer_onhook_enabled : "1"
dscpForAudio : 184
date_format : "M/D/Y"
time_format_24hr : 0
dial_template : "dialplan"
sntp_server : "192.168.1.115"
sntp_mode : "Unicast"
time_zone : "EST"
dst_auto_adjust : 1
dst_offset : 01/00
dst_start_day : 0
dst_start_day_of_week : Sunday
dst_start_month : 3
dst_start_week_of_month : 2
dst_start_time : "02/00"
dst_stop_day : 0
dst_stop_day_of_week : Sunday
dst_stop_month : 11
dst_stop_week_of_month : 1
dst_stop_time : "02/00"
proxy1_address : "ip address of voip proxy server"
proxy_backup : ""
proxy_emergency : ""
connection_monitor_duration : 120
line1_shortname : "name of user or extension"
line1_name : "Authentication name"
line1_displayname : "name of user or extension"
line1_authname : "authentication name u have given in voip server"
line1_password : "authentication password u have given in voip server"
messages_uri : "8560"
line2_shortname : ""
line2_name : ""
line2_displayname : ""
line2_authname : ""
line2_password : ""
phone_label : "CISCO"
cnf_join_enable : "1"
rfc_2543_hold : "0"
call_hold_ringback : "2"
semi_attended_transfer : "1"
anonymous_call_block : "2"
callerid_blocking : "2"
dnd_control : "0"
sip_invite_retx : "6"
sip_retx : "10"
timer_invite_expires : "180"
timer_register_expires : "3600"
timer_register_delta : "5"
timer_keepalive_expires : "120"
timer_t1 : "500"
timer_t2 : "4000"
sip_max_forwards : "70"
enable_vad : "0"
dtmf_avt_payload : "101"
dtmf_db_level : "3"
user_info : "None"
stutter_msg_waiting : "2"
call_stats : "1"
start_media_port : "16384"
end_media_port : "32766"
phone_password : "cisco"
voip_control_port : "5060"
proxy_emergency_port : "5060"
outbound_proxy : ""
outbound_proxy_port : "5060"
proxy_register : "1"
dtmf_outofband : "avt"
autocomplete : "2"
network_media_type : "Auto"
local_cfwd_enable : "1"
call_waiting : "1"
preferred_codec : "none"
remote_party_id : "1"
telnet_level : 2


add the above underlined things as of your requirement.
if u have outbound proxy ..please add that too in the mentioned place in the above file.

5 Now the content of SIPdefault.cnf file.


#Image Version
image_version:P003-8-12-00 ;


#Proxy server address
proxy1_address: ip address of your voip proxy server ;


add image version and voip server ip
So after creating these configuration files put these files together with 5 files which u will get with image file from cisco in tftp root file.


Step4


you should have a DHCP server in your netwrok.i have used dhcp server which is der in my primary domain controller network,If u does not have one u can install windows 2003 and create one dhcp server in ur network.now we have to add option 150 in dhcp server


http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00800942f4.shtm
l


After adding option 150 -right click scope option - configure options - put a tick in the newly added tftp server ip address and add ip address of the pc in which u have installed TFTP SERVER apply and press ok.


Step5
Start the TFTP SERVER .


Connect your cisco phone to LAN and reboot it. please note that dont reboot any other cisco phones at this time, because it will also try to get files from tftp server.


now the cisco phone will get connected to TFTP server and will take configuration files and image file from tftp server.


If you does not have image file , you can download it from cisco directly.but you should have account in cisco
0
 
LVL 6

Expert Comment

by:vikrantambhore
ID: 35154101
U need to use ur Software ver instead of my ver
0
 

Author Comment

by:AXISHK
ID: 35154146
Will try shortly and let u know.

BTW, what the difference between the file SIP42.9-0-3S and P0S3-8-12-00 ?

Tks

0
 

Author Comment

by:AXISHK
ID: 35154240
The configuration seems to load succesfully. At least, the "unprovisioned" has gone.
Right now the phone stucks in "Registering"

Already folllowed the steps you mentioned,

Here is the file on my SEP<mac>.cnf.xml and SIP<mac>.cnf ? Any idea ??

Also, I find that the time has been setup properly (HK Time). Is that related to the registration problem ??

Great thanks.


SIP<mac>.cnf
------------
image_version : "P0S3-8-12-00"
directory_url : ""
services_url : ""
logo_url : ""
http_proxy_addr : ""
http_proxy_port : ""
transfer_onhook_enabled : "1"
dscpForAudio : 184
date_format : "M/D/Y"
time_format_24hr : 0
dial_template : "dialplan"
sntp_server : "192.168.1.32"
sntp_mode : "Unicast"
time_zone : "EST"
dst_auto_adjust : 1
dst_offset : 01/00
dst_start_day : 0
dst_start_day_of_week : Sunday
dst_start_month : 3
dst_start_week_of_month : 2
dst_start_time : "02/00"
dst_stop_day : 0
dst_stop_day_of_week : Sunday
dst_stop_month : 11
dst_stop_week_of_month : 1
dst_stop_time : "02/00"
proxy1_address : "192.168.1.32"
proxy_backup : ""
proxy_emergency : ""
connection_monitor_duration : 120
line1_shortname : "2893"
line1_name : "2893"
line1_displayname : "2893"
line1_authname : "2893"
line1_password : "8888"
messages_uri : "8560"
line2_shortname : ""
line2_name : ""
line2_displayname : ""
line2_authname : ""
line2_password : ""
phone_label : "CISCO"
cnf_join_enable : "1"
rfc_2543_hold : "0"
call_hold_ringback : "2"
semi_attended_transfer : "1"
anonymous_call_block : "2"
callerid_blocking : "2"
dnd_control : "0"
sip_invite_retx : "6"
sip_retx : "10"
timer_invite_expires : "180"
timer_register_expires : "3600"
timer_register_delta : "5"
timer_keepalive_expires : "120"
timer_t1 : "500"
timer_t2 : "4000"
sip_max_forwards : "70"
enable_vad : "0"
dtmf_avt_payload : "101"
dtmf_db_level : "3"
user_info : "None"
stutter_msg_waiting : "2"
call_stats : "1"
start_media_port : "16384"
end_media_port : "32766"
phone_password : "cisco"
voip_control_port : "5060"
proxy_emergency_port : "5060"
outbound_proxy : ""
outbound_proxy_port : "5060"
proxy_register : "1"
dtmf_outofband : "avt"
autocomplete : "2"
network_media_type : "Auto"
local_cfwd_enable : "1"
call_waiting : "1"
preferred_codec : "none"
remote_party_id : "1"
telnet_level : 2

SEP<mac>.cnf.xml
-----------------

<device> 
<deviceProtocol>SIP</deviceProtocol> 
<sshUserId>admin</sshUserId> 
<sshPassword>admin</sshPassword> 
<devicePool> 
<dateTimeSetting>
<dateTemplate>D/M/Y</dateTemplate>
<timeZone>China Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>hk.pool.ntp.org</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.32</processNodeName> 
</callManager> 
</member> 
</members> 
</callManagerGroup> 
</devicePool> 
<sipProfile> 
<sipProxies> 
<registerWithProxy>true</registerWithProxy> 
</sipProxies> 
<sipCallFeatures> 
<cnfJoinEnabled>true</cnfJoinEnabled> 
<callForwardURI>x--serviceuri-cfwdall</callForwardURI> 
<callPickupURI>x-cisco-serviceuri-pickup</callPickupURI> 
<callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI> 
<callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI> 
<meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI> 
<abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI> 
<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> 
<autoAnswerAltBehavior>false</autoAnswerAltBehavior> 
<autoAnswerOverride>true</autoAnswerOverride> 
<transferOnhookEnabled>false</transferOnhookEnabled> 
<enableVad>false</enableVad> 
<preferredCodec>g711ulaw</preferredCodec>
<natEnabled>false</natEnabled>
<natAddress>192.168.1.32</natAddress> 
<phoneLabel>iinet SIP</phoneLabel> 
<sipLines> 
<line button="1"> 
<featureID>9</featureID> 
<featureLabel>upc</featureLabel> 
<proxy>192.168.1.32</proxy> 
<port>5060</port>
<name>2893</name> 
<displayName>2893</displayName> 
<autoAnswer> 
<autoAnswerEnabled>2</autoAnswerEnabled> 
</autoAnswer>
<callWaiting>3</callWaiting> 
<authName>2893</authName> 
<authPassword>8888</authPassword>
<sharedLine>true</sharedLine>
<contact>2893</contact> 
<forwardCallInfoDisplay> 
<callerName>true</callerName> 
<callerNumber>false</callerNumber> 
<redirectedNumber>false</redirectedNumber> 
<dialedNumber>true</dialedNumber> 
</forwardCallInfoDisplay> 
</line> 
</sipLines> 
<dialTemplate>dialplan.xml</dialTemplate> 
</sipProfile> 
<loadInformation>SIP42.9-0-3S</loadInformation> 
</device>

Open in new window

0
 
LVL 6

Expert Comment

by:vikrantambhore
ID: 35154345
Did u edit ur username & password in config file ?
0
 

Author Comment

by:AXISHK
ID: 35154360
Which configuration file are you mentioned ? Both SEP<mac>.cnf.xml and SIP<mac>.cnf has been put with "2893" with "8888" as listed above. Do I miss anything ?

Thanks
0
 

Author Closing Comment

by:AXISHK
ID: 35212684
Tks
0
 

Expert Comment

by:ITGeneral
ID: 36510927
Are there any licensing issues that you have to worry about or is that a non-issue?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server. # Setup the system apt-get install subversion apt-get install make apt-get install linux-source kernel-p…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question