hitman22
Goto Top

Cisco Cube CUCM Konfiguration

Hallo zusammen,

ich habe bei mir zu Hause ein CUCM als Eval Version installiert und meinen Cisco 891F als Cube eingerichtet. Als SIP Provider habe ich 1und1 und es handelt sich um eine Heim DSL Leitung mit nur einer Rufnummer.
Der CUCM ist erfolgreich mit dem Cube verbunden und im Router erscheinen auch SIP Logs wenn versucht wird ein Anruf zu machen. Allerdings scheint aber der Cube den Anruf nicht an 1und1 zu leiten, damit dieser als externer Anruf gesehen wird.
Der Cisco Router scheint sich aber korrekt mit 1und1 zu verbinden.

Das ist meine momentane Config auf dem Router. Allerdings wird diese nicht korrekt oder vollständig sein, warum es nicht funktioniert.

description incoming call from CUCM
session protocol sipv2
session target sip-server
incoming uri via 2
dtmf-relay rtp-nte sip-notify
no vad
!
dial-peer voice 1 voip
description incoming calls from ITSP
session protocol sipv2
session target ipv4:172.16.3.107
incoming called-number .
dtmf-relay rtp-nte sip-notify
no vad
!
dial-peer voice 4 voip
description outgoing dial-peer from CUBE to 1und1
destination-pattern .T
session protocol sipv2
session target sip-server
session transport udp
voice-class codec 1
voice-class sip asserted-id pai
voice-class sip options-keepalive
dtmf-relay rtp-nte
no vad
!
!
sip-ua
credentials username username password 7 pass realm 1und1.de
authentication username username password 7 pass realm 1und1.de
registrar dns:sip.1und1.de expires 3600
sip-server dns:sip.1und1.de
host-registrar

Auf dem CUCM habe ich als Router Pattern mal meine Handynummer als Test angegeben. Auf meinem Yealink Telefon erscheint dann nur Serverfehler.
Das ist noch ein Beispiellog auf dem Router:

Received:
INVITE sip:Ext. Nr.@172.16.0.254:5060 SIP/2.0
Via: SIP/2.0/TCP 172.16.3.107:5060;branch=z9hG4bK1748a16a83
From: "Eigene Nr." <sip:Eigene Nr.@172.16.3.107>;tag=31~022c230b-9402-45c4-b74d-9f9846eab3d1-24720732  
To: <sip:Ext. Nr.@172.16.0.254>
Date: Mon, 06 Jun 2022 19:15:32 GMT
Call-ID: 78fa780-29e15254-18-6b0310ac@172.16.3.107
Supported: timer,resource-priority,replaces
Min-SE:  1800
User-Agent: Cisco-CUCM11.5
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
CSeq: 101 INVITE
Expires: 180
Allow-Events: presence
Supported: X-cisco-srtp-fallback,X-cisco-original-called
Call-Info: <urn:x-cisco-remotecc:callinfo>;x-cisco-video-traffic-class=DESKTOP
Session-ID: 3eedf7ca85d70933d87d0d31ecfeaa30;remote=00000000000000000000000000000000
Cisco-Guid: 0126855040-0000065536-0000000002-1795362988
Session-Expires:  1800
P-Asserted-Identity: "Eigene Nr." <sip:Eigene Nr.@172.16.3.107>  
Remote-Party-ID: "Eigene Nr." <sip:Eigene Nr.@172.16.3.107>;party=calling;screen=yes;privacy=off  
Contact: <sip:Eigene Nr.@172.16.3.107:5060;transport=tcp>
Max-Forwards: 69
Content-Type: application/sdp
Content-Length: 328

v=0
o=CiscoSystemsCCM-SIP 31 1 IN IP4 172.16.3.107
s=SIP Call
c=IN IP4 172.16.0.108
b=TIAS:64000
b=AS:64
t=0 0
m=audio 12772 RTP/AVP 9 0 8 18 101
a=ptime:20
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

Jun  6 21:15:32.806 CEST: //8759/078FA7800000/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/TCP 172.16.3.107:5060;branch=z9hG4bK1748a16a83
From: "Eigene Nr." <sip:Eigene Nr.@172.16.3.107>;tag=31~022c230b-9402-45c4-b74d-9f9846eab3d1-24720732  
To: <sip:Ext. Nr.@172.16.0.254>
Date: Mon, 06 Jun 2022 19:15:32 GMT
Call-ID: 78fa780-29e15254-18-6b0310ac@172.16.3.107
CSeq: 101 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.8.3.M8
Session-ID: 00000000000000000000000000000000;remote=3eedf7ca85d70933d87d0d31ecfeaa30
Content-Length: 0


Jun  6 21:15:32.806 CEST: //8760/078FA7800000/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x0x179DE8F8
State of The Call        : STATE_DEAD
TCP Sockets Used         : YES
Calling Number           : Eigene Nr.
Called Number            : Ext. Nr.
Source IP Address (Sig  ): 0.0.0.0
Destn SIP Req Addr:Port  : :0
Destn SIP Resp Addr:Port : :0
Destination Name         :

