Eingehende Anrufe über SIP am CME kommen nicht an

456

Neuer User
Mitglied seit
19 Sep 2006
Beiträge
13
Punkte für Reaktionen
0
Punkte
0
Hallo Zusammen,

ich versuche verzweifelt eingehende Anrufe über SIP auf meinem CME zu installieren. Leider ohne Erfolg. Abgehende funktionieren einwandfrei.

Kann mir bitte jemanden einen Tipp geben ? Anbei meine konfig.

DANKE

Code:
boot-start-marker
boot system flash c2801-adventerprisek9-mz.124-24.T.bin
boot-end-marker
!
logging message-counter syslog
enable secret 5 $1$TB72$vR19nkIMg9QINnbYXk/Vu/
enable password cisco
!
no aaa new-model
network-clock-participate wic 2 
dot11 syslog
ip source-route
!
!
!
!
ip cef
ip name-server 192.168.100.2
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type basic-net3
!
!
!
voice service voip 
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 supplementary-service h450.12
 no supplementary-service h225-notify cid-update
 no supplementary-service sip refer
 fax protocol cisco 
 h323
 sip
  registrar server expires max 3600 min 3600
  localhost dns:sip.gmx.net
!
!
!
voice class codec 1
 codec preference 1 g729r8
 codec preference 2 g711alaw
 codec preference 3 g711ulaw
!
!
!
!
!
!
!
!
!
!
!
!
voice register global
 max-dn 99
 max-pool 24
!
!
voice translation-rule 1
 rule 1 /^/ /00/ type national national
 rule 2 /^/ /000/ type international international
!
voice translation-rule 2
 rule 1 /^3300850/ //
!
voice translation-rule 3
 rule 1 /^0/ //
!
voice translation-rule 12
 rule 1 // /201/
 rule 2 /.*/ /201/
!
!
voice translation-profile PSTN-Incoming
 translate calling 1
 translate called 2
!
voice translation-profile PSTN-S0-Outgoing
 translate called 3
!
voice translation-profile SIP-Incoming
 translate called 12
!
!
voice-card 0
!
!
!
!
!
archive
 log config
  hidekeys
! 
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.100.11 255.255.255.0
 speed 100
 full-duplex
 no mop enabled
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface BRI0/2/0
 no ip address
 isdn switch-type basic-net3
 isdn overlap-receiving
 isdn point-to-point-setup
 isdn incoming-voice voice
 isdn send-alerting
 isdn sending-complete
 isdn static-tei 0
!
interface BRI0/2/1
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.100.2
ip http server
ip http authentication local
no ip http secure-server
ip http path flash:
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/2/0
 translation-profile incoming PSTN-Incoming
 compand-type a-law
 cptone DE
 bearer-cap 3100Hz
!
voice-port 0/2/1
!
!
mgcp fax t38 ecm
!
!
!
dial-peer voice 1 pots
 tone ringback alert-no-PI
 description ##Outgoing PSTN Calls
 translation-profile outgoing PSTN-S0-Outgoing
 destination-pattern 9T
 progress_ind setup enable 3
 progress_ind progress enable 8
 direct-inward-dial
 port 0/2/0
 forward-digits all
!
dial-peer voice 10 voip
 description **Outgoing Call to SIP Trunk**
 translation-profile incoming SIP-Incoming
 destination-pattern 0T
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 incoming called-number .%
 dtmf-relay rtp-nte
 clid network-number 493370218303
 no vad
!
!
sip-ua 
 authentication username 493370218303 password 7 145555939931
 no remote-party-id
 retry invite 2
 retry register 1
 retry options 1
 timers connect 100
 timers register 300
 registrar dns:sip.gmx.net expires 3600
 sip-server dns:sip.gmx.net
 host-registrar
