ВидеоКонф(ВКС)  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Проблема при регистрации телефона cisco 7911 with chan_pjsip

Вопросы по использованию и настройке IP телефонов, шлюзов и всего прочего

Модераторы: april22, Zavr2008

Проблема при регистрации телефона cisco 7911 with chan_pjsip

Сообщение K1a33 » 29 июл 2022, 16:01

Добрый день.
Нужна помощь, имеется проблема в том, что телефон cisco 7911 не может зарегистрироваться, на дисплее отображается постоянно Registation. Используется модуль канала PJSIP.
конфиг pjsip.conf
Код: выделить все
cat /etc/asterisk/pjsip.conf
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0


настройки endpoints
Код: выделить все
+-----+--------------+------+------+---------+----------+------+-------------------+----------------------+-----------+-------------+
| id  |transport     | aors | auth | context | disallow |allow | trust_id_outbound | device_state_busy_at | dtmf_mode | force_rport |
+-----+--------------+------+------+---------+----------+--------------------------+----------------------+-----------+-------------+
| 903 |transport-udp | 903  | 903  | sets    |    all   | ulaw |       yes         |               1      | rfc4733   |       no    |
+-----+--------------+------+------+---------+----------+------+-------------------+----------------------+-----------+-------------+


настройки ps_auths
Код: выделить все
+-----+-----------+----------+---------------+
| id  | auth_type | password | username      |
+-----+-----------+----------+---------------+
| 903 | userpass  | 903903   | 903           |
+-----+-----------+----------+---------------+


При этом телефон, как бы авторизовался. Осуществляет звонки, сам доступен. Но на дисплее постоянно идет процесс регистрации.


Конфигурация самого телефона
[Показать] Спойлер:
<device>
<fullConfig>true</fullConfig>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>user</sshUserId>
<sshPassword>pass</sshPassword>
<devicePool uuid="{a755aa55-089c-2b47-9603-c7d51b9ca4b5}">
<dateTimeSetting uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}">
<dateTemplate>D/M/Y</dateTemplate>
<timeZone>Saudi Arabia Standard Time</timeZone>
<ntps>
<ntp>
<name>192.168.89.1</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.89.1</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<srstInfo uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}">
<srstOption>Disable</srstOption>
<ipAddr1>192.168.89.1</ipAddr1>
<port1>2000</port1>
<ipAddr2></ipAddr2>
<port2>2000</port2>
<ipAddr3></ipAddr3>
<port3>2000</port3>
<sipIpAddr1>192.168.89.1</sipIpAddr1>
<sipPort1>5060</sipPort1>
<sipIpAddr2></sipIpAddr2>
<sipPort2>5060</sipPort2>
<sipIpAddr3></sipIpAddr3>
<sipPort3>5060</sipPort3>
<isSecure>false</isSecure>
</srstInfo>
<connectionMonitorDuration>120</connectionMonitorDuration>
</devicePool>
<sipProfile>
<sipProxies>
<backupProxy>192.168.89.1</backupProxy>
<backupProxyPort>5060</backupProxyPort>
<emergencyProxy>192.168.89.1</emergencyProxy>
<emergencyProxyPort>5060</emergencyProxyPort>
<outboundProxy>192.168.89.1</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>false</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>true</remotePartyID>
<userInfo>None</userInfo>
</sipStack>
<autoAnswerTimer>1</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>
<transferOnhookEnabled>false</transferOnhookEnabled>
<enableVad>false</enableVad>
<preferredCodec>ulaw</preferredCodec>
<dtmfAvtPayload>96</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
<kpml>3</kpml>
<phoneLabel>59-903</phoneLabel>
<stutterMsgWaiting>1</stutterMsgWaiting>
<callStats>false</callStats>
<offhookToFirstDigitTimer>15000</offhookToFirstDigitTimer>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>true</disableLocalSpeedDialConfig>
<startMediaPort>16384</startMediaPort>
<stopMediaPort>32766</stopMediaPort>
<sipLines>


<line button="1">
<featureID>9</featureID>
<featureLabel>903</featureLabel>
<proxy>192.168.89.1</proxy>
<port>5060</port>
<name>903</name>
<displayName>903</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>903</authName>
<authPassword>903903</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>903</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>


</sipLines>

<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate>dialplan.xml</dialTemplate>
<!--<softKeyFile>SK50719900-3bee-4594-bc3f-6400e1a33bf0.xml</softKeyFile> -->
</sipProfile>

<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>

<loadInformation>SIP11.8-0-2SR2S</loadInformation>

<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>0</pcPort>
<settingsAccess>0</settingsAccess>
<garp>0</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<videoCapability>0</videoCapability>
<autoSelectLineEnable>0</autoSelectLineEnable>
<webAccess>0</webAccess>
<daysDisplayNotActive>1,7</daysDisplayNotActive>
<displayOnTime>08:00</displayOnTime>
<displayOnDuration>10:30</displayOnDuration>
<displayIdleTimeout>01:00</displayIdleTimeout>
<spanToPCPort>0</spanToPCPort>
</vendorConfig>

<versionStamp>1136931633-57191cee-5ffc-4342-b286-4246b4991890</versionStamp>

<userLocale>
<name>Russian_Russia</name>
<uid>1</uid>
<langCode>ru</langCode>
<version>4.0.2-2.0</version>
<winCharSet>UTF-8</winCharSet>
</userLocale>

<networkLocale>Russian_Federation</networkLocale>
<networkLocaleInfo>
<name>Russian_Federation</name>
<version>4.0.2-2.0</version>
</networkLocaleInfo>


<deviceSecurityMode>1</deviceSecurityMode>
<idleTimeout>0</idleTimeout>
<authenticationURL>http://ccm-beta-5-1:8080/ccmcip/authenticate.jsp</authenticationURL>
<!--<directoryURL>http://10.0.0.20/cisco_voip/PhoneDirectory.xml</directoryURL> -->
<idleURL></idleURL>
<!--<informationURL>http://ccm-beta-5-1:8080/ccmcip/GetTelecasterHelpText.jsp</informationURL> -->
<messagesURL></messagesURL>
<proxyServerURL>10.252.246.98</proxyServerURL>
<servicesURL>http://10.252.246.98/cisco_voip/services.xml</servicesURL>
<dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
<dscpForCm2Dvce>96</dscpForCm2Dvce>
<transportLayerProtocol>4</transportLayerProtocol>
<capfAuthMode>0</capfAuthMode>

<capfList>
<capf>
<phonePort>3804</phonePort>
<processNodeName>ccm-beta-5-1</processNodeName>
</capf>
</capfList>

<certHash></certHash>
<encrConfig>false</encrConfig>
</device>
K1a33
 
Сообщений: 2
Зарегистрирован: 29 июл 2022, 12:53
Откуда: RUS 52

Re: Проблема при регистрации телефона cisco 7911 with chan_p

Сообщение K1a33 » 28 сен 2022, 09:42

Добрый день. Проблему решил.
Основная проблема была в конфигурации телефона.
В разделе настройки линии, в параметре proxy указал USECALLMANAGER.

Пример:
[code]<line button="1">
<featureID>9</featureID>
<featureLabel>phone-904</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name>59904</name>
<displayName>phone-904</displayName>
<autoAnswer>
<autoAnswerEnabled>0</autoAnswerEnabled>
</autoAnswer>
<callWaiting>1</callWaiting>
<authName>59904</authName>
<authPassword>arz904</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact></contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line> /code]
K1a33
 
Сообщений: 2
Зарегистрирован: 29 июл 2022, 12:53
Откуда: RUS 52


Вернуться в VoIP оборудование

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 7

© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH