Cisco 9971 and TFTP

seansimpson
Posts: 11
Member Since:
2010-04-25

Hi Folks

Need some advice and guidance. I'm trying to get a 9971 to talk to my trixbox.

So far I have placed the following updated v9.0(2) firmware files (from the Cisco cmterm-9971.9-0-2.zip file) into the /tftpboot directory on the trixbox:

dkern9971.100609R2-9-0-2.sebn
kern9971.9-0-2.sebn
rootfs9971.9-0-2.sebn
sboot9971.111909R1-9-0-2.sebn
sip9971.9-0-2.loads
skern9971.022809R2-9-0-2

On the trixbox I have previously run "setup-cisco" and then used the Endpoint Manager to generate the SIP081FF3622FB1.cnf , SIPDefault.cnf and XMLDefault.cnf.xml , RINGLIST.DAT and dialplan.xml config files, based originally on the 7960, which I've subsequently attempted to edit to suit a 9971.

So far no joy. When I run "tail -f /var/log/atftpd.log" to see the tftp server log files, I get:

[trixbox1.localdomain tftpboot]# tail -f /var/log/atftpd.log
Apr 30 23:12:55 trixbox1.localdomain atftpd[14746.-1208435824]: Serving XMLDefault.cnf.xml to 192.168.0.13:49154
Apr 30 23:13:27 trixbox1.localdomain atftpd[14746.-1208435824]: Serving CTLSEP081FF3622FB1.tlv to 192.168.0.13:49154
Apr 30 23:13:29 trixbox1.localdomain atftpd[14746.-1208435824]: Serving SEP081FF3622FB1.cnf.xml to 192.168.0.13:49154

this keep repeating over and over. On the phone the status messages say:

Updating CTL
File Not Found : CTLFile.tlv
No CTL installed
TFTP Error: ram/SEP081FF3622FB1.cnf.xml
File Not Found : SEP081FF3622FB1.cnf.xml

I tried copying SIP081FF3622FB1.cnf.xml to SEP081FF3622FB1.cnf.xml and keeping both files in /tftpboot but that makes no difference.

I'm not sure why the phone is asking for CTL (security mode looks like its turned off) files or SEP (it's supposed to be running SIP already not skinny) files for that matter.

Any clues or tips folks?

Cheers
Sean



seansimpson
Posts: 11
Member Since:
2010-04-25
Ok as an update. I have

Ok as an update. I have managed to get the phone firmware updated. There was a block size limit on the TFTP server on the trixbox, which was choking on the rootfs9971.9-0-2.sebn file (34MB) from being loaded on the phone, so I used a TFTP server my PC instead. The active firmware is now successfully showing as sip9971.9-0-2.

I found a good Asterisk and Cisco phone configuration article here: http://minded.ca/2009-12-16/configure-cisco-ip-phones-with-asteri...

I have used the configuration files zipped up in this article as starting off point. I know that the SEP081FF3622FB1.cnf.xml file is being processed, as I have altered the user and network locales and the phone is now asking for g4-tones.xml and gd-sip.jar. I will need to try and dig these up somewhere from Cisco, but I don't think they are critical for operation - happy to be corrected.

The configurations files I have as follows:

SEP081FF3622FB1.cnf.xml
XMLDefault.cnf.xml
dialplan.xml
ringlist.xml
List.xml (optional really)

I am ignoring all other non XML configuration files including SIPDefault.cnf as the phone does not appear to use them.

The phone however is still not registering with trixbox, so any further hints or tips would be greatly appreciated. I think the key to making it register is still somewhere in the SEP081FF3622FB1.cnf.xml file but I'm not sure what to try next.

Cheers
Sean



solstice
Posts: 137
Member Since:
2006-06-02
Hey Sean, Any update on

Hey Sean,
Any update on this? I am getting the phone to work with the Cisco Callmanager, but it just won't register with the Trixbox system.
It pulls all the files it needs, not getting any error there, and when logging into the debug menu via ssh, i see that it is provisioned correctly of the trixbox, but it just won't register. Almost like the old Nat issue on the 79xx phones. Nat however is turned off for this as well.

running tcpdump from the trixbox console, i am not seeing any communication beyond the NTP side of things from the phone.



seansimpson
Posts: 11
Member Since:
2010-04-25
Hi, Afraid I never did get

Hi,

Afraid I never did get this phone working with Trixbox. I spent about a week or more looking for a solution, but it was fruitless. Perhaps with more debugging it could be possible, but not for the fainthearted!

I think it's a Call Manager only solution. Although I'd be happy to be proven wrong!

Good luck

Sean



solstice
Posts: 137
Member Since:
2006-06-02
the weird part about the

the weird part about the phone is, that it follows the 7975 almost to the "T" in the configuration file, however it never seems to send any "registration" data, just places requests.
Odd part is that when intercepting the callmanager, there is nothing from the phone either, but callmanager does work. So figures.



solstice
Posts: 137
Member Since:
2006-06-02
seansimpson: working on this

seansimpson: working on this a bit more. Got into the debug mode of the phone.
Not sure if you turned on the web interface or not, but it seems the only way to get at the debug logs is via the web interface.
just ssh to the phone, then use username: debug pass: debug and set some debugs.
Make sure you have the web interface on. Log onto the web interface then pull the debug logs.

From what i can see sofar i get a "CVM-ccsip_register_send_msg: Error: cc_cfg_table is null." error. Looking these up online it seems a few people with the 79xx series phone are starting to have that issue with the 9.x firmwares.

What firmware are you running?

I am going to try to test a few firmwares out right now to see if it works.

FYI: you need to use 0 for this, not 1..



solstice
Posts: 137
Member Since:
2006-06-02
Argh!!! I hate cisco

Argh!!! I hate cisco !!!!!!!!

4550 NOT 18:19:05.073762 CVM-SIPCC-SIP_REG_STATE: 1/201, sip_reg_sm_process_event: SIP_REG_STATE_IDLE 4551 ERR 18:19:05.073989 CVM-ccsip_register_send_msg: Error: cc_cfg_table is null.
4552 NOT 18:20:05.073775 CVM-SIPCC-SIP_REG_STATE: 1/201, sip_reg_sm_process_event: SIP_REG_STATE_IDLE 4553 ERR 18:20:05.073999 CVM-ccsip_register_send_msg: Error: cc_cfg_table is null.
4554 NOT 18:21:05.073767 CVM-SIPCC-SIP_REG_STATE: 1/201, sip_reg_sm_process_event: SIP_REG_STATE_IDLE 4555 ERR 18:21:05.073994 CVM-ccsip_register_send_msg: Error: cc_cfg_table is null.

I have now tried with firmware sip9971.9-0-3 and sip9971.9-0-1SR1 and of course the one seansimpson used sip9971.9-0-2 ..
Problem with these phones is that one can't send them back either...



solstice
Posts: 137
Member Since:
2006-06-02
Update: Interesting

Update: Interesting discovery, the phone does work with Asterisk no problem, however it has a issue registering with it.
Try this. In your SEPxxxxxxx.cnf.xml file change the from true to false. Then the phone fully boots and allows for calls to be made out.. I can even get the KEM sidecar to work. However without registration no inbound connections will work. Maybe someone can figure out a work around.

The problem seems to be with the registration to proxy issue.



solstice
Posts: 137
Member Since:
2006-06-02
Update 2: Got it to start

Update 2: Got it to start registering.. One has to enable TCP for sip.
however now i am getting some screwed up MD5 registration junk. Will figure out if i can get around that
trixbox*CLI>
TCP://10.10.69.127:53213 --->
REGISTER sip:10.10.100.10 SIP/2.0
Via: SIP/2.0/TCP 10.10.69.127:53213;branch=z9hG4bK36837607
From: ;tag=006440b57b22001864137775-46f0b02c
To:
Call-ID: 006440b5-7b220018-290e2ab4-54ee46ee@10.10.69.127
Max-Forwards: 70
Date: Wed, 04 Aug 2010 03:28:25 GMT
CSeq: 126 REGISTER
User-Agent: Cisco-CP9971/9.0.1
Contact: ;+sip.instance="";+u.sip!devicename.ccm.cisco.com="SEPXXXXXXXXX";+u.sip!model.ccm.cisco.com="493"
Supported: replaces,join,sdp-anat,norefersub,extended-refer,X-cisco-callinfo,X-cisco-serviceuri,X-cisco-escapecodes,X-cisco-service-control,X-cisco-srtp-fallback,X-cisco-monrec,X-cisco-config,X-cisco-sis-4.1.0,X-cisco-xsi-9.0.1
Reason: SIP;cause=200;text="cisco-alarm:12 Name=SEPXXXXXXXXXX ActiveLoad=sip9971.9-0-1SR1.loads InactiveLoad=sip9971.9-0-3.loads Last=cm-reset-tcp"
Expires: 3600
Content-Type: multipart/mixed; boundary=uniqueBoundary
Mime-Version: 1.0
Content-Length: 1021

--uniqueBoundary
Content-Type: application/x-cisco-remotecc-request+xml
Content-Disposition: session;handling=optional








--uniqueBoundary
Content-Type: application/x-cisco-remotecc-request+xml
Content-Disposition: session;handling=optional

























--uniqueBoundary--


--- (16 headers 44 lines) ---
Sending to 10.10.69.127 : 53213 (no NAT)


SIP/2.0 100 Trying
Via: SIP/2.0/TCP 10.10.69.127:53213;branch=z9hG4bK36837607;received=10.10.69.127
From: ;tag=006440b57b22001864137775-46f0b02c
To:
Call-ID: 006440b5-7b220018-290e2ab4-54ee46ee@10.10.69.127
CSeq: 126 REGISTER
User-Agent: Asterisk PBX 1.6.0.22-samy-r60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP 10.10.69.127:53213;branch=z9hG4bK36837607;received=10.10.69.127
From: ;tag=006440b57b22001864137775-46f0b02c
To: ;tag=as5a224a82
Call-ID: 006440b5-7b220018-290e2ab4-54ee46ee@10.10.69.127
CSeq: 126 REGISTER
User-Agent: Asterisk PBX 1.6.0.22-samy-r60
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4a0a8260"
Content-Length: 0



solstice
Posts: 137
Member Since:
2006-06-02
Got it to register!!! it

Got it to register!!! it works .. So no it is not just a Callmanager phone, it works with trix.

The trick is to use TCP for registration and all the sip traffic, thus one has to enable tcp and add transport=tcp in the sip user extension.

Got to work out some of the bugs of the phone, as "forward all", redial, etc soft keys aren't playing nice, but all in all it works.



cgilmarlm
Posts: 7
Member Since:
2010-08-22
no incoming calls

Hello solstice, i'm cayo (Peru)...
that continues.
I changed the proxy register from true to false, but no incoming calls.
my server configuration is:

Asterisk 1.6:
sip.conf:
tcpenable=yes
tcpbindaddr=0.0.0.0

[9951]
transport=tcp


172.19.10.8 backupProxy >
5060 backupProxyPort >
172.19.10.8
5060 emergencyProxyPort >
outboundProxy >
outboundProxyPor t>
false

not understand well what to do with my 9951, which is the correct SEP...XML.

Helpme !!!

Cayo Laines
Peru



SkykingOH
Posts: 9680
Member Since:
2007-12-17
Sean - Did you enable TCP

Sean - Did you enable TCP for SIP on your trixbox as the noted earlier in this thread? You must be running 2.8 to support this.

Personally I would install chan_sccp-b and use the phone in SCCP mode. Many more features.

The guys over at the chan-sscp-b project are doing some amazing work.

--

Scott

aka "Skyking"



seansimpson
Posts: 11
Member Since:
2010-04-25
Hi, I've not done any more

Hi,

I've not done any more work on this for a long while. I will probably get a chance to give it another bash soon and try a few of the things Solstice has mentioned and see if I can get my setup to work.

BTW - I thought the 9971's were SIP only.

All the best

Sean



cgilmarlm
Posts: 7
Member Since:
2010-08-22
... Using SIP RTP CoS mark 5

this message means:

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5

I can not register the phone.
failure to do something