Jun  6 21:15:32.806 CEST: //8760/078FA7800000/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream             : 1
Negotiated Codec         : No Codec
Negotiated Codec Bytes   : 0
Nego. Codec payload      : 255 (tx), 255 (rx)
Negotiated Dtmf-relay    : 0
Dtmf-relay Payload       : 0 (tx), 0 (rx)
Source IP Address (Media):  -
Source IP Port    (Media): 0
Destn  IP Address (Media):  -
Destn  IP Port    (Media): 0
Orig Destn IP Address:Port (Media): [ - ]:0

Jun  6 21:15:32.806 CEST: //8760/078FA7800000/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC)    : 188
Disconnect Cause (SIP)   : 200

Jun  6 21:15:32.806 CEST: //8759/078FA7800000/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/TCP 172.16.3.107:5060;branch=z9hG4bK1748a16a83
From: "Eigene Nr." <sip:Eigene Nr.@172.16.3.107>;tag=31~022c230b-9402-45c4-b74d-9f9846eab3d1-24720732  
To: <sip:Ext. Nr.@172.16.0.254>;tag=99FDDC34-255E
Date: Mon, 06 Jun 2022 19:15:32 GMT
Call-ID: 78fa780-29e15254-18-6b0310ac@172.16.3.107
CSeq: 101 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.8.3.M8
Reason: Q.850;cause=0
Session-ID: 00000000000000000000000000000000;remote=3eedf7ca85d70933d87d0d31ecfeaa30
Content-Length: 0


Jun  6 21:15:32.810 CEST: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:Ext. Nr.@172.16.0.254:5060 SIP/2.0
Via: SIP/2.0/TCP 172.16.3.107:5060;branch=z9hG4bK1748a16a83
From: "Eigene Nr." <sip:Eigene Nr.@172.16.3.107>;tag=31~022c230b-9402-45c4-b74d-9f9846eab3d1-24720732  
To: <sip:Ext. Nr.@172.16.0.254>;tag=99FDDC34-255E
Date: Mon, 06 Jun 2022 19:15:32 GMT
Call-ID: 78fa780-29e15254-18-6b0310ac@172.16.3.107
User-Agent: Cisco-CUCM11.5
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: presence
Content-Length: 0


Jun  6 21:15:32.810 CEST: //8759/078FA7800000/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x0x179D1A28
State of The Call        : STATE_DEAD
TCP Sockets Used         : YES
Calling Number           : Eigene Nr.
Called Number            : Ext. Nr.
Source IP Address (Sig  ): 172.16.0.254
Destn SIP Req Addr:Port  : 172.16.3.107:5060
Destn SIP Resp Addr:Port : 172.16.3.107:51874
Destination Name         : 172.16.3.107


Jun  6 21:15:32.810 CEST: //8759/078FA7800000/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream             : 1
Negotiated Codec         : g729r8
Negotiated Codec Bytes   : 20
Nego. Codec payload      : 18 (tx), 18 (rx)
Negotiated Dtmf-relay    : 6
Dtmf-relay Payload       : 101 (tx), 101 (rx)
Source IP Address (Media): 172.16.0.254
Source IP Port    (Media): 16436
Destn  IP Address (Media): 172.16.0.108
Destn  IP Port    (Media): 12772
Orig Destn IP Address:Port (Media): [ - ]:0

Jun  6 21:15:32.810 CEST: //8759/078FA7800000/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC)    : 38
Disconnect Cause (SIP)   : 503

Der Cube hat die IP 172.16.0.254 und der CUCM hat die IP 172.16.3.107.

Ich hoffe Ihr könnt mir dort weiterhelfen und bitte noch mitteilen, falls ich noch etwas vergessen habe.

Vielen Dank.

Content-Key: 3003460496

Url: https://administrator.de/contentid/3003460496

Printed on: April 29, 2024 at 20:04 o'clock

Mitglied: 148523
148523 Jun 07, 2022 at 07:18:45 (UTC)
Goto Top
um eine Heim DSL Leitung mit nur einer Rufnummer.
Jede "Heim" DSL hat normalerweise 3 mindestens aber immer 2 Rufnummern. Was ist da schiefgelaufen bei dir?
Der Cube hat die IP 172.16.0.254 und der CUCM hat die IP 172.16.3.107.
Du nutzt dafür 2 unterschiedliche IP Netze, ist das richtig?
Member: hitman22
hitman22 Jun 08, 2022 at 07:38:00 (UTC)
Goto Top
Wegen der Rufnummer die ist schon länger in Gebrauch und habe mir eigentlich um die zusätzlichen Rufnummern noch nie Gedanken gemacht. Das muss ich sonst bei 1und1 mal schauen, ob noch zusätzliche Rufnummern hinterlegt sind. Die FritzBox die ich sonst genutzt habe, hat immer nur eine Nummer registriert und nicht mehrere.

Die zwei unterschiedlichen Netze sind richtig und diese können sich auch untereinander ohne Probleme erreichen.