Cannot register Cisco 7942 to Asterisk

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#1
I have loaded firmware 9.0.3 into my Cisco 7942. When it boot up, it display "registering" and it goes off for few miniutes. However, the phone couldn't register with Asterisk.

Here is the logging in the phone :

3378: NOT 10:14:53.380895 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_IDLE <- E_SIP_REG_TMR_EXPIRE
3379: ERR 10:14:53.382217 JVM: ccsip_register_send_msg: Error: cc_cfg_table is null.
3380: NOT 10:14:53.382828 JVM: SIPCC-UI_API: 1/0, ui_set_sip_registration_state: 0
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#2
and the xml tftp files?
 

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#3
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>59.148.184.7</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>
<phoneLabel>HK SIP</phoneLabel>
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>SIP HK</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>21581188</authPassword>
<sharedLine>false</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>

sip_general_custom.conf
-------------------
videosupport=yes
allow=gsm
allow=g722
allow=g723
allow=g729
allow=h263p
allow=h263
allow=h261

sip_additional.conf
------------------
[2893]
deny=0.0.0.0/0.0.0.0
type=friend
secret=21581188
qualify=yes
port=5060
pickupgroup=
permit=192.168.1.0/255.255.255.0
nat=yes
mailbox=2893
host=dynamic
dtmfmode=rfc2833
dial=SIP/2893
context=from-internal
canreinvite=no
callgroup=
callerid=device <2893>
accountcode=
call-limit=50
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#4
try to provision your phone with colsolgrp endpoint manager for freepbx....i guess its an error in the provisioning XML
 

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#5
The SEP<mac>.cnf.xml should be correct as the file could be loaded succesfully into Cisco Phone 7942 with firmware version of SIP9-1-1SR1, without any error message.


However, the Cisco phone don't send out any registration information to Asterisk.

I have attached my SEP<mac>.cnf.xml for your reference.

Thanks
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#6
Syntactically correct perhaps, just obviously not functional, please try the colsolgrp end-point manager as suggested, it is now mainstream in the latest versions of FreePBX with the exception of the Elastix one.
 

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#7
Is there a version of Window ? I have downloaded it but couldn't install on Window.

Tks
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#8
No, the colsolgrp endpoint manager is an "add-on" for FreePBX (google is your friend).

On a legitimate version of FreePBX it can be uploaded and installed from Unembedded FreePBX Module manager. I don't know whether you can do that in the illegitimate Elastix version. I don't use it ( I don't use windoze for much the same reason, they basically don't work very well :) ).

You will have to point your DHCP server option 66 (tftpserver) and possibly 150 and 160 (cisco provisioning) to your Asterisk box though if you haven't already.

regards

dicko.
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#9
+1 dick
 

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#10
Finally, get the xml.cnf load to the Cisco phone. However, I find that the it only works with Firmware version 8. If I change the version 9, it doesn't send out registration information. Does it implie future Cisco phone will no longer support Asterisk any more ?

Here is the log shown in Cisco 7942 w/ Firmware 9 when I ssh to the phone
3382: ERR 10:15:53.381636 JVM: ccsip_register_send_msg: Error: cc_cfg_table is null.
3383: NOT 10:15:53.382240 JVM: SIPCC-UI_API: 1/0, ui_set_sip_registration_state: 0
3384: NOT 10:16:53.390919 JVM: SIPCC-SIP_REG_STATE: 1/51, sip_reg_sm_process_event: SIP_REG_STATE_IDLE <- E_SIP_REG_TMR_EXPIRE
 

karim_992

Joined
Jun 9, 2011
Messages
5
Likes
0
Points
0
#11
can you send me the link of the files pleas as i am facing the same problem with the Cisco 7942g
 

karim_992

Joined
Jun 9, 2011
Messages
5
Likes
0
Points
0
#12
hi Karma
i am facing a problem with the Cisco 7942 IP phone can you please send me the XML.cnf
if you can send me instructions of how to use it i will be thankful.
 

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#13
Send your email address, I could send u the file w/ notes.

BTW, do you have the Cisco 8.x firmware. I never get 9.x firmware works w/ the VoIP server.
 

karim_992

Joined
Jun 9, 2011
Messages
5
Likes
0
Points
0
#14
actually i could get any thing working
if you found the solution plz send it to me the xml and 8.x firmware
:) i am in a desperate need of help i am new to this elastix and Cisco phones inviroment and it seams that i will be asking you guys for a lot of help in the next few days :lol:
but lets start with this one the other 7960 is working fine on the steps i have here but the 7942 is not responding if you could send me the firm ware and the XML file and i will be really really really thankful
 

karim_992

Joined
Jun 9, 2011
Messages
5
Likes
0
Points
0
#15
actually i could get any thing working
if you found the solution plz send it to me the xml and 8.x firmware
:) i am in a desperate need of help i am new to this elastix and Cisco phones environment and it seams that i will be asking you guys for a lot of help in the next few days :lol:
but lets start with this one the other 7960 is working fine on the steps i have here but the 7942 is not responding if you could send me the firm ware and the XML file and i will be really really really thankful
 

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#16
Give me your email address so that I could email the material to u.
 

karim_992

Joined
Jun 9, 2011
Messages
5
Likes
0
Points
0
#17

fasilkaks

Joined
Feb 6, 2010
Messages
36
Likes
0
Points
0
#18
Hi Leungs,
I am also facing the same issue with my cisco 7911 (version SIP11.9-2-1S) phones.
My DHCP, TFTP and Elastix (1.6) servers are the same. I have my SEP<mac address>.cnf.xml file edited and put in /tftpboot folder. The phones are communicating with the DHCP server (got IP) and TFTP server (Fetched the xml file). The time zone, proxy address, auth name and other stuffs as in the xml file are getting updated in the phones. But the phones are getting stuck at the registering phase. Could you please send me your configuration file so that I can proceed. This is really disappointing me :(

Thanks in advance!!!
 

fasilkaks

Joined
Feb 6, 2010
Messages
36
Likes
0
Points
0

leungs

Joined
Mar 21, 2011
Messages
10
Likes
0
Points
0
#20
I never made ver 9.x works on Cisco phone. I only use 8.x

Will send u those files to your gmail directly. Remember to leave only the SEP<MAC>.cnf.xml in your TFTP directory. Don't keep other files like .tlv ...

Hope it helps.
 

Members online

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,594
Latest member
knethardsolutions
Top