Cayo.

......I have outgoing calls, but I have no incoming calls...
help



solstice
Posts: 137
Member Since:
2006-06-02
SkykingOH: the 99xx phones

SkykingOH: the 99xx phones are SIP only - no skinny firmware available

cgilmarim: the config files are similar to the 7975 phones but not the same. Going to try to add a sample config here, but it "NEEEDS!!!!" to be edited to work with your setup.

I am however having some weird issue with the phone, which i am trying to get sorted out. There is a beep occuring in the line, almost like a call waiting signal, every 13 seconds. Not sure what that could be. Tracking a bit, it seems like it could have something to do with the "presence" feature which has to be on for the phone to register, but the refreshes are happening around that 13 second mark. Maybe someone can check that out.

Another real annoyance is that due to the lack of settings in the freepbx system, one needs to manually add transport=tcp into the sip_additional.conf, however everytime someone makes a change via the gui the file is totaly overwritten. Not sure if i can store the extension into another file which doesn't get overwritten.



solstice
Posts: 137
Member Since:
2006-06-02
change XXX.XXX.XXX.XXX to

change XXX.XXX.XXX.XXX to your servers IP address
change 200 to your extension number as well as password and contact

<?xml version="1.0" encoding="UTF-8"?>
<device  xsi:type="axl:XIPPhone" ctiid="7" uuid="{89b84111-68bf-4498-8233-d9935482e0f2}">
<fullConfig>true</fullConfig>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>admin</sshUserId>
<sshPassword>cisco</sshPassword>
<ipAddressMode>0</ipAddressMode>
<allowAutoConfig>true</allowAutoConfig>
<ipPreferenceModeControl>0</ipPreferenceModeControl>
<tzdata>
<tzolsonversion>2009p</tzolsonversion>
<tzupdater>tzupdater.jar</tzupdater>
</tzdata>
<featurePolicyFile>DefaultFP0000000000-c7a6c673-7479-46b0-839e-014d3d093963.xml</featurePolicyFile>
<devicePool  uuid="{1b1b9eb6-7803-11d3-bdf0-00108302ead1}">
<revertPriority>0</revertPriority>
<name>Default</name>
<dateTimeSetting  uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}">
<name>CMLocal</name>
<dateTemplate>M/D/Y</dateTemplate>
<timeZone>Greenwich Standard Time</timeZone>
<olsonTimeZone>Etc/GMT</olsonTimeZone>
</dateTimeSetting>
<callManagerGroup>
<name>Default</name>
<tftpDefault>true</tftpDefault>
<members>
<member  priority="0">
<callManager>
<name>CUCM</name>
<description>CUCM</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>XXX.XXX.XXX.XXX</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<srstInfo  uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">
<name>Enable</name>
<srstOption>Enable</srstOption>
<userModifiable>true</userModifiable>
<ipAddr1>XXX.XXX.XXX.XXX</ipAddr1>
<port1>2000</port1>
<ipAddr2></ipAddr2>
<port2>2000</port2>
<ipAddr3></ipAddr3>
<port3>2000</port3>
<sipIpAddr1></sipIpAddr1>
<sipPort1>5060</sipPort1>
<sipIpAddr2></sipIpAddr2>
<sipPort2>5060</sipPort2>
<sipIpAddr3></sipIpAddr3>
<sipPort3>5060</sipPort3>
<isSecure>false</isSecure>
</srstInfo>
<mlppDomainId>-1</mlppDomainId>
<mlppIndicationStatus>Default</mlppIndicationStatus>
<preemption>Default</preemption>
<connectionMonitorDuration>120</connectionMonitorDuration>
</devicePool>
<TVS>
<members>
<member  priority="0">
<port>2445</port>
<address>XXX.XXX.XXX.XXX</address>
</member>
</members>
</TVS>
<sipProfile>
<sipProxies>
<backupProxy>USECALLMANAGER</backupProxy>
<backupProxyPort>5060</backupProxyPort>
<emergencyProxy>USECALLMANAGER</emergencyProxy>
<emergencyProxyPort>5060</emergencyProxyPort>
<outboundProxy>USECALLMANAGER</outboundProxy>
<outboundProxyPort>5060</outboundProxyPort>
<registerWithProxy>true</registerWithProxy>
</sipProxies>
<sipCallFeatures>
<cnfJoinEnabled>true</cnfJoinEnabled>
<callForwardURI>x-cisco-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>
<retainForwardInformation>false</retainForwardInformation>
</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>true</remotePartyID>
<userInfo>None</userInfo>
</sipStack>
<autoAnswerTimer>0</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<preferredCodec>none</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<kpml>3</kpml>
<phoneLabel></phoneLabel>
<stutterMsgWaiting>0</stutterMsgWaiting>
<callStats>true</callStats>
<offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer>
<T302Timer>15000</T302Timer>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>true</disableLocalSpeedDialConfig>
<poundEndOfDial>false</poundEndOfDial>
<startMediaPort>16384</startMediaPort>
<stopMediaPort>32766</stopMediaPort>
<sipLines>
<line  button="1" lineIndex="1">
<featureID>9</featureID>
<featureLabel></featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>299</name>
<displayName></displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>200</authName>
<authPassword>200</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messageWaitingAMWI>0</messageWaitingAMWI>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>200</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
</line>
<line  button="7">
<featureID>21</featureID>
<featureLabel>User1</featureLabel>
<speedDialNumber>202</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
<line  button="8">
<featureID>21</featureID>
<featureLabel>User2</featureLabel>
<speedDialNumber>204</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
</sipLines>
<externalNumberMask></externalNumberMask>
<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<dscpVideo>136</dscpVideo>
<dscpForTelepresence>128</dscpForTelepresence>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate>dialplan.xml</dialTemplate>
<softKeyFile>Softkey.xml</softKeyFile>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
</sipProfile>
<MissedCallLoggingOption>1000</MissedCallLoggingOption>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<loadInformation>sip9971.9-0-3</loadInformation>

<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<sdio>1</sdio>
<garp>1</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<webAccess>0</webAccess>
<spanToPCPort>1</spanToPCPort>
<loggingDisplay>0</loggingDisplay>
<recordingTone>1</recordingTone>
<recordingToneLocalVolume>100</recordingToneLocalVolume>
<recordingToneRemoteVolume>50</recordingToneRemoteVolume>
<recordingToneDuration></recordingToneDuration>
<displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
<logServer></logServer>
<g722CodecSupport>0</g722CodecSupport>
<headsetWidebandUIControl>0</headsetWidebandUIControl>
<headsetWidebandEnable>0</headsetWidebandEnable>
<lldpAssetId></lldpAssetId>
<powerPriority>0</powerPriority>
<detectCMConnectionFailure>0</detectCMConnectionFailure>
</vendorConfig>

<commonConfig>
</commonConfig>
<enterpriseConfig>
</enterpriseConfig>
<versionStamp>1280870288-91f38f2d-7fff-4a42-87cd-76f9b4a802fc</versionStamp>
<addOnModules>
<addOnModule  uuid="{c42eaca3-d387-58e7-4f3f-46dfea8b7593}" idx="1">
<deviceType>CKEM</deviceType>
<deviceLine>36</deviceLine>
<loadInformation></loadInformation>
<phoneTemplateId>a6a6664c-b468-c012-ef23-9b8e09a2b5f0</phoneTemplateId>
</addOnModule>
</addOnModules>
<userLocale>
<name>English_United_States</name>
<uid>1</uid>
<langCode>en_US</langCode>
<version>8.0.0.1(4)</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>
<networkLocale>United_States</networkLocale>
<networkLocaleInfo>
<name>United_States</name>
<uid>64</uid>
<version>8.0.0.1(4)</version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<idleTimeout>0</idleTimeout>
<authenticationURL>http://CUCM:8080/ccmcip/authenticate.jsp</authenticationURL>
<directoryURL>http://CUCM:8080/ccmcip/xmldirectory.jsp</directoryURL>
<idleURL></idleURL>
<informationURL>http://CUCM:8080/ccmcip/GetTelecasterHelpText.jsp</informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL>http://CUCM:8080/ccmcip/getservicesmenu.jsp</servicesURL>
<secureAuthenticationURL>https://CUCM:8443/ccmcip/authenticate.jsp</secureAuthenticationURL>
<secureDirectoryURL>https://CUCM:8443/ccmcip/xmldirectory.jsp</secureDirectoryURL>
<secureIdleURL></secureIdleURL>
<secureInformationURL>https://CUCM:8443/ccmcip/GetTelecasterHelpText.jsp</secureInformationURL>
<secureMessagesURL></secureMessagesURL>
<secureServicesURL>https://CUCM:8443/ccmcip/getservicesmenu.jsp</secureServicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>4</transportLayerProtocol>
<dndCallAlert>5</dndCallAlert>
<phonePersonalization>1</phonePersonalization>
<rollover>0</rollover>
<singleButtonBarge>0</singleButtonBarge>
<joinAcrossLines>0</joinAcrossLines>
<autoCallPickupEnable>false</autoCallPickupEnable>
<blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
<blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
<capfAuthMode>0</capfAuthMode>
<capfList>
<capf>
<phonePort>3804</phonePort>
<processNodeName>CUCM</processNodeName>
</capf>
</capfList>
<certHash></certHash>
<encrConfig>false</encrConfig>
<advertiseG722Codec>1</advertiseG722Codec>
<mobility>
<handoffdn></handoffdn>
<dtmfdn></dtmfdn>
<ivrdn></ivrdn>
<dtmfHoldCode>*81</dtmfHoldCode>
<dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
<dtmfResumeCode>*83</dtmfResumeCode>
<dtmfTxfCode>*84</dtmfTxfCode>
<dtmfCnfCode>*85</dtmfCnfCode>
</mobility>
<userId>299</userId>
<phoneServices  useHTTPS="true">
<provisioning>2</provisioning>
<phoneService  type="1" category="0">
<name>Missed Calls</name>
<url>Application:Cisco/MissedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="2" category="0">
<name>Voicemail</name>
<url>Application:Cisco/Voicemail</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Received Calls</name>
<url>Application:Cisco/ReceivedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Placed Calls</name>
<url>Application:Cisco/PlacedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Personal Directory</name>
<url>Application:Cisco/PersonalDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Corporate Directory</name>
<url>Application:Cisco/CorporateDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
</phoneServices>
</device>


solstice
Posts: 137
Member Since:
2006-06-02
cgilmarlm: for your outgoing

cgilmarlm: for your outgoing calls vs incomming, it has to do with registration of proxies.

Go into asterisk via console and do a "sip show peer
" number and check that it is registered. Also check that if it is registered that the "transport" mode is tcp not udp, as the 99xx series don't seem to be able to deal with UDP at all.



SkykingOH
Posts: 9680
Member Since:
2007-12-17
The entry should go in

The entry should go in sip_custom.post.conf

See this link for instructions:

http://www.freepbx.org/configuration_files

--

Scott

aka "Skyking"



solstice
Posts: 137
Member Since:
2006-06-02
Beeping issue has been

Beeping issue has been resolved!!!!
change

<recordingTone>1</recordingTone>

to

<recordingTone>0</recordingTone>

This solves the issues..
Other things discovered, the 9971 phones no longer use the softkey.xml files, even though it is still in the call manager config. They use the
<featurePolicyFile>DefaultFP.xml instead. Thus most of the softkey info needs to be migrated to that location.

Scott: Thanks for the info, will try this out ASAP.



manzurek
Posts: 5
Member Since:
2006-06-11
add transport in freePBX 2.8

vi /var/www/html/admin/modules/core/functions.inc.php

Line 3769

array($account,'port',$db->escapeSimple((isset($_REQUEST['port']))?$_REQUEST['port']:'5060'),$flag++),
array($account,'transport',$db->escapeSimple((isset($_REQUEST['transport']))?$_REQUEST['transport']:'udp'),$flag++),
array($account,'qualify',$db->escapeSimple((isset($_REQUEST['qualify']))?$_REQUEST['qualify']:'yes'),$flag++),

Line 5968

