Einrichtungsprobleme : Trixbox+7970(SIP)+1und1

Adhemar

Neuer User
Mitglied seit
18 Apr 2006
Beiträge
48
Punkte für Reaktionen
0
Punkte
6
Hallo Community,

nachdem ich nun seit dem Fest der Liebe an der Verbindung
von einer Trixbox (Kernel Version 2.6.9) zu einem Cisco 7970 IP Phone
(SIP Firmware 7.0.3) und SIP Provider 1und1 hänge, muss ich leider
einmal das Forum bemühen um die Verbindungsprobleme zu lösen.

Ich habe schon diverse Postings zu den einzelnen Komponenten
verschlungen, aber irgendwie scheint mir doch noch etwas zu entgehen ;-)

Die Trixbox zeigt mir mittlerweile sowohl einen Trunk (1und1) als auch
ein IP-Phone (7970) als "aktiv" in der Übersicht. Inwiefern das nun
aussagekräftig ist, kann ich leider nicht einschätzen, jedoch zeigt das
7970 bei den Lines (rechts) kein rotes X mehr neben dem Telefon.

Ich habe auch schon die Fritzbox komplett durch ein DSL Modem
(Siemens) und einen anderen Router (Nexland) ersetzt um zu testen,
ob es an dem eingestellten VOIP Port (5060) der Fritzbox hängt.
Leider keine Besserung bis dato...Portweiterleitungen wie folgt :

Die generelle Kommunikation zwischen dem Cisco 7970 und dem
Internet scheint zu funktionieren, da er sich von einem eingetragenen
NTP Server, die genaue Uhrzeit/Datum holt.

Immer wenn ich eine Nummer wähle, gibt mir das 7970 direkt einen
"besetzt" Ton.

Infrastruktur:
Router: 192.168.11.1
Asterisk: 192.168.11.2
7970: 192.168.11.3

Router:
Port 5060 TCP => auf Trixbox
Port 10000-20000 UDP => auf Trixbox

SEP[MAC].cnf.xml des Cisco 7970
Code:
<device xsi:type="axl:XIPPhone" ctiid="203849429" uuid="{96f8508b-10ef-f98c-d20d-0471777ec725}"> 
<fullConfig>true</fullConfig> 
<deviceProtocol>SIP</deviceProtocol> 
<sshUserId>user</sshUserId> 
<sshPassword>pass</sshPassword> 
<devicePool uuid="{a755aa55-089c-2b47-9603-c7d51b9ca4b5}"> 
<name>Dallas 5.0 Beta</name> 
<dateTimeSetting uuid="{9ec4850a-7748-11d3-bdf0-00108302ead1}"> 
<name>CMLocal</name> 
<dateTemplate>D.M.Y</dateTemplate> 
<timeZone>W. Europe Standard/Daylight Time</timeZone>
<ntps>
<ntp>
<name>130.149.4.18</name>
<ntpMode>Unicast</ntpMode>
</ntp>
</ntps> 
</dateTimeSetting> 
<callManagerGroup> 
<name>5.0 Beta</name> 
<tftpDefault>true</tftpDefault> 
<members> 
<member priority="0"> 
<callManager> 
<name>ccm-beta-5-1</name> 
<description>CallManager 5.0 Beta Pub - 5.0.1.032</description> 
<ports> 
<ethernetPhonePort>2000</ethernetPhonePort> 
<sipPort>5060</sipPort> 
<securedSipPort>5061</securedSipPort> 
<mgcpPorts> 
<listen>2427</listen> 
<keepAlive>2428</keepAlive> 
</mgcpPorts> 
</ports> 
<processNodeName>ccm-beta-5-1</processNodeName> 
</callManager> 
</member> 
</members> 
</callManagerGroup> 
<srstInfo uuid="{cd241e11-4a58-4d3d-9661-f06c912a18a3}"> 
<name>Disable</name> 
<srstOption>Disable</srstOption> 
<userModifiable>false</userModifiable> 
<ipAddr1>192.168.11.2</ipAddr1> 
<port1>2000</port1> 
<ipAddr2></ipAddr2> 
<port2>2000</port2> 
<ipAddr3></ipAddr3> 
<port3>2000</port3> 
<sipIpAddr1>192.168.11.2</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> 
<sipProfile> 
<sipProxies> 
<backupProxy>192.168.11.2</backupProxy> 
<backupProxyPort>5060</backupProxyPort> 
<emergencyProxy>192.168.11.2</emergencyProxy> 
<emergencyProxyPort>5060</emergencyProxyPort> 
<outboundProxy>192.168.11.2</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> 
</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> 
<alwaysUsePrimeLine>false</alwaysUsePrimeLine> 
<alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail> 
<kpml>3</kpml> 
<phoneLabel>NAME</phoneLabel> 
<stutterMsgWaiting>2</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>555</featureLabel> 
<proxy>192.168.11.2</proxy> 
<port>5060</port> 
<name>555</name> 
<displayName>Kerry</displayName> 
<autoAnswer> 
<autoAnswerEnabled>2</autoAnswerEnabled> 
</autoAnswer> 
<callWaiting>3</callWaiting> 
<authName>555</authName> 
<authPassword>555</authPassword> 
<sharedLine>false</sharedLine> 
<messageWaitingLampPolicy>3</messageWaitingLampPolicy> 
<messagesNumber>*97</messagesNumber> 
<ringSettingIdle>4</ringSettingIdle> 
<ringSettingActive>5</ringSettingActive> 
<contact>7b452e87-4496-4762-e11f-b26751a1884b</contact> 
<forwardCallInfoDisplay> 
<callerName>true</callerName> 
<callerNumber>false</callerNumber> 
<redirectedNumber>false</redirectedNumber> 
<dialedNumber>true</dialedNumber> 
</forwardCallInfoDisplay> 
</line> 

<line button="2"> 
<featureID>9</featureID>
<featureLabel>555</featureLabel>
<proxy>192.168.11.2</proxy>
<port>5060</port>
<name>555</name>
<displayName>Kerry</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>555</authName>
<authPassword>555</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>7b452e87-4496-4762-e11f-b26751a1884b</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>SIP70.8-0-3S</loadInformation> 

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

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

<userLocale> 
<name>English_United_States</name> 
<uid>1</uid> 
<langCode>en_US</langCode> 
<version>1.0.0.0-1</version> 
<winCharSet>iso-8859-1</winCharSet> 
</userLocale> 

<networkLocale>United_States</networkLocale> 
<networkLocaleInfo> 
<name>United_States</name> 
<uid>64</uid> 
<version>1.0.0.0-1</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>192.168.11.2</proxyServerURL> 
<servicesURL>http://10.0.0.20/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>

SIP.CONF (Trixbox)
Code:
; Note: If your SIP devices are behind a NAT and your Asterisk
;  server isn't, try adding "nat=1" to each peer definition to
;  solve translation problems.

[general]
#include sip_general_additional.conf

bindport = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
; If you need to answer unauthenticated calls, you should change this
; next line to 'from-trunk', rather than 'from-sip-external'.
; You'll know this is happening if when you call in you get a message
; saying "The number you have dialed is not in service. Please check the
; number and try again."
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
tos=0x68

; Reported as required for Asterisk 1.4
notifyringing=yes
notifyhold=yes
limitonpeers=yes

; enable and force the sip jitterbuffer. If these settings are desired
; they should be set in the sip_general_custom.conf file as this file
; will get overwritten during reloads and upgrades.
;
; jbenable=yes
; jbforce=yes

; #, in this configuration file, is NOT A COMMENT. This is exactly
; how it should be.
#include sip_general_custom.conf
#include sip_nat.conf
#include sip_registrations_custom.conf
#include sip_registrations.conf
#include sip_custom.conf
#include sip_additional.conf
#include sip_custom_post.conf

SIP_ADDITIONAL.CONF (Trixbox)
Code:
; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui

[1und1]
username=492338545522
type=peer
secret=secret
host=sip.1und1.de

[1und1inc]
type=user
secret=secret
context=from-trunk

[555]
type=friend
secret=secret
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
pickupgroup=
nat=no
mailbox=555@device
host=dynamic
dtmfmode=rfc2833
disallow=
dial=SIP/555
context=from-internal
canreinvite=no
callgroup=
callerid=device <555>
allow=
accountcode=555


Wenn die Profis zusätzliche Infos brauchen, einfach kurz posten
ich schlafe quasi am Rechner solange die Geschichte nicht läuft ;-)

Ich wäre echt über jede Hilfe dankbar...ich bin auch gerne bereit
komplett auf SCCP für das 7970 umzustellen, wenn es da eine funktionierende
Konfiguration gibt.

Gruss,
Adhemar
 
Zuletzt bearbeitet:
nicht, dass ich Profi wäre oder so.. aber vielleicht dennoch eine Hilfe.
Verstehe ich dich richtig, dass du gar keine Nummern wählen kannst? Oder können interne Gespräche geführt werden? (z.B. *97 für die Voicemail)
Wenn dies nicht geht, würde ich mich einmal mit dem Cisco-Phone selber auseinandersetzen. Ich kenne mich zwar nicht mit diesen Geräten aus (hatte nur einmal ein Linksys/Sipura-Phone).
falls es das nicht war, liegt vielleicht ein Fehler im Dialplan des Telefons vor. wie ich sehe gibt es da ein separates dialplan.xml-File.
wenn du es nicht schon von dort geholt hast, findest du eines hier. (Downloads: Sample Config Files).

Falls du bereits intern telefonieren kannst, dann stimmt was nicht mit deinen SIP-Trunk-Angaben.
Manche Anbieter brauchen mehr Informationen was SIP-Einstellungen angeht. Kopiere einmal folgende Zeilen in deine sip.conf in den Abschnitt [general]

Code:
useragent=trixbox ; darf nicht das Wort Asterisk enthalten
language=de
maxexpirey=180
defaultexpirey=160
nat=yes

Ergänze in den Trunk-Einstellungen bei den Outgoing Settings folgende Zeilen:
Code:
fromdomain=sip.1und1.de
insecure=very

Ersetze sicherheitshalber bei den Incoming Settings den User Context auf deinen Username 492338545522
Ersetze die User Details durch folgende Zeilen:
Code:
fromdomain=sip.1und1.de
fromuser=492338545522
host=sip.1und1.de
insecure=very
nat=yes
qualify=yes
secret=***Passwort*** ; bitte ersetzen ohne *
type=user
username=492338545522

Der Register-String hat das Format Benutzername:Passwort@Provider/Benutzername, also in deinem Fall 492338545522:***Passwort***@sip.1und1.de/492338545522.

Deine Einstellung "Port 5060 TCP => auf Trixbox" wird nichts nützen. Braucht man auch nicht. Dies wäre nur sinnvoll, wenn ein externes Telefon (z.B. meines) sich an deiner Trixbox anmelden soll. Allerdings wäre es dann nicht TCP, sondern UDP.

Ich hoffe, dass dich diese Einstellungen zumindest ein bisschen weiterbringen.
 
Kostenlos!

Statistik des Forums

Themen
248,442
Beiträge
2,291,578
Mitglieder
377,859
Neuestes Mitglied
Humptidumpti_xx