!
!
!
telephony-service
 no auto-reg-ephone
 max-ephones 24
 max-dn 100
 ip source-address 192.168.100.11 port 2000
 caller-id block code *1
 calling-number initiator
 timeouts interdigit 5
 system message Test
 url services http://192.168.100.11/voiceview/common/login.do 
 url authentication http://192.168.100.11/voiceview/authentication/authenticate.do  
 cnf-file location flash:
 network-locale DE
 time-zone 23
 time-format 24
 date-format dd-mm-yy
 max-conferences 8 gain -6
 call-forward pattern .T
 moh music-on-hold.au
 web admin system name administrator secret 5 $1$KGUH$AytaE1y6mFfQHrOx2.DTN.
 dn-webedit 
 time-webedit 
 transfer-system full-consult dss
 transfer-pattern 0.T
 transfer-pattern .T
 secondary-dialtone 0
 create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn  1  dual-line
 number 201 secondary 493370218303 no-reg primary
 label Zweihundert
 name Zweihundert, Eins
!
!
ephone-dn  2  dual-line
 number 202 no-reg primary
 label Zweihundert
 name Zweihundert, Zwei
!
!
ephone-dn  3  dual-line
 number 203 no-reg primary
 label Zweihundert
 name Zweihundert, Drei
!
!
ephone  1
 device-security-mode none
 video
 mac-address 0015.5830.ADB6
 username "user1" password 12345
 type CIPC
 button  1:1 2m2 3m3
!
!
!
ephone  2
 device-security-mode none
 video
 mac-address 0019.BB48.7CF0
 username "user2" password 12345
 type CIPC
 button  1:2 2m1 3m3
!
!
!
ephone  3
 device-security-mode none
 video
 mac-address 00D0.5965.AB29
 username "user3" password 12345
 type CIPC
 button  1:3 2:1 3:2
!
!
!
line con 0
line aux 0
line vty 0 4
 password cisco
 login
!
scheduler allocate 20000 1000
end
 
Hallo 456,

sehr innovativer Name, aber das nur nebenbei :D

Dir fehlt schlicht und einfach ein dial-peer für ausgehende SIP-Gespräche. Dein dial-peer voice 10 voip handelt lediglich ausgehende Gespräche ab (destination pattern 0T). Die incoming called-number .% solltest zum Beispiel auf nen dial-peer voice 11 voip legen.
Des weiteren solltest die voice translation-rule 12 anpassen. Am besten Du schreibst da sowas wie:
Code:
voice translation-rule 12
 rule 1 /^123450/ /201/
 rule 2 /.*/ /201/
wobei 123450 Deine Telefonnummer ist. Dann klappt es sicher auch mit den eingehenden Anrufen.

Gruß
Miguel
 
Hallo Miguel,

vielen Danke für deine schnelle und perfekte Antworte. Jetzt kommen auch die eingehenden Anrufe an.

Für alle anderen die evtl. in Zukunft vor dem gleichen Problem stehen hier die funktionierende Konfiguration:

Code:
Current configuration : 5648 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname TESTBOX
!
boot-start-marker
boot system flash c2801-adventerprisek9-mz.124-24.T.bin
boot-end-marker
!
logging message-counter syslog
enable secret 5 $1$TB72$vR19nkIMg9QINnbYXk/Vu/
enable password cisco
!
no aaa new-model
network-clock-participate wic 2 
dot11 syslog
ip source-route
!
 !
!
!
ip cef
ip name-server 192.168.100.2
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type basic-net3
!
!
!
voice service voip 
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 supplementary-service h450.12
 no supplementary-service h225-notify cid-update
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
 fax protocol cisco 
 sip
  registrar server expires max 3600 min 3600
  localhost dns:sipgate.de
!
!
!
voice class codec 1
 codec preference 1 g729r8
 codec preference 2 g711alaw
 codec preference 3 g711ulaw
!
!
!
!
!
!
!
!
!
!
 !
!
voice register global
 max-dn 99
 max-pool 24
!
!
voice translation-rule 1
 rule 1 /^/ /00/ type national national
 rule 2 /^/ /000/ type international international
!
voice translation-rule 2
 rule 1 /^3300850/ //
!
voice translation-rule 3
 rule 1 /^0/ //
!
voice translation-rule 11
 rule 1 /^/ /0/ type unknown unknown
 rule 2 /^/ /00/ type national national
 rule 3 /^/ /000/ type international international
!
voice translation-rule 12
 rule 1 /^8707781/ /201/
 rule 2 /^30868707781/ /201/
 rule 3 /^030868707781/ /201/
!
!
voice translation-profile PSTN-Incoming
 translate calling 1
 translate called 2