$tmparr['nat'] = array('value' => 'yes', 'level' => 1);
$tmparr['port'] = array('value' => '5060', 'level' => 1);
$tmparr['transport'] = array('value' => 'udp', 'level' => 1);
$tmparr['qualify'] = array('value' => 'yes', 'level' => 1);
$tmparr['callgroup'] = array('value' => '', 'level' => 1);

for freePBX 2.5
http://www.asterisk-peru.com/node/1501

image



SkykingOH
Posts: 9680
Member Since:
2007-12-17
Do not use Manzurek method.

Do not use Manzurek method. I posted the correct, non version specific method in a previous post.

--

Scott

aka "Skyking"



manzurek
Posts: 5
Member Since:
2006-06-11
freePBX code

you are scared to modify the code?

sip_additional.conf



solstice
Posts: 137
Member Since:
2006-06-02
Manzurek, i think it is not

Manzurek, Thanks for the patch!. However, i think it is not about modifying the code, but when one runs updates to the system the code would have to be redone each time, plus it could break some conformity.
Skykings method seems to work just fine actually, which is awesome and easy.
Modifying code isn't a problem if Andrew accepts changes into the distribution channel.



cgilmarlm
Posts: 7
Member Since:
2010-08-22
XXX. + CUCM + USECALLMANAGER

Hi,
solstice: What do you mean with CUCM, USECALLMANAGER. is the address of the Asterisk server?

DefaultFP0000000000-c7a6c673-7479-46b0-839e-014d3d093963.xml

is this file needed?

regards.
Cayo



solstice
Posts: 137
Member Since:
2006-06-02
Hi Cayo, Yeah the

Hi Cayo,

Yeah the featurePolicyfile is needed, but you can label it anything .xml you want ..
As per the CUCM, that came from the Callmanager, it doesn't matter or not if that is changed. Leave the "USECALLMANAGER" as for some odd reason it isn't used as a address, but more of a setting reference.



cgilmarlm
Posts: 7
Member Since:
2010-08-22
sip.conf reference

hi,
the sip.conf configurations on asterisk 1.6 is:
[general]
allowguest=no
tcpenable=yes
tcpbindaddr=0.0.0.0
callevents=yes
context=internos
domain=172.20.1.3
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
useragent=X-Lite
videosupport=yes

[101]
transport=tcp
type=friend
accountcode=101
language=es
secret=101
qualify=no
nat=no
host=dynamic
dtmfmode=rfc2833
context=internos
canreinvite=yes
callerid=Prueba
disallow=all
allow=ulaw
allow=alaw

Some corrections?

Cayo.



solstice
Posts: 137
Member Since:
2006-06-02
Cayo, First some

Cayo,

First some corrections. Since utilizing Trixbox/Freepbx sip.conf is a file that includes all the files your first section shouldn't even be in there like that.

Thus the following should just exist.

All you extensions should be in sip_addtional.conf. This file is created by the Freepbx gui and shouldn't be manually messed with.
Most of the parts that are in your sip.conf are also part of the auto-generated file sip_general_additional.conf

Thus all you should have to do is on the default files just edit the sip_general_custom.conf
Mine looks like:


tcpenable=yes
tcpbindaddr=0.0.0.0
allowsubscribe=yes
notifyringing = yes
notifyhold = yes
notifycid = yes
callcounter = yes

And then only add a line to your sip_custom_post.conf for your extension which you are using as 101
Thus like:

[101](+)
transport=tcp,udp

Thus every time you reload a config the extension options don't get overwritten



solstice
Posts: 137
Member Since:
2006-06-02
For the "sample" config

For the "sample" config above change the

<featurePolicyFile>DefaultFP0000000000-c7a6c673-7479-46b0-839e-014d3d093963.xml</featurePolicyFile >

to:

<featurePolicyFile>DefaultFP.xml</featurePolicyFile>

This way you can have one generic policy file for multiple phones that isn't specific to one config.

Also a default policy file will look like:


<featurePolicy  name="Default Policy">
<versionStamp>0000000000</versionStamp>
<featureDef  name="Forward All">
<id>1</id>
<enable>true</enable>
</featureDef>
<featureDef  name="Park">
<id>2</id>
<enable>false</enable>
</featureDef>
<featureDef  name="Divert (Alerting)">
<id>3</id>
<enable>false</enable>
</featureDef>
<featureDef  name="Conference List">
<id>4</id>
<enable>true</enable>
</featureDef>
<featureDef  name="Speed Dial">
<id>5</id>
<enable>true</enable>
</featureDef>
<featureDef  name="Call Back">
<id>6</id>
<enable>true</enable>
</featureDef>
<featureDef  name="Redial">
<id>7</id>
<enable>true</enable>
</featureDef>
<featureDef  name="Barge">
<id>8</id>
<enable>true</enable>
</featureDef>
<featureDef  name="Divert (Connected)">
<id>9</id>
<enable>false</enable>
</featureDef>
</featurePolicy>

Hope this helps! The phone now works great for the most part here, with the exception of CallforwardAll and BLF but that shall be solved too.

Also a reminder, the sample config i posted above is for a 9971 with a side car. If you don't have a side car, you will need to disable those options.

Also, because we all are getting a bit annoyed by people who are just toooo darn lazy to do their own debugs, please post proper debugs if you want help, by SSH'ing into the phone. The username/password is defined in your config, in the sample it is admin/config. After entering you will get a prompt to enter another login, which you use debug/debug. From there you can run any debug command required. The info is logged into a data messages file which can be pulled via web interface. One will discover ones problems most of the time on their own.



cgilmarlm
Posts: 7
Member Since:
2010-08-22
it works!!

funciona!!!
gracias solstice, MAnzurek.
luego enviare una configuracion mas aceptable.



cgilmarlm
Posts: 7
Member Since:
2010-08-22
video not stablished

hi,

such as enabling video calls and conference key.

Cayo.



cgilmarlm
Posts: 7
Member Since:
2010-08-22
this is configurated -- video failed

 <device>

  <deviceProtocol>SIP</deviceProtocol>
 
  <sshUserId>admin</sshUserId>
  <sshPassword>cisco</sshPassword>
 
  <devicePool>
<dateTimeSetting> 
<dateTemplate>D/M/Ya</dateTemplate> 
<timeZone>SA Pacific Standard Time</timeZone> 
<ntps> 
<ntp>
<name>172.20.1.3</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>172.20.1.3</processNodeName>
              </callManager>
           </member>
        </members>
     </callManagerGroup>
  </devicePool>
 
  <commonProfile>
     <phonePassword></phonePassword>
     <backgroundImageAccess>true</backgroundImageAccess>
     <callLogBlfEnabled>2</callLogBlfEnabled>
  </commonProfile>
 
  <loadInformation>sip9951.9-0-3</loadInformation>
 
  <vendorConfig>
     <disableSpeaker>false</disableSpeaker>
     <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
     <pcPort>0</pcPort>
     <settingsAccess>1</settingsAccess>
     <garp>0</garp>
     <voiceVlanAccess>0</voiceVlanAccess>
     <videoCapability>1</videoCapability>
     <autoSelectLineEnable>0</autoSelectLineEnable>
 
     <webAccess>0</webAccess>
     <spanToPCPort>1</spanToPCPort>
     <loggingDisplay>1</loggingDisplay>
     <loadServer></loadServer>
  </vendorConfig>
 
  <networkLocale>Spain</networkLocale> 
 
<networkLocaleInfo> 
<name>Spanish_Spain</name> 
<uid>64</uid> 
<version>1.0.0.0-1</version> 
</networkLocaleInfo> 
 
  <deviceSecurityMode>1</deviceSecurityMode>
 
  <authenticationURL></authenticationURL>
  <directoryURL></directoryURL>
  <idleURL></idleURL>
  <informationURL></informationURL>
  
  <messagesURL></messagesURL>
  <proxyServerURL></proxyServerURL>
  <servicesURL></servicesURL>
  <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
  <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
  <dscpForCm2Dvce>96</dscpForCm2Dvce>
 
  <transportLayerProtocol>4</transportLayerProtocol>
 
  <capfAuthMode>0</capfAuthMode>
  <capfList>
     <capf>
        <phonePort>3804</phonePort>
     </capf>
  </capfList>
 
  <certHash></certHash>
  <encrConfig>false</encrConfig>
  <sipProfile>
     <sipProxies>
        <backupProxy>USECALLMANAGER</backupProxy>
        <backupProxyPort>5060</backupProxyPort>
        <emergencyProxy>USECALLMANAGER</emergencyProxy>
        <emergencyProxyPort>5060</emergencyProxyPort>
        <outboundProxy></outboundProxy>
        <outboundProxyPort></outboundProxyPort>
        <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>none</preferredCodec>
     <dtmfAvtPayload>101</dtmfAvtPayload>
     <dtmfDbLevel>3</dtmfDbLevel>
     <dtmfOutofBand>avt</dtmfOutofBand>
     <alwaysUsePrimeLine>false</alwaysUsePrimeLine>
     <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
     <kpml>3</kpml>
     <natEnabled>false</natEnabled>
     <natAddress>172.20.1.3</natAddress>
 
     <stutterMsgWaiting>2</stutterMsgWaiting>
 
     <callStats>false</callStats>
     <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
     <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
 
 
     <startMediaPort>10000</startMediaPort>
     <stopMediaPort>20000</stopMediaPort>
     <voipControlPort>5060</voipControlPort>
     <dscpForAudio>184</dscpForAudio>
<dscpVideo>136</dscpVideo>
<dscpForTelepresence>128</dscpForTelepresence>
     <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<softKeyFile>softkey.xml</softKeyFile>
     <dialTemplate>dialplan.xml</dialTemplate>
     <phoneLabel>PRUEBAS</phoneLabel>
     <sipLines>
        <line button="1" lineIndex="1">
           <featureID>9</featureID>
           <featureLabel>CAYO</featureLabel>
           <name>100</name>
           <displayName>Cayito</displayName>
           <contact>100</contact>
           <proxy>USECALLMANAGER</proxy>
           <port>5060</port>
           <autoAnswer>
              <autoAnswerEnabled>2</autoAnswerEnabled>
           </autoAnswer>
           <callWaiting>3</callWaiting>
 
           <authName>100</authName>
           <authPassword>100</authPassword>
 
           <sharedLine>false</sharedLine>
           <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
           <messagesNumber>*97</messagesNumber>
           <ringSettingIdle>4</ringSettingIdle>
           <ringSettingActive>5</ringSettingActive>
 
           <forwardCallInfoDisplay>
              <callerName>true</callerName>
              <callerNumber>false</callerNumber>
              <redirectedNumber>false</redirectedNumber>
              <dialedNumber>true</dialedNumber>
           </forwardCallInfoDisplay>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
        </line>
<line  button="2">
<featureID>21</featureID>
<featureLabel>Eduardito</featureLabel>
<speedDialNumber>101</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
</sipLines>
  </sipProfile>
</device> 
 


solstice
Posts: 137
Member Since:
2006-06-02
video is a interesting

video is a interesting issue, as of Cisco callmanager 8.1 it doesn't even support it either.. there are some custom firmwares and patches on CM that are supposed to enable it.. but if you can make it happen there, its awesome!



federicom
Posts: 16
Member Since:
2008-06-24
BLF with cisco 9971

Hello, I've registered the phone with trixbox 2.8.
Anyone able to have BLF working with trixbox and or asterisk + cisco ip phone 9971?



solstice
Posts: 137
Member Since:
2006-06-02
federicom.. its fairly

federicom.. its fairly unstable .. It seems to take down the whole system enabling it with the 9971.



danscout
Posts: 2
Member Since:
2010-12-24
tcp/udp problem solved

solstice...

Thanks sooo much for your postings, it has helped me solved this issue connecting a 9951, that i have worked on for weeks.

I had a lot of problems getting it to connect with sip tcp, so i started looking into trying to connect it with udp.

I think i might actually have solved this :)

I changed your config line:


<transportLayerProtocol>4</transportLayerProtocol>

to 

<transportLayerProtocol>2</transportLayerProtocol>

and then it just connected and working.

Hope someone else will benefit from this.

Happy holidays to everyone :)

Danscout



danscout
Posts: 2
Member Since:
2010-12-24
tcp/udp problem solved

solstice...

Thanks sooo much for your postings, it has helped me solved this issue connecting a 9951, that i have worked on for weeks.

I had a lot of problems getting it to connect with sip tcp, so i started looking into trying to connect it with udp.

I think i might actually have solved this :)

I changed your config line:

transportLayerProtocol set for 4

to

transportLayerProtocol set for 2

and then it just connected and working.

Hope someone else will benefit from this.

Happy holidays to everyone :)

Danscout



solstice
Posts: 137
Member Since:
2006-06-02
Danscout.. Thanks for the

Danscout..
Thanks for the info.. will test this out as soon as possible here .. it may solve some of the stability issues around



jsree
Posts: 50
Member Since:
2006-12-25
XMLDefault.cnf.xml SEP081FF3622FB1.cnf.xml

Could you please share the XMLDefault.cnf.xml and SEP081ff3622FB1.cnf.Xml for Cisco 9951 or cisco 9971 sample files

Thanks in Advance

Jay



solstice
Posts: 137
Member Since:
2006-06-02
Jay: SEP file has already

Jay:
SEP file has already been shared.. it is the config file as first posted by me.. just change parameters to your match your mach and server addresses.
Your MAC from the file name you requested would be: 08:1F:F3:62:2F:B1
The xmldefault file is really easy to figure out.. since you are performing this for a 9951 or a 9971 you will have to add the details..
Please read through the voip-info.org on alot of the config files for cisco phones as to understand them better.

xmldefault

<Default>
  <callManagerGroup>
     <members>
        <member priority="0">
           <callManager>
              <ports>
                 <ethernetPhonePort>2000</ethernetPhonePort>
                 <mgcpPorts>
                    <listen>2427</listen>
                    <keepAlive>2428</keepAlive>
                 </mgcpPorts>
              </ports>
              <processNodeName></processNodeName>
           </callManager>
        </member>
     </members>
  </callManagerGroup>
  <loadInformation8 model="IP Phone 7940">P003-08-6-00</loadInformation8>
  <loadInformation7 model="IP Phone 7960">P003-08-11-00</loadInformation7>
  <loadInformation6 model="IP Phone 7970">SIP70.8-4-1SR1S</loadInformation6>
  <loadInformation5 model="IP Phone 9971">sip9971.9-0-2</loadInformation5>
  <loadInformation5 model="IP Phone 9951">sip9951.9-0-2</loadInformation5>
  <authenticationURL></authenticationURL>
  <directoryURL></directoryURL>
  <idleURL></idleURL>
  <informationURL></informationURL>
  <messagesURL></messagesURL>
  <servicesURL></servicesURL>
</Default>


jsree
Posts: 50
Member Since:
2006-12-25
Thanks for XMLdefault. But

Thanks for XMLdefault. But as per the tftp log it is picking the sip firmware.

Mar 12 16:09:45 trixbox1 atftpd[24686]: File /tftpboot/CTLSEP1C17D3408358.tlv not found
Mar 12 16:09:45 trixbox1 atftpd[24686]: Server thread exiting
Mar 12 16:09:45 trixbox1 atftpd[24686]: Serving SEP1C17D3408358.cnf.xml to 10.0.0.140:49152
Mar 12 16:09:45 trixbox1 atftpd[24686]: File /tftpboot/SEP1C17D3408358.cnf.xml not found
Mar 12 16:09:45 trixbox1 atftpd[24686]: Server thread exiting
Mar 12 16:09:46 trixbox1 atftpd[24686]: Serving XMLDefault.cnf.xml to 10.0.0.140:49152
Mar 12 16:09:46 trixbox1 atftpd[24686]: Server thread exiting
Mar 12 16:10:16 trixbox1 atftpd[24686]: Serving CTLSEP1C17D3408358.tlv to 10.0.0.140:49152
Mar 12 16:10:16 trixbox1 atftpd[24686]: File /tftpboot/CTLSEP1C17D3408358.tlv not found
Mar 12 16:10:16 trixbox1 atftpd[24686]: Server thread exiting
Mar 12 16:10:16 trixbox1 atftpd[24686]: Serving SEP1C17D3408358.cnf.xml to 10.0.0.140:49152
Mar 12 16:10:16 trixbox1 atftpd[24686]: File /tftpboot/SEP1C17D3408358.cnf.xml not found
Mar 12 16:10:16 trixbox1 atftpd[24686]: Server thread exiting
Mar 12 16:10:16 trixbox1 atftpd[24686]: Serving XMLDefault.cnf.xml to 10.0.0.140:49152
Mar 12 16:10:16 trixbox1 atftpd[24686]: Server thread exiting

Please let me know how to proceed futher



solstice
Posts: 137
Member Since:
2006-06-02
your firmware installed and

your firmware installed and matching? Again what i posted was just an example and you will have to match it to what you have.
Also you asked me for: SEP081ff3622FB1.cnf.Xml not SEP1C17D3408358.cnf.xml .. You have wrong MAC configured..

Please read the voip-info forums on cisco phones.



jsree
Posts: 50
Member Since:
2006-12-25
Ok it worked. and go

Ok it worked. and go regsitered too,



malu
Posts: 2
Member Since:
2011-04-20
Cisco 99XX serie video

Hi
I am currently experimenting with a Cisco 9951 and trix. I succeeded in using the phone in audio but when I try to establish a communication in video with linphone, I get a black video screen on the Cisco. videoCapability is well set to 1 in CNF file. When sniffing with wireshark I see that the video stream is well present toward the phone. In the phone call statistics I see that the phone is well receiving H264 stream. But the video screen is desperately black. Cisco reported a limitation saying that the video size must be Thanks in advance



solstice
Posts: 137
Member Since:
2006-06-02
malu, if you check the cisco

malu, if you check the cisco forums, video doesn't properly work on most call managers even. I have tried with full blown call managers here and it didn't play nice. The only way i was able to make it work was with a "Unreleased" firmware. Have never tried using this phone against trix, due to multiple factors (licenses, some compatibility issues with that firmware)
However you could check that all the video settings are correct in trix first and test it against a couple xlite clients first. Once it works with those, intercept the video stream from the phone.
It may be that it requires a special resolution setting for the stream which isn't documented.



seansimpson
Posts: 11
Member Since:
2010-04-25
...I'm baaaaaackkk

Hi Folks,

I've been out of this for over a year and now delving back into things. I decided to (literally) dust off the 9971 phone and baby trixbox CE appliance and try and finally get this thing working once and for all....

So I spent yesterday applying patches to the trix to get things in order and basic housekeeping stuff including (don't laugh) getting the localtime sorted out. Man who knew that Linux could be so complex, spent ages trying to figure out why my time kept showing EDT and it turns out my timezone files were corrupted. That's now all good.

I also managed to update the Cisco firmware (from a Windows based TFTP server) on the 9971 to the latest version, 9-2-1. However that's pretty much it.

I have created/edited the following:

1. edited SEP081FF3622FB1.cnf.xml with content to match the latest updates from solstice and danscout (transportLayerProtocol set for 2) above, but customised with my extension (300) and trix IP address 192.168.0.75

2. Created a DefaultFP.xml file and placed in /tftpboot

3. Edited the sip_general_custom.conf file via the trix GUI, to match what solstice has documented

4. Created XMLDefault.conf.xml and placed in /tftpboot

Using tail -f /var/log/atf* command I can see the TFTP requests from the phone to trix. I've also copied all the files from /tftpboot back to my windows based TFTP server for further more granular TFTP diagnostics. The log output shows that the following files are being requested and successfully sent to the phone:

SEP081FF3622FB1.cnf.xml
dialplan.xml
DefaultFP.xml

The following files are being requested by the 9971 but clearly are not present on the TFTP server (or /tftpboot when using the trix for that matter). I'm not sure if these have any bearing on things, but include here for completeness:

CTLSEP081FF3622FB1.tlv
ITLSEP081FF3622FB1.tlv
ITLFile.tlv
tzupdater.jar
English_United_States/gd-sip.jar
United_States/g4-tones.xml

Any clues what to try next???

Cheers
Sean



seansimpson
Posts: 11
Member Since:
2010-04-25
Eureka...its working!!!

I think I had a few incorrect parameters set in SEP081FF3622FB1.cnf.xml and also some other places. So it helped to just run through everything again after I had posted my latest missive.

The phone is now registered, showing "299" as an extension and has dial tone...and the wrong time set! but its still major progress as far as I'm concerned!!

Cheers

Sean



seansimpson
Posts: 11
Member Since:
2010-04-25
Cool!

Timezone now sorted - you just have to use the correct Cisco-specific time zone codes. See http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+7970+SIP

Extension properly configured, inbound and outbound calls all working correctly - pretty schoolboy stuff - must pay attention more and read the XML files properly!!

Thanks to solstice for all the sage advice and also thanks to cgilmarlm for the great SEP.cnf.xml file. Now using this as a basis for future changes.

Cheers

Sean



rustem_OTG
Posts: 1
Member Since:
2011-10-17
Help me. I've done all that

Help me. I've done all that is written in this forum, but my 9951 is not registered on asterisk
here's what I did... in sip_general_custom.conf
tcpenable=yes
tcpbindaddr=0.0.0.0
allowsubscribe=yes
notifyringing = yes
notifyhold = yes
notifycid = yes
callcounter = yes

in sip_custom_post.conf
[XXX](+)
transport=tcp,udp
But my cisco still not registered
Please HELP!!!



pwalsh110
Posts: 1
Member Since:
2011-12-06
Cisco 9951 config help

I have been fighting with these phones for a while now and I have them registering and making calls. Most buttons are not working and neither is the camera. In my searching, you guys seem to have the most experience but unfortunately the trixbox forum doesn't play nice with any of my browsers.

So please excuse the bad form but I managed to lodge a reply from this thread somehow and really wanted to learn more about what worked for you guys with the 99xx config. I'm not sure if there is another forum I could try or if you would be open to emailing me. Or perhaps just let me know if there is some trick this trixbox forum (no pun intended).

-Phillip
pwalsh110(at)gmail(dot)com



seansimpson
Posts: 11
Member Since:
2010-04-25
Hi, When I was trying to get

Hi,

When I was trying to get my camera working a little while ago, I posted some findings in the Cisco Support Forums. See: https://supportforums.cisco.com/message/3417096#3417096

If you update the "vendorConfig" section of the phone XML configuration file to correctly set the "powerNegotiation", "ciscoCamera" and "videoCapability" XML tags then your camera will start working. You may need to be a little patient after you change the settings and reboot it as the camera take a little time to get enabled the first time.

Very briefly what works (not an exhaustive list) on my phone is as follows:
1. All basic phone functions
2. Message Waiting Lamp / Presence Indication / Red Message Envelope on screen next to extension (although I had to patch chan_sip.c)
3. The camera (although video calls presently do not, see note below)
4. Wired headsets into the headset port

What doesn't work (not an exhaustive list):
1. Voicemail button (in lieu I have assigned an extension soft key to call my VM)
2. Directory button
3. Video calls, although I strongly suspect this is an Asterisk H.264 signalling issue as I'm still using TB v2.8.0.4 (Asterisk 1.6.0.26)

I'm about to kick of the process of migrating to PBX in a Flash 2.0 with Asterisk 10 as it has been pretty clear for a while now that TB CE is at a dead end developmentally.

Good luck!



matador
Posts: 2
Member Since:
2012-02-10
Missed Calls

Hello... I've read everything here and thanks for your support, following your instructions and also my experience, I've registered 9951 with asterisk and it works great...

There is only one issue, and please, if it's possible help me...

Well, phone works great, no any problems, only one problem is with missed calls... I can't see missed calls... when I'm connecting this phone with CUCM they are shown, but with asterisk - no...

Can you tell me where is the problem? I think there is problem with application URL but even if it's so, I can't figure it out...

Thanks in advance!!!

here is config:

<?xml version="1.0" encoding="UTF-8"?>
<device  xsi:type="axl:XIPPhone" ctiid="134" uuid="{636593f6-d2b5-66d9-f286-8b40ff805808}">
<fullConfig>true</fullConfig>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId></sshUserId>
<sshPassword></sshPassword>
<ipAddressMode>0</ipAddressMode>
<allowAutoConfig>true</allowAutoConfig>
<ipPreferenceModeControl>0</ipPreferenceModeControl>
<tzdata>
<tzolsonversion>2010o</tzolsonversion>
<tzupdater>tzupdater.jar</tzupdater>
</tzdata>
<featurePolicyFile>DefaultFP0000000000-c7a6c673-7479-46b0-839e-014d3d093963.xml</featurePolicyFile>
<devicePool  uuid="{1b1b9eb6-7803-11d3-bdf0-00108302ead1}">
<revertPriority>0</revertPriority>
<name>Default</name>
<dateTimeSetting  uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}">
<name>CMLocal</name>
<dateTemplate>M/D/Y</dateTemplate>
<timeZone>Greenwich Standard Time</timeZone>
<olsonTimeZone>Etc/GMT</olsonTimeZone>
</dateTimeSetting>
<callManagerGroup>
<name>Default</name>
<tftpDefault>true</tftpDefault>
<members>
<member  priority="0">
<callManager>
<name>XXX.XXX.XXX.XXX</name>
<description>cisco</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>XXX.XXX.XXX.XXX</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<srstInfo  uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">
<name>Disable</name>
<srstOption>Disable</srstOption>
<userModifiable>false</userModifiable>
<ipAddr1></ipAddr1>
<port1>2000</port1>
<ipAddr2></ipAddr2>
<port2>2000</port2>
<ipAddr3></ipAddr3>
<port3>2000</port3>
<sipIpAddr1></sipIpAddr1>
<sipPort1>5060</sipPort1>
<sipIpAddr2></sipIpAddr2>
<sipPort2>5060</sipPort2>
<sipIpAddr3></sipIpAddr3>
<sipPort3>5060</sipPort3>
<isSecure>false</isSecure>
</srstInfo>
<mlppDomainId>-1</mlppDomainId>
<mlppIndicationStatus>Off</mlppIndicationStatus>
<preemption>Disabled</preemption>
<connectionMonitorDuration>120</connectionMonitorDuration>
</devicePool>
<TVS>
<members>
<member  priority="0">
<port>2445</port>
<address>XXX.XXX.XXX.XXX</address>
</member>
</members>
</TVS>
<sipProfile>
<sipProxies>
<backupProxy>USECALLMANAGER</backupProxy>
<backupProxyPort>5060</backupProxyPort>
<emergencyProxy>USECALLMANAGER</emergencyProxy>
<emergencyProxyPort>5060</emergencyProxyPort>
<outboundProxy>USECALLMANAGER</outboundProxy>
<outboundProxyPort>5060</outboundProxyPort>
<registerWithProxy>true</registerWithProxy>
</sipProxies>
<sipCallFeatures>
<cnfJoinEnabled>true</cnfJoinEnabled>
<callForwardURI>x-cisco-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>
<retainForwardInformation>false</retainForwardInformation>
</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>true</remotePartyID>
<userInfo>None</userInfo>
</sipStack>
<autoAnswerTimer>1</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<preferredCodec>none</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<kpml>3</kpml>
<phoneLabel></phoneLabel>
<stutterMsgWaiting>2</stutterMsgWaiting>
<callStats>true</callStats>
<offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer>
<T302Timer>15000</T302Timer>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>true</disableLocalSpeedDialConfig>
<poundEndOfDial>false</poundEndOfDial>
<startMediaPort>16384</startMediaPort>
<stopMediaPort>32766</stopMediaPort>
<sipLines>
<line button="1" lineIndex="1">
<featureID>9</featureID>
<featureLabel></featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>5004</name>
<displayName>5004</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>

