Hallo
Ich habe über den Callmanager 5 ein 7961 mit der Sip firmware bestückt: SIP41.8-2-2SR2S.
Mein 7961 hollt sich seine cnf.xml datei vom tftp.
cnf.xml:
ausserdem wird auch per telefon die DRdialplan.xml angezogen:
ausserdem verlangt das telefon nach den mk-sip.jar g3-tones.xml und der tlv datei die ich aber laut diversen quellen nicht brauche.
der syntax dieser dialplan config habe ich nicht wirklich begriffen, und es ist mir auch überhaupt nicht klar warum ich die brauche. das ist aber auch nicht das eigentlich problem.
das telefon startet und ich sehe den gewohnten screen mit wahlw. rufneu und rufml
wie man unschwer auf dem bild sehen kann startet das phone wie erwartet.
bei der Linie 1005 steht aber ein kleines kreuz beim telefon.
Bild
SIP Conf sieht folgendermassen aus:
[1005]
username=1005
secret=1005
type=friend
host=dynamic
qualify=200
buggymwi=yes
allow=all
context=default
nat=yes
canreinvite=no
sip show users sagt folgendes:
wenn ich von einem xlite phone sagt asterisk
-- Executing Dial("SIP/1001-b700e940", "SIP/1005") in new stack
Dec 30 17:58:15 NOTICE[24889]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
wenn ich den hörer abnehme bekomme ich ein freizeichen wählen kann ich aber nicht.
hat jemand schon einmal ein 7961 an den asterisk gebracht?
wie müssen die korrekten sip.conf einstellungen sein?
und wie sind die <proxy>192.168.1.100</proxy> tags zu verstehen? die addresse vom asterisk gebe ich doch schon weiter oben an?
Ich habe über den Callmanager 5 ein 7961 mit der Sip firmware bestückt: SIP41.8-2-2SR2S.
Mein 7961 hollt sich seine cnf.xml datei vom tftp.
cnf.xml:
PHP:
<device>
<deviceProtocol>SIP</deviceProtocol>
<sshUserId>root</sshUserId>
<sshPassword>root</sshPassword>
<devicePool>
<dateTimeSetting>
<dateTemplate>D.M.YA</dateTemplate>
<timeZone>Central Europe Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>192.168.1.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.1.100</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
</devicePool>
<sipProfile>
<sipProxies>
<backupProxy></backupProxy>
<backupProxyPort></backupProxyPort>
<emergencyProxy></emergencyProxy>
<emergencyProxyPort></emergencyProxyPort>
<outboundProxy></outboundProxy>
<outboundProxyPort></outboundProxyPort>
<registerWithProxy></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>g711</preferredCodec>
<dtmfAvtPayload>101</dtmfAvtPayload>
<dtmfDbLevel>3</dtmfDbLevel>
<dtmfOutofBand>avt</dtmfOutofBand>
<alwaysUsePrimeLine>false</alwaysUsePrimeLine>
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>
<kpml>3</kpml>
<natEnabled>0</natEnabled>
<natAddress></natAddress>
<phoneLabel>Test1</phoneLabel>
<stutterMsgWaiting>1</stutterMsgWaiting>
<callStats>true</callStats>
<silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>
<disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>
<startMediaPort>16384</startMediaPort>
<stopMediaPort>32766</stopMediaPort>
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>1005</featureLabel>
<proxy>192.168.1.100</proxy>
<port>5060</port>
<name>1005</name>
<displayName>Test1</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>1005</authName>
<authPassword>1005</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>1005</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>true</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
<line button="2">
<featureID>21</featureID>
<featureLabel>Testlabel</featureLabel>
<speedDialNumber></speedDialNumber>
</line>
</sipLines>
<voipControlPort>5060</voipControlPort>
<dscpForAudio>184</dscpForAudio>
<ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>
<dialTemplate>DRdialplan.xml</dialTemplate>
</sipProfile>
<commonProfile>
<phonePassword></phonePassword>
<backgroundImageAccess>true</backgroundImageAccess>
<callLogBlfEnabled>2</callLogBlfEnabled>
</commonProfile>
<loadInformation>SIP41.8-2-2SR2S</loadInformation>
<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<pcPort>1</pcPort>
<settingsAccess>1</settingsAccess>
<garp>0</garp>
<voiceVlanAccess>0</voiceVlanAccess>
<videoCapability>0</videoCapability>
<autoSelectLineEnable>0</autoSelectLineEnable>
<webAccess>1</webAccess>
<spanToPCPort>1</spanToPCPort>
<loggingDisplay>1</loggingDisplay>
<loadServer></loadServer>
</vendorConfig>
<networkLocale>US</networkLocale>
<networkLocaleInfo>
<name></name>
<version></version>
</networkLocaleInfo>
<deviceSecurityMode>1</deviceSecurityMode>
<authenticationURL>http://www/authenticate.php</authenticationURL>
<directoryURL>http://www/directory.xml</directoryURL>
<idleURL></idleURL>
<informationURL>http://www/GetTelecasterHelpText.jsp</informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL>http://www/services.xml</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>
</device
ausserdem wird auch per telefon die DRdialplan.xml angezogen:
PHP:
<DIALTEMPLATE>
<!-- Lokalni pozivi -->
<TEMPLATE MATCH="1.." Timeout="0"/>
<!-- Zupanijski pozivi -->
<TEMPLATE MATCH="01....." Timeout="0"/>
<TEMPLATE MATCH="02....." Timeout="0"/>
<TEMPLATE MATCH="03....." Timeout="0"/>
<TEMPLATE MATCH="04....." Timeout="0"/>
<TEMPLATE MATCH="05....." Timeout="0"/>
<TEMPLATE MATCH="06....." Timeout="0"/>
<TEMPLATE MATCH="07....." Timeout="0"/>
<TEMPLATE MATCH="08....." Timeout="0"/>
<TEMPLATE MATCH="09....." Timeout="0"/>
<!-- Meduzupanijski pozivi -->
<TEMPLATE MATCH="001......." Timeout="0"/> <!-- Zagrebacka i grad Zagreb -->
<TEMPLATE MATCH="0049......" Timeout="0"/> <!-- Krapinsko - zagorska -->
<TEMPLATE MATCH="0044......" Timeout="0"/> <!-- Sisacko - moslavacka -->
<TEMPLATE MATCH="0047......" Timeout="0"/> <!-- Karlovacka -->
<TEMPLATE MATCH="0042......" Timeout="0"/> <!-- Varazdinska -->
<TEMPLATE MATCH="0048......" Timeout="0"/> <!-- Koprivnicko - krizevacka -->
<TEMPLATE MATCH="0043......" Timeout="0"/> <!-- Bjelovarsko - gilogorska -->
<TEMPLATE MATCH="0051......" Timeout="0"/> <!-- Primorsko - goranska -->
<TEMPLATE MATCH="0053......" Timeout="0"/> <!-- Licko - senjska -->
<TEMPLATE MATCH="0033......" Timeout="0"/> <!-- VIroviticko - podravska -->
<TEMPLATE MATCH="0034......" Timeout="0"/> <!-- Pozesko - slavonska -->
<TEMPLATE MATCH="0035......" Timeout="0"/> <!-- Brodsko - posavska-->
<TEMPLATE MATCH="0023......" Timeout="0"/> <!-- Zadarska -->
<TEMPLATE MATCH="0031......" Timeout="0"/> <!-- Osjecko - baranjska -->
<TEMPLATE MATCH="0022......" Timeout="0"/> <!-- Sibensko - kninska -->
<TEMPLATE MATCH="0032......" Timeout="0"/> <!-- Vukovarsko - srijemska -->
<TEMPLATE MATCH="0021......" Timeout="0"/> <!-- Splitsko - dalmatinska -->
<TEMPLATE MATCH="0052......" Timeout="0"/> <!-- Istarska -->
<TEMPLATE MATCH="0020......" Timeout="0"/> <!-- Dubrovacko - neretvanska -->
<TEMPLATE MATCH="0040......" Timeout="0"/> <!-- Medimurska-->
<!-- Mobiteli -->
<TEMPLATE MATCH="0099......." Timeout="0"/>
<TEMPLATE MATCH="0098......." Timeout="0"/>
<TEMPLATE MATCH="0095......." Timeout="0"/>
<TEMPLATE MATCH="0091......." Timeout="0"/>
<!-- Cisco - default -->
<TEMPLATE MATCH="9,59....." Timeout="0"/>
<TEMPLATE MATCH="9,29....." Timeout="0"/>
<TEMPLATE MATCH="9,832......." Timeout="0"/>
<TEMPLATE MATCH="9,713......." Timeout="0"/>
<TEMPLATE MATCH="9,281......." Timeout="0"/>
<TEMPLATE MATCH="9,903......." Timeout="0"/>
<TEMPLATE MATCH="\*500" Timeout="0"/>
<TEMPLATE MATCH="\*54" Timeout="0"/>
<TEMPLATE MATCH="\*55" Timeout="0"/>
<TEMPLATE MATCH="\*69" Timeout="0"/>
<TEMPLATE MATCH="*" Timeout="5"/> <!-- Anything else -->
</DIALTEMPLATE>
ausserdem verlangt das telefon nach den mk-sip.jar g3-tones.xml und der tlv datei die ich aber laut diversen quellen nicht brauche.
der syntax dieser dialplan config habe ich nicht wirklich begriffen, und es ist mir auch überhaupt nicht klar warum ich die brauche. das ist aber auch nicht das eigentlich problem.
das telefon startet und ich sehe den gewohnten screen mit wahlw. rufneu und rufml
wie man unschwer auf dem bild sehen kann startet das phone wie erwartet.
bei der Linie 1005 steht aber ein kleines kreuz beim telefon.
Bild
SIP Conf sieht folgendermassen aus:
[1005]
username=1005
secret=1005
type=friend
host=dynamic
qualify=200
buggymwi=yes
allow=all
context=default
nat=yes
canreinvite=no
sip show users sagt folgendes:
PHP:
asterisk*CLI> sip show users
Username Secret Accountcode Def.Context ACL NAT
41xxxxxxxxxx ideksoc34 default No Always
1001 abc123 default No RFC3581
1003 abc123 default No RFC3581
1005 1005 default No Always
wenn ich von einem xlite phone sagt asterisk
-- Executing Dial("SIP/1001-b700e940", "SIP/1005") in new stack
Dec 30 17:58:15 NOTICE[24889]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
wenn ich den hörer abnehme bekomme ich ein freizeichen wählen kann ich aber nicht.
hat jemand schon einmal ein 7961 an den asterisk gebracht?
wie müssen die korrekten sip.conf einstellungen sein?
und wie sind die <proxy>192.168.1.100</proxy> tags zu verstehen? die addresse vom asterisk gebe ich doch schon weiter oben an?
Zuletzt bearbeitet: