[Problem] Cisco 1760 / Asterisk / Fritz.box

Sany1984

Neuer User
Mitglied seit
20 Nov 2007
Beiträge
13
Punkte für Reaktionen
0
Punkte
0
Hallo Zusammen,

Es wird ein bisschen komplizierter.

Ich habe eine Fritzbox über KabelBW.
Einen Cisco 1760 für die IP Telefone. Soft: ((C1700-ADVENTERPRISEK9-M), Version 12.4(15)T14, RELEASE SOFTWARE (fc2))
Einen Asterisk Server als Gateway für den Cisco 1760.

So, da Ich dem Cisco 1760 nicht 6 SIP Accounts beibringen kann, muss ich das ganze zwangsweise über den Asterisk Server machen, da der Cisco 1760 keine ISDN Module besitzt außer das WIC, (was wohl für Telefonie weg fällt?!) so das Ich Ihn direkt an den ISDN Port der Fritzbox hängen könnte.

Nun habe ich aber mehrere Probleme.....

1. Problem, wenn ich nun von Extern die 4 MSN's anrufe, wird mein Anruf korrekt zum Cisco geleitet, wo auch nur das betroffene Telefon klingelt. Nun wenn ich aber abhebe, höre ich nichts, null... woran liegt das?!
2. Wenn ich versuche von einem Telefon mit einer MSN anzurufen, erhalte ich auf dem Asterisk die Fehlermeldung das eine Extension für 1000/1001/1002/1003 für meine Extension "ankommend" fehlt..
Wie muss ich die Extension zum Externen Telefonieren anlegen, so das er die 1000/1001/1002/1003 auf die jeweilige MSN leitet und dann Called?

Wäre für Hilfe und Tipps sehr sehr dankbar :-)


So die Server Konfiguration von meinem Asterisk sieht wie folgt aus:

Fritzbox: 192.168.1.1
Cisco 1760: 192.x.x.4
Asterisk: 192.x.x.23


sip.conf:
Code:
[general]
context=ankommend
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
register => 622:[email protected]/MSN1
register => 623:[email protected]/MSN2
register => 625:[email protected]/MSN3
register => 626:[email protected]/MSN4


[MSN1]
type=peer
username=622
fromuser=622
secret=passwort
host=fritz.box
fromdomain=fritz.box
insecure=port,invite
canreinvite=no
nat=no
disallow=all
allow=ulaw
context=ankommend

[MSN2]
type=peer
username=623
fromuser=623
secret=passwort
fromdomain=fritz.box
host=fritz.box
insecure=port,invite
canreinvite=no
nat=no
disallow=all
allow=ulaw
context=ankommend

[MSN3]
type=peer
username=625
fromuser=625
secret=passwort
host=fritz.box
fromdomain=fritz.box
insecure=port,invite
canreinvite=no
nat=no
disallow=all
allow=ulaw

[MSN4]
type=peer
username=626
fromuser=626
secret=passwort
host=fritz.box
fromdomain=fritz.box
insecure=port,invite
canreinvite=no
nat=no
disallow=all
allow=ulaw

[1000]
type=peer
nat=no
username=1000
fromuser=1000
host=dynamic
insecure=port,invite
allow=ulaw
dtmfmode=rfc2833


[1001]
type=peer
nat=no
host=dynamic
username=1001
fromuser=1001
insecure=port,invite
allow=ulaw
dtmfmode=rfc2833

[1002]
type=peer
host=dynamic
username=1002
insecure=port,invite
allow=ulaw
dtmfmode=rfc2833
[1003]
type=peer
host=dynamic
username=1003
insecure=port,invite
allow=ulaw
dtmfmode=rfc2833

[fritz_box_in]
type=peer
fromdomain=fritz.fonwlan.box
host=fritz.fonwlan.box
disallow=all
allow=ulaw
context=ankommend

extensions.conf:
Code:
[general]
static=yes
writeprotect=no

[lokal]
exten => _3X,1,NoCDR()
exten => _3X,n,Dial,SIP/${EXTEN}|55|Tt

[fritzbox_out]
exten => _0.,1,Dial,SIP/${EXTEN}MSN1|45|r
exten => _0.,1,Dial,SIP/${EXTEN}MSN2|45|r
exten => _0.,1,Dial,SIP/${EXTEN}MSN3|45|r
exten => _0.,1,Dial,SIP/${EXTEN}MSN4|45|r

[default]
include => lokal
include => fritzbox_out

[ankommend]
exten => MSN1,1,Dial(SIP/1000,20,mTt)
exten => MSN1,2,Hangup
exten => MSN2,1,Dial(SIP/1001,20,mTt)
exten => MSN2,2,Hangup
exten => MSN3,1,Dial(SIP/1002,20,mTt)
exten => MSN3,2,Hangup
exten => MSN4,1,Dial(SIP/1003,20,mTt)
exten => MSN4,2,Hangup

Cisco 1760 config:

Code:
cisco1760#show run
Building configuration...

Current configuration : 3909 bytes
!
! Last configuration change at 02:19:57 UTC Sat Sep 7 2013 by cisco
! NVRAM config last updated at 00:38:42 UTC Sat Sep 7 2013
!
version 12.4
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco1760
!
boot-start-marker
boot-end-marker
!
enable secret 5 x
enable password x
!
no aaa new-model
no ip routing
no ip cef
!
!
!
!
no ip domain lookup
ip domain name domain
!
multilink bundle-name authenticated
!
!
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username cisco privilege 15 secret 5 x
!
!
!
!
ip ssh source-interface FastEthernet0/0
!
!
!
!
interface FastEthernet0/0
 ip address 192.x.x.4 255.255.255.0
 no ip route-cache
 speed auto
 h323-gateway voip interface
!
interface BRI0/0
 no ip address
 encapsulation hdlc
 no ip route-cache
 shutdown
!
no ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip http path flash:
!
access-list 23 permit 192.x.x.0 0.0.0.100
snmp-server community public RO
!
!
!
!
tftp-server flash:P0030801SR02.bin
tftp-server flash:S00105000400.sbn
tftp-server flash:P00308000400.bin
tftp-server flash:P00308000400.loads
tftp-server flash:P00308000400.sb2
tftp-server flash:P00308000400.sbn
tftp-server flash:P0030801SR02.loads
tftp-server flash:P0030801SR02.sb2
tftp-server flash:P0030801SR02.sbn
!
control-plane
!
!
!
!
!
!
!
!
dial-peer voice 1 voip
 service session
 destination-pattern 0T
 session protocol sipv2
 session target ipv4:192.x.x.23:5060
 session transport udp
 dtmf-relay rtp-nte
 codec g711ulaw
 clid network-number MSN1
 no vad
!
dial-peer voice 100 pots
!
dial-peer voice 2 voip
 service session
 destination-pattern 0T
 session protocol sipv2
 session target ipv4:192.x.x.4
 codec g711ulaw
 clid network-number MSN2
!
sip-ua
 credentials username 1000 password x realm fritz.box
 registrar ipv4:192.x.x.23 expires 360
 sip-server ipv4:192.x.x.23
!
!
telephony-service
 load 7960-7940 P0030801SR02
 load 7914 S00105000400
 max-ephones 2
 max-dn 8
 ip source-address 192.x.x.4 port 2000
 auto assign 1 to 2
 system message x
 user-locale DE
 user-locale 1 DE
 user-locale 2 DE
 user-locale 3 DE
 user-locale 4 DE
 network-locale DE
 network-locale 1 DE
 network-locale 2 DE
 network-locale 3 DE
 network-locale 4 DE
 time-format 24
 date-format dd-mm-yy
 voicemail 1100
 max-conferences 4 gain -6
 web admin system name x password x
 dn-webedit
 time-webedit
 transfer-system full-consult
 create cnf-files version-stamp 7960 Sep 06 2013 23:53:15
!
!
ephone-dn  1  dual-line
 number 1000 secondary MSN1 no-reg
 label MSN1
 name MSN1
 call-forward busy 1100
 call-forward noan 1100 timeout 18
!
!
ephone-dn  2  dual-line
 number 1001 secondary MSN2 no-reg
 label MSN2
 name MSN2
 call-forward busy 1100
 call-forward noan 1100 timeout 18
!
!
ephone-dn  3
 number 1002 secondary MSN3 no-reg
 label MSN3
 name MSN3
 hold-alert 30 originator
!
!
ephone-dn  4
 number 1003 secondary MSN4 no-reg
 label MSN4
 name MSN4
 hold-alert 30 originator
!
!
ephone  1
 no multicast-moh
 mac-address 0007.EBC8.01E7
 keepalive 30 auxiliary 0
 type 7960 addon 1 7914
 button  1:1 2:2 4s3 5m4
!
!
!
ephone  2
 no multicast-moh
 mac-address 0012.01E8.7356
 keepalive 30 auxiliary 0
 type 7960 addon 1 7914
 button  1:3 3b1 4b2 6s4
!
!
banner exec ^C
banner login ^C
!
line con 0
 login local
line aux 0
line vty 0 4
 access-class 23 in
 privilege level 15
 password x
 login local
 transport input telnet ssh
line vty 5 15
 access-class 23 in
 privilege level 15
 login local
 transport input telnet ssh
!
ntp master 10
end

Cisco 1760 diag:

Code:
cisco1760#show diag
Slot 0:
        C1760 1FE VE 4SLOT DV Mainboard Port adapter, 2 ports
        Port adapter is analyzed
        Port adapter insertion time unknown
        EEPROM contents at hardware discovery:
        Hardware Revision        : 5.0
        PCB Serial Number        : FOC08503W0K
        Part Number              : 73-7167-05
        Board Revision           : B0
        Fab Version              : 04
        Product (FRU) Number     : CISCO1760
        EEPROM format version 4
        EEPROM contents (hex):
          0x00: 04 FF 40 03 16 41 05 00 C1 8B 46 4F 43 30 38 35
          0x10: 30 33 57 30 4B 82 49 1B FF 05 42 42 30 02 04 FF
          0x20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
          0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

        Packet Voice DSP Module Slot 0:
        Hardware Revision        : 3.2
        Part Number              : 73-6726-01
        Board Revision           : A0
        Deviation Number         : 0-0
        Fab Version              : 03
        PCB Serial Number        : VIC08303ZTH
        RMA Test History         : 00
        RMA Number               : 0-0-0-0
        RMA History              : 00
        Processor type           : 02
        Number of DSP's          : 1
        DSP memory size(in kwords): 256
        Type of DSP              : TMS320C549
        Product (FRU) Number     : PVDM-256K-4=
        EEPROM format version 4
        EEPROM contents (hex):
        0x00:   04 FF 40 02 AC 41 03 02 82 49 1A 46 01 42 41 30
        0x10:   80 00 00 00 00 02 03 C1 8B 56 49 43 30 38 33 30
        0x20:   33 5A 54 48 03 00 81 00 00 00 00 04 00 09 02 FF

        Packet Voice DSP Module Slot 1:
        Not populated

        WIC/VIC Slot 0:
        BRI S/T - 2186
        Hardware revision 1.3   Board revision A0
        Serial number     0031772251    Part number    800-01833-05
        FRU Part Number   WIC-1B-S/T=

        Test history      0x00          RMA number     00-00-00
        Connector type    WAN Module
        EEPROM format version 1
        EEPROM contents (hex):
        0x20:   01 07 01 03 01 E4 CE 5B 50 07 29 05 00 00 00 00
        0x30:   50 00 00 00 04 01 26 01 FF FF FF FF FF FF FF FF
 
Kostenlos!

Statistik des Forums

Themen
248,975
Beiträge
2,307,464
Mitglieder
378,748
Neuestes Mitglied
Lishheshuyg