<authName>5004</authName>
<authPassword>500411</authPassword>


<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messageWaitingAMWI>0</messageWaitingAMWI>
<messagesNumber></messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>5004</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
</line>

</sipLines>
<externalNumberMask></externalNumberMask>
<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<dscpVideo>136</dscpVideo>
<dscpForTelepresence>128</dscpForTelepresence>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate></dialTemplate>
<softKeyFile>SK72f64050-7ad5-4b47-9bfa-5e9ad9cd4aa9.xml</softKeyFile>
<alwaysUsePrimeLine>true</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
</sipProfile>
<MissedCallLoggingOption>11</MissedCallLoggingOption>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<loadInformation>sip9951.9-2-2SR1-9</loadInformation>


<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<bluetooth>0</bluetooth>
<garp>1</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<spanToPCPort>1</spanToPCPort>
<loggingDisplay>0</loggingDisplay>
<recordingTone>0</recordingTone>
<recordingToneLocalVolume>100</recordingToneLocalVolume>
<recordingToneRemoteVolume>50</recordingToneRemoteVolume>
<recordingToneDuration></recordingToneDuration>
<displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
<logServer>10.1.5.85</logServer>
<g722CodecSupport>0</g722CodecSupport>
<headsetWidebandUIControl>0</headsetWidebandUIControl>
<headsetWidebandEnable>0</headsetWidebandEnable>
<lldpAssetId></lldpAssetId>
<powerPriority>0</powerPriority>
<detectCMConnectionFailure>0</detectCMConnectionFailure>
<sshAccess>0</sshAccess>
</vendorConfig>

<commonConfig>
</commonConfig>
<enterpriseConfig>
</enterpriseConfig>
<versionStamp>1327386933-656eca69-56d2-4882-a7ba-d395764d1846</versionStamp>
<addOnModules>
<addOnModule  uuid="{20334753-f7ce-c21c-85c9-c47825fc06b6}" idx="1">
<deviceType>CKEM</deviceType>
<deviceLine>36</deviceLine>
<loadInformation></loadInformation>
<phoneTemplateId>2f034efc-4752-46c3-ac2f-20f78f7dcfa8</phoneTemplateId>
</addOnModule>
</addOnModules>

<userLocale>
<name>English_United_States</name>
<uid>1</uid>
<langCode>en_US</langCode>
<version>8.5.0.0(1)</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>

<networkLocale>United_States</networkLocale>
<networkLocaleInfo>
<name>United_States</name>
<uid>64</uid>
<version>8.5.0.0(1)</version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<idleTimeout>0</idleTimeout>

<authenticationURL>http://XXX.XXX.XXX.XXX:8080/ccmcip/authenticate.jsp</authenticationURL>
<directoryURL>http://XXX.XXX.XXX.XXX:8080/ccmcip/xmldirectory.jsp</directoryURL>
<idleURL></idleURL>
<informationURL>http://XXX.XXX.XXX.XXX:8080/ccmcip/GetTelecasterHelpText.jsp</informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL>http://XXX.XXX.XXX.XXX:8080/ccmcip/getservicesmenu.jsp</servicesURL>
<secureAuthenticationURL>https://XXX.XXX.XXX.XXX:8443/ccmcip/authenticate.jsp</secureAuthenticationURL>
<secureDirectoryURL>https://XXX.XXX.XXX.XXX:8443/ccmcip/xmldirectory.jsp</secureDirectoryURL>
<secureIdleURL></secureIdleURL>
<secureInformationURL>https://XXX.XXX.XXX.XXX:8443/ccmcip/GetTelecasterHelpText.jsp</secureInformationURL>
<secureMessagesURL></secureMessagesURL>
<secureServicesURL>https://XXX.XXX.XXX.XXX:8443/ccmcip/getservicesmenu.jsp</secureServicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>4</transportLayerProtocol>
<dndCallAlert>2</dndCallAlert>
<phonePersonalization>0</phonePersonalization>
<rollover>0</rollover>
<singleButtonBarge>0</singleButtonBarge>
<joinAcrossLines>0</joinAcrossLines>
<autoCallPickupEnable>false</autoCallPickupEnable>
<blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
<blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
<capfAuthMode>0</capfAuthMode>
<capfList>
<capf>
<phonePort>3804</phonePort>
<processNodeName></processNodeName>
</capf>
</capfList>
<certHash></certHash>
<encrConfig>false</encrConfig>
<advertiseG722Codec>1</advertiseG722Codec>
<mobility>
<handoffdn></handoffdn>
<dtmfdn></dtmfdn>
<ivrdn></ivrdn>
<dtmfHoldCode>*81</dtmfHoldCode>
<dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
<dtmfResumeCode>*83</dtmfResumeCode>
<dtmfTxfCode>*84</dtmfTxfCode>
<dtmfCnfCode>*85</dtmfCnfCode>
</mobility>
<userId></userId>
<phoneServices  useHTTPS="true">
<provisioning>0</provisioning>
<phoneService  type="1" category="0">
<name>Missed Calls</name>
<url>Application:Cisco/MissedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="2" category="0">
<name>Voicemail</name>
<url>Application:cisco/Voicemail</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Received Calls</name>
<url>Application:cisco/ReceivedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Placed Calls</name>
<url>Application:cisco/PlacedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Personal Directory</name>
<url>Application:cisco/PersonalDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Corporate Directory</name>
<url>Application:cisco/CorporateDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
</phoneServices>
</device>


csmathers
Posts: 10
Member Since:
2006-09-05
Thank you

This post has help me greatly!!! Thank you for all the info!!! I still have a couple of minor issues I am trying to work out, if someone can help me that would be great!
1) Intercom/Paging not working: I have added seperate extension on freepbx and turn on intercom/paging. I have also added

<autoAnswer>
<autoAnswerEnabled>3</autoAnswerEnabled>
<autoAnswerMode>Auto Answer with Speakerphone</autoAnswerMode>
<autoAnswer>

2) I can't get the phone to display any other time zone other than GMT. I would like for it to display Eastern Standard Time.

3)I can't the feature plan to work either. I have added a feature plan but it does not seem to read it. Any help would be great!!!

Thanks