!
voice translation-profile PSTN-S0-Outgoing
 translate called 3
!
voice translation-profile SIP-Incoming
 translate calling 11
 translate called 12
!
voice translation-profile SIP-Outgoing
 translate called 3
!
!
voice-card 0
!
!
 !
!
!
archive
 log config
  hidekeys
! 
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.100.11 255.255.255.0
 speed 100
 full-duplex
 no mop enabled
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface BRI0/2/0
 no ip address
 isdn switch-type basic-net3
 isdn overlap-receiving
 isdn point-to-point-setup
 isdn incoming-voice voice
 isdn send-alerting
 isdn sending-complete
 isdn static-tei 0
!
interface BRI0/2/1
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.100.2
ip http server
ip http authentication local
 no ip http secure-server
ip http path flash:
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
voice-port 0/2/0
 translation-profile incoming PSTN-Incoming
 compand-type a-law
 cptone DE
 bearer-cap 3100Hz
!
voice-port 0/2/1
!
 !
mgcp fax t38 ecm
!
!
!
dial-peer voice 1 pots
 tone ringback alert-no-PI
 description **Outgoing Call to PSTN**
 translation-profile outgoing PSTN-S0-Outgoing
 destination-pattern 9T
 progress_ind setup enable 3
 progress_ind progress enable 8
 direct-inward-dial
 port 0/2/0
 forward-digits all
!
dial-peer voice 10 voip
 description **Outgoing Call to SIP Trunk**
 translation-profile outgoing SIP-Outgoing
 destination-pattern 0T
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 clid network-number 8707781
 no vad
!
dial-peer voice 11 voip
 description **Incoming Call to SIP Trunk**
 translation-profile incoming SIP-Incoming
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 incoming called-number .%
 dtmf-relay rtp-nte
 no vad
!
!
sip-ua 
 authentication username 8707781 password 7 13334521401C3D
 no remote-party-id
 retry invite 2
 retry register 1
 retry options 1
 timers connect 100
 timers register 300
 registrar dns:sipgate.de expires 3600
 sip-server dns:sipgate.de
 host-registrar
!
!
!
telephony-service
 no auto-reg-ephone
 max-ephones 24
 max-dn 100
 ip source-address 192.168.100.11 port 2000
 caller-id block code *1
 calling-number initiator
 timeouts interdigit 5
 system message TESTBOX
 url services http://192.168.100.11/voiceview/common/login.do 
 url authentication http://192.168.100.11/voiceview/authentication/authenticate.do  
 cnf-file location flash:
 network-locale DE
 time-zone 23
 time-format 24
 date-format dd-mm-yy
 max-conferences 8 gain -6
 call-forward pattern .T
 moh music-on-hold.au
 web admin system name administrator secret 5 $1$KGUH$AytaE1y6mFfQHrOx2.DTN.
 dn-webedit 
 time-webedit 
 transfer-system full-consult dss
 transfer-pattern 0.T
 transfer-pattern .T
 secondary-dialtone 0
 create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn  1  dual-line
 number 201 no-reg primary
 label Zweihundert
 name Zweihundert, Eins
!
!
ephone-dn  2  dual-line
 number 202 no-reg primary
 label Zweihundert
 name Zweihundert, Zwei
!
!
ephone-dn  3  dual-line
 number 203 no-reg primary
 label Zweihundert
 name Zweihundert, Drei
!
!
ephone-dn  99  dual-line
 description ** SIP Registration **
 number 8707781

!
!
ephone  1
 device-security-mode none
 video
 mac-address 0015.5830.ADB6
 username "user1" password 12345
 type CIPC
 button  1:1 2m2 3m3
!
 !
!
ephone  2
 device-security-mode none
 video
 mac-address 0019.BB48.7CF0
 username "user2" password 12345
 type CIPC
 button  1:2 2m1 3m3
!
!
!
ephone  3
 device-security-mode none
 video
 mac-address 00D0.5965.AB29
 username "user3" password 12345
 type CIPC
 button  1:3 2:1 3:2
!
!
!
line con 0
 line aux 0
line vty 0 4
 password cisco
 login
!
scheduler allocate 20000 1000
end



Also, noch einmal vielen Dank.

Grüße
Stefan
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.