|
Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 2
|
|
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
|
|
leungs
Fresh Boarder
Posts: 10
|
|
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 117
|
|
and the xml tftp files?
|
|
|
|
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 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>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
|
|
leungs
Fresh Boarder
Posts: 10
|
|
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 117
|
|
try to provision your phone with colsolgrp endpoint manager for freepbx....i guess its an error in the provisioning XML
|
|
|
|
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 2
|
|
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
|
|
leungs
Fresh Boarder
Posts: 10
|
|
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 156
|
|
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.
|
|
|
|
Last Edit: 2011/03/22 19:40 By dicko.
There are other solutions!!
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 2
|
|
Is there a version of Window ? I have downloaded it but couldn't install on Window.
Tks
|
|
leungs
Fresh Boarder
Posts: 10
|
|
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 156
|
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.
|
|
|
|
Last Edit: 2011/03/22 19:31 By dicko.
There are other solutions!!
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 2 Months ago
|
Karma: 117
|
|
+1 dick
|
|
|
|
|
|
|
Re: Cannot register Cisco 7942 to Asterisk 2 Years, 1 Month ago
|
Karma: 2
|
|
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
|
|
leungs
Fresh Boarder
Posts: 10
|
|
|
|
|