<?xml version="1.0" encoding="UTF-8"?>
<device  xsi:type="axl:XIPPhone" ctiid="7" uuid="{89b84111-68bf-4498-8233-d9935482e0f2}">
<fullConfig>true</fullConfig>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>admin</sshUserId>
<sshPassword>cisco</sshPassword>
<ipAddressMode>0</ipAddressMode>
<allowAutoConfig>true</allowAutoConfig>
<ipPreferenceModeControl>0</ipPreferenceModeControl>
<featurePolicyFile>DefaultFP.xml</featurePolicyFile>
<devicePool  uuid="{1b1b9eb6-7803-11d3-bdf0-00108302ead1}">
<revertPriority>0</revertPriority>
<name>Default</name>
<dateTimeSetting  uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}">
<name>CMLocal</name>
<dateTemplate>M/D/Y</dateTemplate>
<timeZone>Eastern Standard Time</timeZone>
</dateTimeSetting>
<callManagerGroup>
<name>Default</name>
<tftpDefault>true</tftpDefault>
<members>
<member  priority="0">
<callManager>
<name>CUCM</name>
<description>CUCM</description>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<sipPort>5060</sipPort>
<securedSipPort>5061</securedSipPort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>10.0.1.253</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<srstInfo  uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">
<name>Enable</name>
<srstOption>Enable</srstOption>
<userModifiable>true</userModifiable>
<ipAddr1>10.0.1.253</ipAddr1>
<port1>2000</port1>
<ipAddr2></ipAddr2>
<port2>2000</port2>
<ipAddr3></ipAddr3>
<port3>2000</port3>
<sipIpAddr1></sipIpAddr1>
<sipPort1>5060</sipPort1>
<sipIpAddr2></sipIpAddr2>
<sipPort2>5060</sipPort2>
<sipIpAddr3></sipIpAddr3>
<sipPort3>5060</sipPort3>
<isSecure>false</isSecure>
</srstInfo>
<mlppDomainId>-1</mlppDomainId>
<mlppIndicationStatus>Default</mlppIndicationStatus>
<preemption>Default</preemption>
<connectionMonitorDuration>120</connectionMonitorDuration>
</devicePool>
<TVS>
<members>
<member  priority="0">
<port>2445</port>
<address>10.0.1.253</address>
</member>
</members>
</TVS>
<sipProfile>
<sipProxies>
<backupProxy>USECALLMANAGER</backupProxy>
<backupProxyPort>5060</backupProxyPort>
<emergencyProxy>USECALLMANAGER</emergencyProxy>
<emergencyProxyPort>5060</emergencyProxyPort>
<outboundProxy>USECALLMANAGER</outboundProxy>
<outboundProxyPort>5060</outboundProxyPort>
<registerWithProxy>true</registerWithProxy>
</sipProxies>
<sipCallFeatures>
<cnfJoinEnabled>true</cnfJoinEnabled>
<callForwardURI>x-cisco-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>
<retainForwardInformation>false</retainForwardInformation>
</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>true</remotePartyID>
<userInfo>None</userInfo>
</sipStack>
<autoAnswerTimer>2</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>fasle</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<preferredCodec>none</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<kpml>3</kpml>
<phoneLabel>Eric Webb</phoneLabel>
<stutterMsgWaiting>0</stutterMsgWaiting>
<callStats>true</callStats>
<offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer>
<T302Timer>15000</T302Timer>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
<startMediaPort>16384</startMediaPort>
<stopMediaPort>32766</stopMediaPort>
<sipLines>
<line  button="1" lineIndex="1">
<featureID>9</featureID>
<featureLabel>Line 1</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>103</name>
<displayName>103</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
<autoAnswer>
<callWaiting>3</callWaiting>
<authName>103</authName>
<authPassword>password12</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messageWaitingAMWI>0</messageWaitingAMWI>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>200</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>true</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
</line>
<line  button="2" lineIndex="1">
<featureID>9</featureID>
<featureLabel>intercom</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>203</name>
<displayName>203</displayName>
<autoAnswer>
<autoAnswerEnabled>3</autoAnswerEnabled>
<autoAnswerMode>Auto Answer with Speakerphone</autoAnswerMode>
<autoAnswer>
<callWaiting>3</callWaiting>
<authName>203</authName>
<authPassword>password12</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messageWaitingAMWI>0</messageWaitingAMWI>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>5</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>200</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>true</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
</line>
<line  button="3">
<featureID>21</featureID>
<featureLabel>User2</featureLabel>
<speedDialNumber>204</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
 <line button="4">  
         <featureID>20</featureID>  
         <featureLabel>Menu</featureLabel>  
         <serviceURI>http://phone.icnventures.com/directory.xml</serviceURI>  
      </line>
<line  button="5">
<featureID>21</featureID>
<featureLabel>User5</featureLabel>
<speedDialNumber>204</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
<line  button="6">
<featureID>21</featureID>
<featureLabel>User6</featureLabel>
<speedDialNumber>204</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
<line  button="20">
<featureID>21</featureID>
<featureLabel>User20</featureLabel>
<speedDialNumber>204</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
<line  button="25">
<featureID>21</featureID>
<featureLabel>User25</featureLabel>
<speedDialNumber>204</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
<line  button="30">
<featureID>21</featureID>
<featureLabel>User40</featureLabel>
<speedDialNumber>204</speedDialNumber>
<featureOptionMask>0</featureOptionMask>
</line>
</sipLines>
<externalNumberMask></externalNumberMask>
<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<dscpVideo>136</dscpVideo>
<dscpForTelepresence>128</dscpForTelepresence>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate>dialplan.xml</dialTemplate>
<softKeyFile>softkey.xml</softKeyFile>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
</sipProfile>
<MissedCallLoggingOption>1000</MissedCallLoggingOption>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<loadInformation>sip9971.9-2-3-27</loadInformation>

<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<sdio>1</sdio>
<garp>1</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<webAccess>0</webAccess>
<sshAccess>0</sshAccess>
<spanToPCPort>1</spanToPCPort>
<loggingDisplay>0</loggingDisplay>
<recordingTone>0</recordingTone>
<recordingToneLocalVolume>100</recordingToneLocalVolume>
<recordingToneRemoteVolume>50</recordingToneRemoteVolume>
<recordingToneDuration></recordingToneDuration>
<displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
<logServer></logServer>
<g722CodecSupport>0</g722CodecSupport>
<headsetWidebandUIControl>0</headsetWidebandUIControl>
<headsetWidebandEnable>0</headsetWidebandEnable>
<lldpAssetId></lldpAssetId>
<powerPriority>0</powerPriority>
<detectCMConnectionFailure>0</detectCMConnectionFailure>
</vendorConfig>

<commonConfig>
</commonConfig>
<enterpriseConfig>
</enterpriseConfig>
<versionStamp>1280870288-91f38f2d-7fff-4a42-87cd-76f9b4a802fc</versionStamp>
<userLocale>
<name>English_United_States</name>
<uid>1</uid>
<langCode>en_US</langCode>
<version>8.0.0.1(4)</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>
<networkLocale>United_States</networkLocale>
<networkLocaleInfo>
<name>United_States</name>
<uid>64</uid>
<version>8.0.0.1(4)</version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<idleTimeout>0</idleTimeout>
<authenticationURL>http://CUCM:8080/ccmcip/authenticate.jsp</authenticationURL>
<directoryURL>http://CUCM:8080/ccmcip/xmldirectory.jsp</directoryURL>
<idleURL>http://phone.icnventures.com/logo.bmp</idleURL>
<logoURL>http://phone.icnventures.com/logo.jpg</logoURL>
<informationURL>http://CUCM:8080/ccmcip/GetTelecasterHelpText.jsp</informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL>http://CUCM:8080/ccmcip/getservicesmenu.jsp</servicesURL>
<secureAuthenticationURL>https://CUCM:8443/ccmcip/authenticate.jsp</secureAuthenticationURL>
<secureDirectoryURL>https://CUCM:8443/ccmcip/xmldirectory.jsp</secureDirectoryURL>
<secureIdleURL></secureIdleURL>
<secureInformationURL>https://CUCM:8443/ccmcip/GetTelecasterHelpText.jsp</secureInformationURL>
<secureMessagesURL></secureMessagesURL>
<secureServicesURL>https://CUCM:8443/ccmcip/getservicesmenu.jsp</secureServicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>4</transportLayerProtocol>
<dndCallAlert>5</dndCallAlert>
<phonePersonalization>1</phonePersonalization>
<rollover>0</rollover>
<singleButtonBarge>0</singleButtonBarge>
<joinAcrossLines>0</joinAcrossLines>
<autoCallPickupEnable>false</autoCallPickupEnable>
<blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
<blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
<capfAuthMode>0</capfAuthMode>
<capfList>
<capf>
<phonePort>3804</phonePort>
<processNodeName>CUCM</processNodeName>
</capf>
</capfList>
<certHash></certHash>
<encrConfig>false</encrConfig>
<advertiseG722Codec>1</advertiseG722Codec>
<mobility>
<handoffdn></handoffdn>
<dtmfdn></dtmfdn>
<ivrdn></ivrdn>
<dtmfHoldCode>*81</dtmfHoldCode>
<dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
<dtmfResumeCode>*83</dtmfResumeCode>
<dtmfTxfCode>*84</dtmfTxfCode>
<dtmfCnfCode>*85</dtmfCnfCode>
</mobility>
<userId>299</userId>
<phoneServices  useHTTPS="true">
<provisioning>2</provisioning>
<phoneService  type="1" category="0">
<name>Missed Calls</name>
<url>Application:Cisco/MissedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="2" category="0">
<name>Voicemail</name>
<url>Application:Cisco/Voicemail</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Received Calls</name>
<url>Application:Cisco/ReceivedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Placed Calls</name>
<url>Application:Cisco/PlacedCalls</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Personal Directory</name>
<url>Application:Cisco/PersonalDirectory</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Corporate Directory</name>
<url>http://phone.icnventures.com/directory.xml</url>
<vendor></vendor>
<version></version>
</phoneService>
<phoneService  type="1" category="0">
<name>Personal Directory 2</name>
<url>http://phone.icnventures.com/phone.xml</url>
<vendor></vendor>
<version></version>
</phoneService>
</phoneServices>
</device>


matador
Posts: 2
Member Since:
2012-02-10
time zones
Quote:
2) I can't get the phone to display any other time zone other than GMT. I would like for it to display Eastern Standard Time.

Here you can find your time zone:

1 Dateline Standard Time -720
2 Samoa Standard Time -660
3 Hawaiian Standard Time -600
4 Alaskan Standard/Daylight Time -540
5 Pacific Standard/Daylight Time -480
6 Mountain Standard/Daylight Time -420
7 US Mountain Standard Time -420
8 Central Standard/Daylight Time -360
9 Mexico Standard/Daylight Time -360
10 Canada Central Standard Time -360
11 SA Pacific Standard Time -300
12 Eastern Standard/Daylight Time -300
13 US Eastern Standard Time -300
14 Atlantic Standard/Daylight Time -240
15 SA Western Standard Time -240
16 Newfoundland Standard/Daylight Time -210
17 South America Standard/Daylight Time -180
18 SA Eastern Standard Time -180
19 Mid-Atlantic Standard/Daylight Time -120
20 Azores Standard/Daylight Time -60
21 GMT Standard/Daylight Time +0
22 Greenwich Standard Time +0
23 W. Europe Standard/Daylight Time +60
24 GTB Standard/Daylight Time +60
25 Egypt Standard/Daylight Time +60
26 E. Europe Standard/Daylight Time +60
27 Romance Standard/Daylight Time +120
28 Central Europe Standard/Daylight Time +120
29 South Africa Standard Time +120
30 Jerusalem Standard/Daylight Time +120
31 Saudi Arabia Standard Time +180
32 Russian Standard/Daylight Time +180
33 Iran Standard/Daylight Time +210
34 Caucasus Standard/Daylight Time +240
35 Arabian Standard Time +240
36 Afghanistan Standard Time +270
37 West Asia Standard Time +300
38 Ekaterinburg Standard Time +300
39 India Standard Time +330
40 Central Asia Standard Time +360
41 SE Asia Standard Time +420
42 China Standard/Daylight Time +480
43 Taipei Standard Time +480
44 Tokyo Standard Time +540
45 Cen. Australia Standard/Daylight Time +570
46 AUS Central Standard Time +570
47 E. Australia Standard Time +600
48 AUS Eastern Standard/Daylight Time +600
49 West Pacific Standard Time +600
50 Tasmania Standard/Daylight Time +600
51 Central Pacific Standard Time +660
52 Fiji Standard Time +720
53 New Zealand Standard/Daylight Time +720

http://forums.whirlpool.net.au/archive/1161752

Quote:
Eastern Standard Time

Write here you desired time zone and done...



seansimpson
Posts: 11
Member Since:
2010-04-25
All working!!!

....Well just about all working. That's almost 2 years now since I started this thread! Hahaha

Further to my last post, I now have working (using Asterisk 1.8.7.0 (patched) and FreePBX 2.9.0.10) the following major phone features:

- 2-way Video (Cisco to Cisco and Cisco to 3rd party H.264 enabled endpoints)
- MWI
- Call Forward All soft-key
- Directories under the Directory feature button
- Voicemail access (including visual voicemail) from the Messages feature button
- Call History lists (missed, placed, received calls) with BLF
- BLF/Presence enabled on programmable feature keys for speed-dials and also call lists
- DND toggle programmed on line key with 'Cisco' DND animation
- SIP NOTIFY for reset and restart of Cisco phones

Thanks again to all those folks here originally who helped me so much when I was using TB!

Over at the FPBX forums, SkykingOH kindly suggested that I share my Cisco XML phone config file implementation on my FreePBX setup. So here is my (somewhat anonymised) Cisco 9971 phone configuration file, together with some configuration tips. I have a lot of people from all over the net to thank for getting me this far. There are still some phone features which don't work (Conference key for example), but by and large the main phone functions are working very well.

My setup consists of

  1. Cisco 9971 phones running 9.2.3-27 firmware, with attached CUVC camera
  2. Soft-phones (a mixture of Vippie Video with H.264 support on iPhone and X-Lite 4 on OS X)
  3. FreePBX 2.9.0.10 with Asterisk 1.8.7.0 with
    1. Asterisk patch Presence Subscription on Cisco Phones as listed on JIRA
    2. Asterisk patch video format 'negotiation' as published in the Asterisk-Video mailing list from Artem Makhutov
  4. Linksys SPA3102-UK analogue voice gateway for terminating PSTN circuit (FXO) and analogue extension (FXS)
  5. Dialectic v1.84 dialler integration on OS X

Please note the following (hopefully I'm not telling you how to 'suck eggs' too much here):

  1. Some Basic Stuff
    1. Timezone and NTP values. My timezone is set to "GMT Standard/Daylight Time" and my date format "D/M/Ya" set accordingly to my regional preference. The values entered here must conform to the Cisco preferred values for timezones. Change the NTP server IP or DNS name to your preferred.
    2. My asterisk server IP address is 192.168.0.70 - change this to reflect your server IP address.
    3. <loadInformation> tag is set to reflect the firmware versions on my phone, alter yours to suit.
    4. <featurePolicyFile> should be set to reflect the name of the Feature Policy file as installed in your /tftpboot directory. The 89xx and 99xx series of phones apparently no longer uses the soft keys.xml configuration method (although I actually have one listed/installed as a hangover from a previous setup)
    5. Labels for the phone and lines labels, secrets for SIP lines etc to be changed from my dummy values.
  2. Phone Display Activation
    See <daysDisplayNotActive> I've set the phone display to be blacked out on all days, until the phone is used, then remains on for 1 hour; therefore all days Sunday (1) through Saturday (7) are listed here. Note this overrides the settings in <displayOnTime> and <displayOnDuration>.
  3. BLF and Presence Functionality
    1. To enable BLF/presence to function correctly you will need to apply Asterisk patch Presence Subscription on Cisco Phones as listed on JIRA.
    2. Update the cisco phone extension entries in sip_custom_post.conf to include SIP functionality in the presence patch and video patch (more on that below). e.g. for extension 100 include an entry such as:
      [100](+)
      ciscounified=yes
      dndbusy=yes
      video_fmtp=profile-level-id=42801E\;packetization-mode=0\;level-asymmetry-allowed=1
      video_btias=1000000
      video_imageattr=recv [x=640,y=480,q=0.50]
      

      (Please Note: If you have a mixed estate of Cisco and non-Cisco devices it is much better to include these additional SIP settings only for the Cisco endpoints (in the manner above) rather than for the entire SIP estate. I had previously written here that the additional SIP setting can be added via the FreePBX 2.9 GUI under Asterisk SIP settings -> Other SIP settings. This would constitute a global SIP configuration change and is fine if your endpoints are 100% Cisco but if you have a mixture of different endpoints then you will likely get strange error messages in your Asterisk CLI/logs or other strange consequences)

    3. <timerRegisterExpires> If you have particularly busy/intensive phone users I've heard that setting this value to 900 will help from keep the phone from losing the ability to display BLF status after a few weeks. I've not personally had reason to change mine from the default. See Asterisk patch Presence Subscription on Cisco Phones.
  4. SIP Lines
    See section <sipLines>
    1. Ordinary Lines - this configuration file reflects a phone setup with 2 ordinary lines, per <featureID>9</featureID>. The first line is a "normal" line and the second line is an "intercom" line which is set to auto answer.
    2. Speed Dials - the remaining 4 line keys are configured as speed dials, per <featureID>21</featureID>. Where presence indication is desired set <featureOptionMask>1</featureOptionMask> for the speed dial entry.
    3. Setting preferred line - as I wanted the phone to default to the first "normal' line when the phone was taken off hook I set <alwaysUsePrimeLine>true</alwaysUsePrimeLine> and <alwaysUsePrimeLineVoiceMail>true</alwaysUsePrimeLineVoiceMail>
  5. Voicemail
    My VM number is defined within the lines section under <messagesNumber>1000</messagesNumber>. I have a customised dial plan using '1000' to dial into VoiceMailMain, but of course you can use the usual *97 or *98 here or whatever you prefer to dial your voicemail.
  6. Video and Camera Capability
    1. My 9971 phones have cameras installed hence you will need the tags <ciscoCamera> and <videoCapability> as set out variously below.
    2. If you are using your phone with Power over Ethernet supplied by a non-Cisco switch then you will also need to set <powerNegotiation>0</powerNegotiation> so that the phone can extract the full per port PoE power from the ethernet port on the non-cisco switch, otherwise the camera will fail to initialise due to lack of power. This could also be overcome by using a Cisco power brick to power the phone.
    3. To enable two-way H.264 based video calls you will also need to apply the Asterisk patch as published ion the Asterisk-Video mailing list from Artem Makhutov.
  7. Call Lists Application (native)
    To enable the built in Cisco application for missed/received/placed calls refer to the code under tags <phoneServices>. Once you have the presence patch applied BLF for call lists can be applied by <callLogBlfEnabled>3</callLogBlfEnabled> under the commonProfile section
  8. Other Applications
    I have added apps in the <phoneServices> section for some existing external Cisco XML services like Berbee, some XML directory demos as well as my own custom PHP-based voicemail application (which I'm not allowed to call by its more commonly know name) residing on my asterisk server.
    1. Application Menu. I have set the external Berbee and 'Australian Services' XML apps in the "Application" menu of the phone, accessed by the dedicated Application feature button and set by tag <phoneService type="0" category="0">
    2. Contacts Menu. To set up apps accessed by the dedicated "Contacts" button set the appropriate phone service using <phoneService type="1" category="0">. I've currently got placeholder (external) XML directory apps there
    3. Messages Menu. Finally apps included in the "Messages" menu accessed by corresponding dedicated button are set using <phoneService type="2" category="0">. The native voicemail app is here (just need to set your <messagesNumber> accordingly for one-touch access to voicemail. I've also added my custom voicemail app here so when I press the "Messages" button I get a small menu allowing me either (1) dial voicemail or (2) access my custom voicemail app
  9. Call Forward All
    This can be enabled by setting the following in extension_custom.conf. Note the presence patch noted above must be applied.
    [from-internal-custom]
    ; Strip the x-cisco-serviceuri- prefix
    exten => _[x]-cisco-serviceuri-.,1,Goto(${EXTEN:19},1)
    
    ; Enable forwarding
    exten => _cfwdall-.,1,Answer
    same => next,Set(SIPPEER(${CHANNEL(peername)},callforward)=${EXTEN:8})
    same => next,Hangup(normal_clearing)
    
    ; Disable forwarding
    exten => cfwdall,1,Answer
    same => next,Set(SIPPEER(${CHANNEL(peername)},callforward)=)
    same => next,Hangup(normal_clearing)
    
  10. Do Not Disturb
    The following will enable a customised DND toggle feature, along the lines of the default *76 feature code, but updated to use the 'DONOTDISTURB' device state available once the Presence Subscription on Cisco Phones patch has been applied. The benefit is that the Cisco DND animations will be displayed for other subscribers to the extension hint, also the line button assigned for DND on the phone will glow red and also show the DND animation.
    1. firstly enable "Enable Custom Device States" under "Advanced Settings" in FPBX
    2. In extensions_custom.conf create a customised dnd-toggle app. In the example below I've used 760 as my assigned extension to call app-dnd-toggle-custom.
      [app-dnd-toggle-custom]
      ; Custom DND Toggle using Cisco DoNotDisturb state
      exten => 760,1,Answer
      exten => 760,n,Wait(1)
      exten => 760,n,Macro(user-callerid,)
      exten => 760,n,GotoIf($["${DB(DND/${AMPUSER})}" = ""]?activate:deactivate)
      exten => 760,n(activate),Set(DB(DND/${AMPUSER})=YES)
      exten => 760,n,Set(STATE=DONOTDISTURB)
      exten => 760,n,Gosub(app-dnd-toggle-custom,sstate,1)
      exten => 760,n(hook_on),Playback(do-not-disturb&activated)
      exten => 760,n,Macro(hangupcall,)
      exten => 760,n(deactivate),Noop(Deleting: DND/${AMPUSER} ${DB_DELETE(DND/${AMPUSER})})
      exten => 760,n,Set(STATE=NOT_INUSE)
      exten => 760,n,Gosub(app-dnd-toggle-custom,sstate,1)
      exten => 760,n(hook_off),Playback(do-not-disturb&de-activated)
      exten => 760,n,Macro(hangupcall,)
      exten => sstate,1,Set(DEVICE_STATE(Custom:DND${AMPUSER})=${STATE})
      exten => sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})
      exten => sstate,n,GotoIf($["${DEVICES}" = "" ]?return)
      exten => sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&)})
      exten => sstate,n,Set(ITER=1)
      exten => sstate,n(begin),Set(DEVICE_STATE(Custom:DEVDND${CUT(DEVICES,&,${ITER})})=${STATE})
      exten => sstate,n,Set(ITER=$[${ITER} + 1])
      exten => sstate,n,GotoIf($[${ITER} <= ${LOOPCNT}]?begin)
      exten => sstate,n(return),Return()
      
    3. In the dialplan create extensions (in this example 760100 and 760120 for extensions 100 and 120 respectively) which are to be assigned to the line keys on the relevant phones.
      [ext-dnd-hints-custom]
      exten => 760100,1,Goto(app-dnd-toggle-custom,760,1)
      exten => 760100,hint,Custom:DND100
      exten => 760120,1,Goto(app-dnd-toggle-custom,760,1)
      exten => 760120,hint,Custom:DND120
      
    4. On the phone assign set up a speed dial on the desired 'DND' line key (for the first phone this would be 760100) which calls app-dnd-toggle-custom. This also enables the line key to subscribes to the relevant DND hint for extension 100. As such when DND is activated by pressing the line key the usual audible confirmation is heard, the line key then lights up and the DND animation is displayed. Ditto when the key is pressed again to toggle DND off.
    5. Finally don't forget to set <featureOptionMask>1</featureOptionMask> against the relevant line key otherwise it will not subscribe to the DND hint.
  11. SIP NOTIFY for reset and restart of Cisco phones
    Although it is possible to write a php or perl script (see my recent post) to remotely restart or reset Cisco 89xx and 99xx phones, by far the simplest and quickest method is to use the SIP NOTIFY command. By applying the patch, it is possible to use the following commands from the Asterisk CLI to restart (reloads line keys, dial-plan and soft keys) or reset phones:

    CLI> sip notify cisco-restart ${PEERNAME}
    CLI> sip notify cisco-reset ${PEERNAME}

    Also I've just noticed (although it was probably there all along) that the MWI indicator can be manually cleared using the following command:

    CLI> sip notify clear-mwi ${PEERNAME}

    The following variables and functions should be included in sip_notify_custom.conf settings:

    [clear-mwi]
    Event=>message-summary
    Content-type=>application/simple-message-summary
    Content=>Messages-Waiting: no
    Content=>Message-Account: sip:asterisk@127.0.0.1
    Content=>Voice-Message: 0/0 (0/0)
    Content=>
    
    ; Cisco
    
    [cisco-restart]
    Event=>service-control
    Subscription-State=>active
    Content-Type=>text/plain
    Content=>action=restart
    Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}}
    Content=>ConfigVersionStamp={0000000000000000}
    Content=>DialplanVersionStamp={0000000000000000}
    Content=>SoftkeyVersionStamp={0000000000000000}
    
    [cisco-reset]
    Event=>service-control
    Subscription-State=>active
    Content-Type=>text/plain
    Content=>action=reset
    Content=>RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}}
    Content=>ConfigVersionStamp={0000000000000000}
    Content=>DialplanVersionStamp={0000000000000000}
    Content=>SoftkeyVersionStamp={0000000000000000}
    

Extract from SEPmac_address.cnf.xml

