07-30-2021 08:42 AM
Prezados,
Comprei esse aparelho usado e já consegui atualizar o firmware dele para SIP, está com a versão SIP70.9-2-1S, e está funcionando perfeitamente com o Asterisk.
Preciso configuras as softkeys para deixar o aparelho o mais simples possível, já que será utilizado por uma pessoa idosa que só precisa fazer e receber ligações.
No arquivo SEPMAC.cnf.xml já configurei:
<sipProfile> ... <softKeyFile>softkey.xml</softKeyFile> ... </sipProfile>
O arquivo softkey.xml está no servidor TFTP e é carregado pelo telefone, mas independente do que eu altere nele e reinicie o telefone, nada muda na interface do telefone. Aqui está um exemplo dele:
<softKeyCfg> <typeSoftKey> <softKeyDef keyID="Undefined"> <tag>0</tag> <eventID>0</eventID> <helpID>0</helpID> </softKeyDef> <softKeyDef keyID="Redial"> <tag>1</tag> <eventID>1</eventID> <helpID>301</helpID> </softKeyDef> <softKeyDef keyID="NewCall"> <tag>2</tag> <eventID>2</eventID> <helpID>302</helpID> </softKeyDef> <softKeyDef keyID="Hold"> <tag>3</tag> <eventID>3</eventID> <helpID>303</helpID> </softKeyDef> <softKeyDef keyID="Transfer"> <tag>4</tag> <eventID>4</eventID> <helpID>304</helpID> </softKeyDef> <softKeyDef keyID="CFwdAll"> <tag>5</tag> <eventID>5</eventID> <helpID>305</helpID> </softKeyDef> <softKeyDef keyID="<<"> <tag>8</tag> <eventID>8</eventID> <helpID>308</helpID> </softKeyDef> <softKeyDef keyID="EndCall"> <tag>9</tag> <eventID>9</eventID> <helpID>309</helpID> </softKeyDef> <softKeyDef keyID="Resume"> <tag>10</tag> <eventID>10</eventID> <helpID>310</helpID> </softKeyDef> <softKeyDef keyID="Answer"> <tag>11</tag> <eventID>11</eventID> <helpID>311</helpID> </softKeyDef> <softKeyDef keyID="Confrn"> <tag>13</tag> <eventID>13</eventID> <helpID>313</helpID> </softKeyDef> <softKeyDef keyID="Park"> <tag>14</tag> <eventID>14</eventID> <helpID>314</helpID> </softKeyDef> <softKeyDef keyID="Join"> <tag>15</tag> <eventID>15</eventID> <helpID>315</helpID> </softKeyDef> <softKeyDef keyID="MeetMe"> <tag>16</tag> <eventID>16</eventID> <helpID>316</helpID> </softKeyDef> <softKeyDef keyID="PickUp"> <tag>17</tag> <eventID>17</eventID> <helpID>317</helpID> </softKeyDef> <softKeyDef keyID="GPickUp"> <tag>18</tag> <eventID>18</eventID> <helpID>318</helpID> </softKeyDef> <softKeyDef keyID="RmLstC"> <tag>57</tag> <eventID>19</eventID> <helpID>319</helpID> </softKeyDef> <softKeyDef keyID="CallBack"> <tag>65</tag> <eventID>20</eventID> <helpID>320</helpID> </softKeyDef> <softKeyDef keyID="DND"> <tag>63</tag> <eventID>69</eventID> <helpID>369</helpID> </softKeyDef> <softKeyDef keyID="QRT"> <!-- Quality reporting tool, indicates that Asterisk should log RTP statistics when the call finishes. --> <tag>75</tag> <eventID>22</eventID> <helpID>322</helpID> </softKeyDef> <softKeyDef keyID="MCID"> <!-- Identify and log the current call as being malicious.--> <tag>76</tag> <eventID>27</eventID> <helpID>327</helpID> </softKeyDef> <softKeyDef keyID="Select"> <tag>78</tag> <eventID>29</eventID> <helpID>329</helpID> </softKeyDef> <softKeyDef keyID="ConfList"> <tag>79</tag> <eventID>30</eventID> <helpID>330</helpID> </softKeyDef> <softKeyDef keyID="iDivert"> <!-- Diverts a ringing call on your phone by sending a busy signal or sends a call to idivert extension if the call is connected. See Dialplan Extensions for an example. --> <tag>80</tag> <eventID>31</eventID> <helpID>331</helpID> </softKeyDef> <softKeyDef keyID="OPickUp"> <tag>91</tag> <eventID>34</eventID> <helpID>334</helpID> </softKeyDef> <softKeyDef keyID="HLog"> <tag>92</tag> <eventID>35</eventID> <helpID>335</helpID> </softKeyDef> <softKeyDef keyID="AbbrDial"> <tag>7740</tag> <eventID>71</eventID> <helpID>371</helpID> </softKeyDef> <softKeyDef keyID="Record"> <tag>7747</tag> <eventID>74</eventID> <helpID>374</helpID> </softKeyDef> </typeSoftKey> <softKeySets> <softKeySet id="On Hook"> <softKey keyID="Redial" /> <softKey keyID="NewCall" /> <softKey keyID="DND" /> <!-- <softKey keyID="CFwdAll" /> --> </softKeySet> <softKeySet id="Off Hook"> <softKey keyID="Redial" /> <softKey keyID="EndCall" /> <!-- <softKey keyID="PickUp" /> --> </softKeySet> <softKeySet id="Off Hook With Feature"> <softKey keyID="Redial" /> <softKey keyID="EndCall" /> </softKeySet> <softKeySet id="Digits After First"> <softKey keyid="<<" /> <softKey keyID="EndCall" /> </softKeySet> <softKeySet id="Ring Out"> <softKey keyID="Undefined" /> <softKey keyID="EndCall" /> </softKeySet> <softKeySet id="Connected"> <!-- <softKey keyID="Hold" /> --> <softKey keyID="EndCall" /> <!-- <softKey keyID="Transfer" /> <softKey keyID="Confrn" /> <softKey keyID="ConfList" /> <softKey keyID="Park" /> --> </softKeySet> <softKeySet id="Connected No Feature"> <softKey keyID="Undefined" /> <softKey keyID="EndCall" /> </softKeySet> <softKeySet id="Connected Transfer"> <softKey keyID="Undefined" /> <softKey keyID="EndCall" /> <softKey keyID="Transfer" /> </softKeySet> <softKeySet id="Connected Conference"> <softKey keyID="Undefined" /> <softKey keyID="EndCall" /> <softKey keyID="Confrn" /> </softKeySet> <softKeySet id="On Hold"> <softKey keyID="Resume" /> <softKey keyID="NewCall" /> </softKeySet> <softKeySet id="Ring In"> <softKey keyID="Answer" /> <softKey keyID="iDivert" /> <softKey keyID="DND" /> </softKeySet> <softKeySet id="Remote In Use"> </softKeySet> </softKeySets> </softKeyCfg>
O objetivo é tirar da interface opções que não serão usada, como p. e., transferência, estacionar, conferência e etc, deixar so o básico mesmo.
Agradeço toda ajuda e dicas.
Marcio.
08-02-2021 10:38 AM
Olá @MRP-BR
Poderia postar a versão completa de seu arquivo SEPMAC.cnf.xml? É que alguns modelos controlam a atualização do arquivo através de um identificador de release (Timestamp ou version) dentro do XML e não necessariamente carrega no telefone toda vez. Se o telefone identifica que este release é igual então o telefone não substitui o arquivo que está armazenado localmente.
08-03-2021 07:00 AM - edited 08-03-2021 07:01 AM
Encontrei esse arquivo na internet e adaptei para minha configuração.
Segue o conteúdo do SEPMAC.cnf.xml na integra.
<device> <fullConfig>true</fullConfig> <deviceProtocol>SIP</deviceProtocol> <sshUserId>cisco</sshUserId> <sshPassword>cisco</sshPassword> <devicePool> <dateTimeSetting> <dateTemplate>D/M/YY</dateTemplate> <timeZone>SA Western Standard Time</timeZone> <ntps> <ntp> <name>192.168.xxx.xxx</name> <ntpMode>Unicast</ntpMode> </ntp> </ntps> </dateTimeSetting> <callManagerGroup> <tftpDefault>true</tftpDefault> <members> <member priority="0"> <callManager> <ports> <ethernetPhonePort>2000</ethernetPhonePort> <sipPort>5060</sipPort> <securedSipPort>5061</securedSipPort> </ports> <processNodeName>192.168.xxx.xxx</processNodeName> </callManager> </member> </members> </callManagerGroup> </devicePool> <commonProfile> <phonePassword></phonePassword> <backgroundImageAccess>true</backgroundImageAccess> <callLogBlfEnabled>0</callLogBlfEnabled> </commonProfile> <loadInformation>SIP70.9-2-1S</loadInformation> <vendorConfig> <sshAccess>0</sshAccess> <disableSpeaker>false</disableSpeaker> <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset> <pcPort>0</pcPort> <spanToPCPort>1</spanToPCPort> <settingsAccess>1</settingsAccess> <garp>0</garp> <voiceVlanAccess>0</voiceVlanAccess> <videoCapability>0</videoCapability> <autoSelectLineEnable>0</autoSelectLineEnable> <webAccess>0</webAccess> <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall> <daysDisplayNotActive></daysDisplayNotActive> <displayOnTime>07:00</displayOnTime> <displayOnDuration>15:00</displayOnDuration> <displayIdleTimeout>00:10</displayIdleTimeout> <loggingDisplay>1</loggingDisplay> <loadServer></loadServer> </vendorConfig> <deviceSecurityMode>1</deviceSecurityMode> <authenticationURL></authenticationURL> <directoryURL></directoryURL> <idleTimeout>0</idleTimeout> <idleURL></idleURL> <informationURL></informationURL> <messagesURL></messagesURL> <proxyServerURL></proxyServerURL> <servicesURL></servicesURL> <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig> <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices> <dscpForCm2Dvce>96</dscpForCm2Dvce> <transportLayerProtocol>1</transportLayerProtocol> <capfAuthMode>0</capfAuthMode> <capfList> <capf> <phonePort>3804</phonePort> </capf> </capfList> <certHash></certHash> <encrConfig>false</encrConfig> <sipProfile> <sipProxies> <backupProxy></backupProxy> <backupProxyPort>5060</backupProxyPort> <emergencyProxy></emergencyProxy> <emergencyProxyPort></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>true</rfc2543Hold> <callHoldRingback>2</callHoldRingback> <localCfwdEnable>true</localCfwdEnable> <semiAttendedTransfer>true</semiAttendedTransfer> <anonymousCallBlock>2</anonymousCallBlock> <callerIdBlocking>0</callerIdBlocking> <dndControl>0</dndControl> <remoteCcEnable>true</remoteCcEnable> </sipCallFeatures> <sipStack> <sipInviteRetx>6</sipInviteRetx> <sipRetx>10</sipRetx> <timerInviteExpires>180</timerInviteExpires> <timerRegisterExpires>60</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>true</transferOnhookEnabled> <enableVad>false</enableVad> <preferredCodec>g711a</preferredCodec> <dtmfAvtPayload>101</dtmfAvtPayload> <dtmfDbLevel>3</dtmfDbLevel> <dtmfOutofBand>avt</dtmfOutofBand> <alwaysUsePrimeLine>false</alwaysUsePrimeLine> <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail> <kpml>3</kpml> <stutterMsgWaiting>1</stutterMsgWaiting> <callStats>false</callStats> <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts> <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig> <startMediaPort>16384</startMediaPort> <stopMediaPort>32766</stopMediaPort> <voipControlPort>5060</voipControlPort> <dscpForAudio>184</dscpForAudio> <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy> <dialTemplate>dialplan.xml</dialTemplate> <softKeyFile>softkey.xml</softKeyFile> <phoneLabel>Vilanir</phoneLabel> <natEnabled>false</natEnabled> <natAddress></natAddress> <sipLines> <line button="1"> <featureID>9</featureID> <featureLabel>Usuario</featureLabel> <name>36</name> <displayName>Usuario</displayName> <contact>36</contact> <proxy>USECALLMANAGER</proxy> <port>5060</port> <autoAnswer> <autoAnswerEnabled>0</autoAnswerEnabled> </autoAnswer> <callWaiting>2</callWaiting> <authName>UserAuthName</authName> <authPassword>UserPassword</authPassword> <sharedLine>false</sharedLine> <messageWaitingLampPolicy>1</messageWaitingLampPolicy> <messagesNumber>*97</messagesNumber> <ringSettingIdle>4</ringSettingIdle> <ringSettingActive>5</ringSettingActive> <maxNumCalls>1</maxNumCalls> <busyTrigger>1</busyTrigger> <forwardCallInfoDisplay> <callerName>true</callerName> <callerNumber>false</callerNumber> <redirectedNumber>false</redirectedNumber> <dialedNumber>true</dialedNumber> </forwardCallInfoDisplay> </line> </sipLines> </sipProfile> </device>
O arquivo softkey.xml é o dá primeira mensagem.
Acompanhando o log do servidor TFTP e o tcpdump, vejo que o telefone faz o download completo dos três arquivos (SEPMAC, softkey e dialplan). Existe uma maneira de saber se o telefone está aplicando o conteúdo dos arquivos? Se existe algum erro no conteúdo dos arquivos?
Agradeço a ajuda!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Navegue pelos links rápidos da Comunidade e usufrua de um conteúdo personalizado e em seu idioma nativo: