01-09-2021 04:57 AM
Hello,
I'm new to Cisco IP Phones and have some problems with making calls .
I have 3 Cisco phones that are registered in Asterisk PBX (Issabel) with SIP protocol . I can call that phone from another phone(Non Cisco) and from the outside of my home , but i can't make calls with that phones to any number (internal or external). when i select line and enter number nothing happens and seems more number must be entered! No reaction from phones received .
I config phones manually by uploading SEP<mac>.cnf.xml and dialTemplate.xml to TFTP server .
Phone models: 7931G, 7945G,
my config is as below:
dialTemplate.xml:
<DIALTEMPLATE> <TEMPLATE MATCH="2.." TIMEOUT="1"/><!-- Internal extensions 200 to 299, delay: 1 second --> <TEMPLATE MATCH="909........." TIMEOUT="1"/><!-- Mobile Phones, delay: 1 second --> <TEMPLATE MATCH="*" TIMEOUT="5"/> <!-- Anything else; waits 5 seconds, then dials. --> </DIALTEMPLATE>
SEP<MAC>.CNF.XML
<?xml version="1.0" encoding="UTF-8"?> <device> <deviceProtocol>SIP</deviceProtocol> <ipAddressMode>0</ipAddressMode> <allowAutoConfig>false</allowAutoConfig> <ipPreferenceModeControl>0</ipPreferenceModeControl> <devicePool> <dateTimeSetting> <dateTemplate>D/M/YY</dateTemplate> <timeZone>Iran Standard/Daylight Time</timeZone> <ntps> <ntp> <name>172.16.3.1</name> <ntpMode>Unicast</ntpMode> </ntp> </ntps> </dateTimeSetting> <callManagerGroup> <members> <member priority="0"> <callManager> <ports> <sipPort>5060</sipPort> </ports> <processNodeName>172.16.3.5</processNodeName> </callManager> </member> </members> </callManagerGroup> </devicePool> <sipProfile> <sipProxies> <backupProxy></backupProxy> <backupProxyPort></backupProxyPort> <emergencyProxy></emergencyProxy> <emergencyProxyPort></emergencyProxyPort> <outboundProxy></outboundProxy> <outboundProxyPort></outboundProxyPort> <registerWithProxy>true</registerWithProxy> </sipProxies> <sipCallFeatures> <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> <callHoldRingback>1</callHoldRingback> <semiAttendedTransfer>true</semiAttendedTransfer> <anonymousCallBlock>2</anonymousCallBlock> <callerIdBlocking>0</callerIdBlocking> <remoteCcEnable>true</remoteCcEnable> <rfc2543Hold>false</rfc2543Hold> <cnfJoinEnabled>true</cnfJoinEnabled> <dndControl>0</dndControl> <localCfwdEnable>true</localCfwdEnable> <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>Phone</userInfo> </sipStack> <autoAnswerTimer>1</autoAnswerTimer> <autoAnswerAltBehavior>false</autoAnswerAltBehavior> <autoAnswerOverride>true</autoAnswerOverride> <transferOnhookEnabled>false</transferOnhookEnabled> <enableVad>false</enableVad> <preferredCodec>g711ulaw</preferredCodec> <dtmfAvtPayload>101</dtmfAvtPayload> <dtmfDbLevel>3</dtmfDbLevel> <dtmfOutofBand>avt</dtmfOutofBand> <alwaysUsePrimeLine>false</alwaysUsePrimeLine> <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail> <kpml>3</kpml> <phoneLabel>YasinResin</phoneLabel> <stutterMsgWaiting>0</stutterMsgWaiting> <callStats>true</callStats> <offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer> <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts> <startMediaPort>16384</startMediaPort> <stopMediaPort>32766</stopMediaPort> <natEnabled>false</natEnabled> <natReceivedProcessing>false</natReceivedProcessing> <natAddress></natAddress> <sipLines> <line button="1"> <featureID>9</featureID> <featureLabel>200</featureLabel> <proxy>USECALLMANAGER</proxy> <port>5060</port> <name>200</name> <displayName>200</displayName> <autoAnswer> <autoAnswerEnabled>2</autoAnswerEnabled> </autoAnswer> <callWaiting>1</callWaiting> <authName>200</authName> <authPassword>1234Abc</authPassword> <sharedLine>false</sharedLine> <messageWaitingLampPolicy>2</messageWaitingLampPolicy> <messageWaitingAMWI>0</messageWaitingAMWI> <messagesNumber>*98</messagesNumber> <ringSettingIdle>4</ringSettingIdle> <ringSettingActive>5</ringSettingActive> <forwardCallInfoDisplay> <callerName>true</callerName> <callerNumber>true</callerNumber> <redirectedNumber>false</redirectedNumber> <dialedNumber>true</dialedNumber> </forwardCallInfoDisplay> <maxNumCalls>12</maxNumCalls> <busyTrigger>2</busyTrigger> </line> <line button="2"> <featureID>9</featureID> <featureLabel>201</featureLabel> <proxy>USECALLMANAGER</proxy> <port>5060</port> <name>201</name> <displayName>201</displayName> <autoAnswer> <autoAnswerEnabled>2</autoAnswerEnabled> </autoAnswer> <callWaiting>1</callWaiting> <authName>201</authName> <authPassword>225c884be13d6</authPassword> <contact>201</contact> <sharedLine>false</sharedLine> <messageWaitingLampPolicy>2</messageWaitingLampPolicy> <messageWaitingAMWI>0</messageWaitingAMWI> <messagesNumber>*98</messagesNumber> <ringSettingIdle>4</ringSettingIdle> <ringSettingActive>5</ringSettingActive> <forwardCallInfoDisplay> <callerName>true</callerName> <callerNumber>true</callerNumber> <redirectedNumber>false</redirectedNumber> <dialedNumber>true</dialedNumber> </forwardCallInfoDisplay> <maxNumCalls>12</maxNumCalls> <busyTrigger>2</busyTrigger> </line> <line button="3"> <featureID>9</featureID> <featureLabel>202</featureLabel> <proxy>USECALLMANAGER</proxy> <port>5060</port> <name>202</name> <displayName>202</displayName> <autoAnswer> <autoAnswerEnabled>2</autoAnswerEnabled> </autoAnswer> <callWaiting>1</callWaiting> <authName>202</authName> <authPassword>ff2c4a757ce83aff2</authPassword> <contact>202</contact> <sharedLine>false</sharedLine> <messageWaitingLampPolicy>2</messageWaitingLampPolicy> <messageWaitingAMWI>0</messageWaitingAMWI> <messagesNumber>*98</messagesNumber> <ringSettingIdle>4</ringSettingIdle> <ringSettingActive>5</ringSettingActive> <forwardCallInfoDisplay> <callerName>true</callerName> <callerNumber>true</callerNumber> <redirectedNumber>false</redirectedNumber> <dialedNumber>true</dialedNumber> </forwardCallInfoDisplay> <maxNumCalls>12</maxNumCalls> <busyTrigger>2</busyTrigger> </line> <line button="4"> <featureID>9</featureID> <featureLabel>203</featureLabel> <proxy>USECALLMANAGER</proxy> <port>5060</port> <name>203</name> <displayName>203</displayName> <autoAnswer> <autoAnswerEnabled>2</autoAnswerEnabled> </autoAnswer> <callWaiting>1</callWaiting> <authName>203</authName> <authPassword>b485f81e91f1bb</authPassword> <contact>203</contact> <sharedLine>false</sharedLine> <messageWaitingLampPolicy>2</messageWaitingLampPolicy> <messageWaitingAMWI>0</messageWaitingAMWI> <messagesNumber>*98</messagesNumber> <ringSettingIdle>4</ringSettingIdle> <ringSettingActive>5</ringSettingActive> <forwardCallInfoDisplay> <callerName>true</callerName> <callerNumber>true</callerNumber> <redirectedNumber>false</redirectedNumber> <dialedNumber>true</dialedNumber> </forwardCallInfoDisplay> <maxNumCalls>12</maxNumCalls> <busyTrigger>2</busyTrigger> </line> <line button="21"> <featureID>194</featureID> <featureLabel>Messages</featureLabel> </line> <line button="22"> <featureID>195</featureID> <featureLabel>Directories</featureLabel> </line> <line button="23"> <featureID>198</featureID> <featureLabel>Headset</featureLabel> </line> <line button="24"> <featureID>197</featureID> <featureLabel>Applications</featureLabel> </line> </sipLines> <voipControlPort>5060</voipControlPort> <dscpForAudio>184</dscpForAudio> <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy> <dialTemplate>dialTemplate.xml</dialTemplate> <!-- <softKeyFile>softKeys.xml</softKeyFile> --> </sipProfile> <!-- <MissedCallLoggingOption>1111</MissedCallLoggingOption> --> <commonProfile> <phonePassword /> <backgroundImageAccess>false</backgroundImageAccess> <callLogBlfEnabled>2</callLogBlfEnabled> </commonProfile> <loadInformation>SIP31.9-3-1SR4-1S</loadInformation> <vendorConfig> <disableSpeaker>false</disableSpeaker> <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset> <enableMuteFeature>false</enableMuteFeature> <enableGroupListen>true</enableGroupListen> <g722CodecSupport>0</g722CodecSupport> <settingsAccess>1</settingsAccess> <videoCapability>0</videoCapability> <webAccess>0</webAccess> <webProtocol>0</webProtocol> <displayRefreshRate>0</displayRefreshRate> <daysDisplayNotActive>6</daysDisplayNotActive> <displayOnTime>08:00</displayOnTime> <displayOnDuration>04:00</displayOnDuration> <displayIdleTimeout>00:01</displayIdleTimeout> <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall> <daysBacklightNotActive>6</daysBacklightNotActive> <recordingTone>0</recordingTone> <autoSelectLineEnable>1</autoSelectLineEnable> <autoCallSelect>1</autoCallSelect> <!-- <incomingCallToastTimer>15</incomingCallToastTimer> --> <pcPort>0</pcPort> <spanToPCPort>1</spanToPCPort> </vendorConfig> <versionStamp>1724995093539955</versionStamp> <userLocale> <name>SIP_English_United_States</name> <langCode>en_US</langCode> </userLocale> <networkLocale>SIP_United_States</networkLocale> <networkLocaleInfo> <name>SIP_United_States</name> </networkLocaleInfo> <deviceSecurityMode>1</deviceSecurityMode> <authenticationURL></authenticationURL> <messagesURL></messagesURL> <servicesURL></servicesURL> <directoryURL></directoryURL> <informationURL></informationURL> <idleURL /> <idleTimeout>0</idleTimeout> <transportLayerProtocol>2</transportLayerProtocol> <phonePersonalization>0</phonePersonalization> <dndCallAlert>0</dndCallAlert> <advertiseG722Codec>2</advertiseG722Codec> <rollover>0</rollover> <joinAcrossLines>0</joinAcrossLines> <capfAuthMode>0</capfAuthMode> <capfList></capfList> <certHash></certHash> <encrConfig>false</encrConfig> <sshUserId>admin</sshUserId> <sshPassword>admin</sshPassword> <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices> <dscpForCm2Dvce>96</dscpForCm2Dvce> </device>
Solved! Go to Solution.
01-13-2021 04:39 AM - edited 01-13-2021 04:40 AM
Hi Leo,
I have good news about my problem , I solve it !
Someone tell to me that Cisco in SIP protocol version 9 and upper use TCP as main transport layer protocol so i change below line in my config as it solve all of the problem :
From :
<transportLayerProtocol>2</transportLayerProtocol>
To :
<transportLayerProtocol>1</transportLayerProtocol>
Also i config my BPX to use TCP as primary protocol for some of my extensions that are in Cisco IP phones.
Thanks for your helps Leo.
01-09-2021 06:55 PM - edited 01-09-2021 06:56 PM
<DIALTEMPLATE> <TEMPLATE MATCH=”*#” TIMEOUT=”0″/> </DIALTEMPLATE>
01-10-2021 04:52 AM
Hi Leo ,
Thanks for your fast reply , your point in "Timeout" helped me to solve the problem , I searched for the meaning of the timeout and i found that zero means that wait until stop dialing then start call ...
And another thing that i think maybe help other people is that i remove the below line from the configuration of all phone for true functionality :
<ipPreferenceModeControl>0</ipPreferenceModeControl>
Thanks .
01-10-2021 11:58 AM
Hi again LEO,
With your reply my problem was solved and 7945 phones are working as well .
But after configuring 7945's I tried to config 7931 IP Phones and again the same problem happened ! I can't make calls from them and none of the solutions didn't work . After many searches I found "KPML" ... !
I think the problem is related to the KPML value that is set to 3. I change it to another value and the only suitable value is 2 but in this case after entering the number, the phone makes calls but the SIP server gets a BAD Request error .
Does 7931G support KPML ?
What is the meaning of each value for KPML ?
I think I should change phones to another model
01-10-2021 01:56 PM
Did you factory reset the 7931?
01-11-2021 12:51 AM
Yes I did, my dialplan.xml is the same as the thing that you said . Also I factory reset the phone .
Unfortunately it's not work...
01-11-2021 03:58 PM
Can the 7945 call the 7931?
01-12-2021 12:45 AM
Yes, I can call with 7945 to any number(external or internal(7931)) .
01-12-2021 03:57 AM
What firmware is the 7931 running on?
01-12-2021 10:23 PM
I download last version form Cisco .
Current running version is sip.9-3-1SR4-1.
01-13-2021 04:39 AM - edited 01-13-2021 04:40 AM
Hi Leo,
I have good news about my problem , I solve it !
Someone tell to me that Cisco in SIP protocol version 9 and upper use TCP as main transport layer protocol so i change below line in my config as it solve all of the problem :
From :
<transportLayerProtocol>2</transportLayerProtocol>
To :
<transportLayerProtocol>1</transportLayerProtocol>
Also i config my BPX to use TCP as primary protocol for some of my extensions that are in Cisco IP phones.
Thanks for your helps Leo.
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