<?xml version="1.0" encoding="UTF-8"?>
<device>
<deviceProtocol>SIP</deviceProtocol>
 
  <sshUserId>admin</sshUserId>
  <sshPassword>cisco</sshPassword>
 
  <devicePool>
		<dateTimeSetting> 
			<dateTemplate>D/M/Ya</dateTemplate> 
			<timeZone>GMT Standard/Daylight Time</timeZone> 
			<ntps> 
				<ntp>
					<name>130.88.203.12</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.0.70</processNodeName>
              </callManager>
           </member>
        </members>
     </callManagerGroup>
  </devicePool>
 
  <commonProfile>
     <phonePassword></phonePassword>
     <backgroundImageAccess>true</backgroundImageAccess>
     <callLogBlfEnabled>3</callLogBlfEnabled>
  </commonProfile>
 
  <loadInformation>sip9971.9-2-3-27</loadInformation>
  <featurePolicyFile>DefaultFP.xml</featurePolicyFile>
 
  <vendorConfig>
     <disableSpeaker>false</disableSpeaker>
     <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
     <pcPort>0</pcPort>
     <settingsAccess>1</settingsAccess>
     <garp>0</garp>
     <voiceVlanAccess>0</voiceVlanAccess>
     <ciscoCamera>1</ciscoCamera>
     <videoCapability>1</videoCapability>
     <usbClasses>0,1,2</usbClasses>
     <sdio>1</sdio>
     <wifi>0</wifi>
     <bluetoothProfile>0,1</bluetoothProfile>
     <powerNegotiation>0</powerNegotiation>
     <autoSelectLineEnable>0</autoSelectLineEnable> 
     <webAccess>0</webAccess>
     <sshAccess>0</sshAccess>
     <g722CodecSupport></g722CodecSupport>
     <daysDisplayNotActive>1,2,3,4,5,6,7</daysDisplayNotActive>
     <displayOnTime>08:30</displayOnTime>
     <displayOnDuration>09:30</displayOnDuration>
     <displayIdleTimeout>01:00</displayIdleTimeout>
     <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
     <spanToPCPort>1</spanToPCPort>
     <loggingDisplay>1</loggingDisplay>
     <loadServer></loadServer>
  </vendorConfig>

  <commonConfig>
     <usb1>1</usb1>
     <usb2>1</usb2>
     <ciscoCamera>1</ciscoCamera>
     <usbClasses>0,1,2</usbClasses>
     <sdio>1</sdio>
     <bluetooth>1</bluetooth>
     <wifi>1</wifi>
     <bluetoothProfile>0,1</bluetoothProfile>
     <joinAndDirectTransferPolicy>0</joinAndDirectTransferPolicy>
  </commonConfig>

  <enterpriseConfig>
     <usb1>1</usb1>
     <usb2>1</usb2>
     <ciscoCamera>1</ciscoCamera>
     <usbClasses>0,1,2</usbClasses>
     <sdio>1</sdio>
     <bluetooth>1</bluetooth>
     <wifi>1</wifi>
     <bluetoothProfile>0,1</bluetoothProfile>
     <joinAndDirectTransferPolicy>0</joinAndDirectTransferPolicy>
     <videoCapability>1</videoCapability>
     <webAccess>0</webAccess>
     <eapAuthentication>2</eapAuthentication>
     <webProtocol>0</webProtocol>
  </enterpriseConfig>
 
  <advertiseG722Codec></advertiseG722Codec>

  <networkLocale>United_Kingdom</networkLocale> 
 
	<networkLocaleInfo> 
		<name>English_United_Kingdom</name> 
		<uid>64</uid> 
		<version>1.0.0.0-1</version> 
	</networkLocaleInfo> 
 
  <deviceSecurityMode>1</deviceSecurityMode>
 
  <idleTimeout>0</idleTimeout>
  <authenticationURL></authenticationURL>
  <directoryURL></directoryURL>
  <idleURL></idleURL>
  <informationURL></informationURL>
  <messagesNumber></messagesNumber>  
  <messagesURL></messagesURL>
  <proxyServerURL></proxyServerURL>
  <servicesURL></servicesURL>
  <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
  <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
  <dscpForCm2Dvce>96</dscpForCm2Dvce>
 
  <transportLayerProtocol>2</transportLayerProtocol>
  <dndCallAlert>5</dndCallAlert>
  <phonePersonalization>1</phonePersonalization>
  <rollover>0</rollover>
  <singleButtonBarge>0</singleButtonBarge>
  <joinAcrossLines>1</joinAcrossLines>
  <autoCallPickupEnable>false</autoCallPickupEnable>
  <blfAudibleAlertSettingOfIdleStation>0</blfAudibleAlertSettingOfIdleStation>
  <blfAudibleAlertSettingOfBusyStation>0</blfAudibleAlertSettingOfBusyStation>
 
  <capfAuthMode>0</capfAuthMode>
  <capfList>
     <capf>
        <phonePort>3804</phonePort>
     </capf>
  </capfList>
 
  <certHash></certHash>
  <encrConfig>false</encrConfig>
  <sipProfile>
     <sipProxies>
        <backupProxy>USECALLMANAGER</backupProxy>
        <backupProxyPort>5060</backupProxyPort>
        <emergencyProxy>USECALLMANAGER</emergencyProxy>
        <emergencyProxyPort>5060</emergencyProxyPort>
        <outboundProxy></outboundProxy>
        <outboundProxyPort></outboundProxyPort>
        <registerWithProxy>true</registerWithProxy>
     </sipProxies>
 
     <sipCallFeatures>
        <cnfJoinEnabled>true</cnfJoinEnabled>
        <callForwardURI>x-cisco-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>
	<retainForwardInformation>true</retainForwardInformation>
     </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>0</autoAnswerTimer>
     <autoAnswerAltBehavior>false</autoAnswerAltBehavior>
     <autoAnswerOverride>true</autoAnswerOverride>
     <transferOnhookEnabled>false</transferOnhookEnabled>
     <enableVad>false</enableVad>
     <preferredCodec>none</preferredCodec>
     <dtmfAvtPayload>101</dtmfAvtPayload>
     <dtmfDbLevel>3</dtmfDbLevel>
     <dtmfOutofBand>avt</dtmfOutofBand>
     <alwaysUsePrimeLine>true</alwaysUsePrimeLine>
     <alwaysUsePrimeLineVoiceMail>true</alwaysUsePrimeLineVoiceMail>
     <kpml>3</kpml>
     <natEnabled>false</natEnabled>
     <natAddress>192.168.0.70</natAddress>
 
     <stutterMsgWaiting>2</stutterMsgWaiting>
 
     <callStats>false</callStats>
     <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
     <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
 
 
     <startMediaPort>10000</startMediaPort>
     <stopMediaPort>20000</stopMediaPort>
     <voipControlPort>5060</voipControlPort>
     <dscpForAudio>184</dscpForAudio>
	 <dscpVideo>136</dscpVideo>
	 <dscpForTelepresence>128</dscpForTelepresence>
     <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
	 <softKeyFile>softkey.xml</softKeyFile>
     <dialTemplate>dialplan.xml</dialTemplate>
     <phoneLabel>Your_Label_Here</phoneLabel>
     <sipLines>
        <line button="1" lineIndex="1">
           <featureID>9</featureID>
           <featureLabel>Sean 100</featureLabel>
           <name>100</name>
           <displayName>Study</displayName>
           <contact>100</contact>
           <proxy>USECALLMANAGER</proxy>
           <port>5060</port>
           <autoAnswer>
              <autoAnswerEnabled>2</autoAnswerEnabled>
           </autoAnswer>
           <callWaiting>3</callWaiting>
 
           <authName>100</authName>
           <authPassword>your_secret_here</authPassword>
 
           <sharedLine>false</sharedLine>
           <messageWaitingLampPolicy>3</messageWaitingLampPolicy>
	   <messageWaitingAMWI>1</messageWaitingAMWI>
           <messagesNumber>1000</messagesNumber>
           <ringSettingIdle>4</ringSettingIdle>
           <ringSettingActive>5</ringSettingActive>
 
           <forwardCallInfoDisplay>
              <callerName>true</callerName>
              <callerNumber>false</callerNumber>
              <redirectedNumber>false</redirectedNumber>
              <dialedNumber>true</dialedNumber>
           </forwardCallInfoDisplay>
			<maxNumCalls>4</maxNumCalls>
			<busyTrigger>2</busyTrigger>
        </line>
        <line button="2" lineIndex="2">
           <featureID>9</featureID>
           <featureLabel>Intercom</featureLabel>
           <name>101</name>
           <displayName></displayName>
           <contact>101</contact>
           <proxy>USECALLMANAGER</proxy>
           <port>5060</port>
           <autoAnswer>
              <autoAnswerEnabled>3</autoAnswerEnabled>
           </autoAnswer>
           <callWaiting>3</callWaiting>

           <authName>101</authName>
           <authPassword>your_secret_here</authPassword>

           <sharedLine>false</sharedLine>
           <messageWaitingLampPolicy>1</messageWaitingLampPolicy>
           <messagesNumber></messagesNumber>
           <ringSettingIdle>4</ringSettingIdle>
           <ringSettingActive>5</ringSettingActive>

           <forwardCallInfoDisplay>
              <callerName>true</callerName>
              <callerNumber>false</callerNumber>
              <redirectedNumber>false</redirectedNumber>
              <dialedNumber>true</dialedNumber>
           </forwardCallInfoDisplay>
                        <maxNumCalls>4</maxNumCalls>
                        <busyTrigger>2</busyTrigger>
        </line>
		<line  button="3">
			<featureID>21</featureID>
			<featureLabel>Annette</featureLabel>
			<speedDialNumber>110</speedDialNumber>
			<featureOptionMask>1</featureOptionMask>
		</line>
                <line  button="4">
                        <featureID>21</featureID>
                        <featureLabel>Bedroom</featureLabel>
                        <speedDialNumber>120</speedDialNumber>
                        <featureOptionMask>1</featureOptionMask>
                </line>
		<line  button="5">
                        <featureID>21</featureID>
                        <featureLabel>DECTphone</featureLabel>
                        <speedDialNumber>130</speedDialNumber>
                        <featureOptionMask>1</featureOptionMask>
                </line>
		<line  button="6">
                        <featureID>21</featureID>
                        <featureLabel>DND</featureLabel>
                        <speedDialNumber>760100</speedDialNumber>
                        <featureOptionMask>1</featureOptionMask>
                </line>
	</sipLines>
  </sipProfile>

  <phoneServices>
     <provisioning>0</provisioning>
     	<phoneService  type="1" category="0">
     		<name>Missed Calls</name>
     		<url>Application:Cisco/MissedCalls</url>
        	<vendor></vendor>
     		<version></version>
     	</phoneService>
	<phoneService  type="2" category="0">
		<name>Voicemail</name>
		<url>Application:Cisco/Voicemail</url>
		<vendor></vendor>
		<version></version>
	</phoneService>
	<phoneService  type="1" category="0">
		<name>Received Calls</name>
		<url>Application:Cisco/ReceivedCalls</url>
		<vendor></vendor>
		<version></version>
	</phoneService>
	<phoneService  type="1" category="0">
		<name>Placed Calls</name>
		<url>Application:Cisco/PlacedCalls</url>
		<vendor></vendor>
		<version></version>
	</phoneService>
	<phoneService  type="1" category="0">
		<name>Personal Directory</name>
		<url>Application:Cisco/PersonalDirectory</url>
		<vendor></vendor>
		<version></version>
	</phoneService>
	<phoneService  type="1" category="0">
		<name>Corporate Directory (Demo)</name>
		<url>http://directory.ciscoxmlservices.com/demo1/demo1/</url>
		<vendor></vendor>
		<version></version>
	</phoneService>
	<phoneService  type="0" category="0">
                <name>Australian Services</name>
                <url>http://cisco.internect.net/</url>
                <vendor></vendor>
                <version></version>
        </phoneService>
	<phoneService  type="0" category="0">
                <name>Berbee</name>
                <url>http://phone-xml.berbee.com/menu.xml</url>
                <vendor></vendor>
                <version></version>
        </phoneService>
	<phoneService  type="2" category="0">
                <name>Visual Voice Mail</name>
                <url>http://192.168.0.70/cisco/voicemail.php?user=100</url>
                <vendor></vendor>
                <version></version>
        </phoneService>
  </phoneServices>
</device>



Comment viewing options

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