Cisco Callmanager & Asterisk als IVR

suchmich1983

Neuer User
Mitglied seit
31 Okt 2008
Beiträge
5
Punkte für Reaktionen
0
Punkte
0
Hallo IP Phoner,

ich hoffe ich bin hier richtig und es kann mir von Euch jemand helfen.

Ich würde Asterisk gerne als IVR einsetzen. Wir nutzen bereits den Cisco Callmanager in der Version 4.1 als VoIP Anlage.

Hier die Dinge, die ich bereits konfiguriert habe:
- Asterisk installiert und eingerichtet
- SIP Trunk am Callmanager eingerichtet (wie im HowTo auf voip-info.org)
- Route Pattern im Callmanager erstellt

Calls vom Callmanager zum Asterisk funktionieren auch einwandfrei und landen im IVR. Wenn ich nun aber das Gespräch an den Callmanager zurück geben will, bekomme ich immer die Meldung, dass alle "busy" sind.

Hier mal ein Ausschnit aus dem Asterisk Log:
Code:
<------------>
    -- Executing [891000@default:1] Goto("SIP/192.168.5.62-0821d470", "voicemenu-custom-1|s|1") in new stack
    -- Goto (voicemenu-custom-1,s,1)
    -- Executing [s@voicemenu-custom-1:1] Answer("SIP/192.168.5.62-0821d470", "") in new stack
Audio is at 192.168.5.74 port 13678
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<--- Reliably Transmitting (no NAT) to 192.168.5.62:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP  192.168.5.62:5060;branch=z9hG4bK74b6e96c;received=192.168.5.62
From: "Pohle, Christian" <sip:[email protected]>;tag=34450992
To: <sip:[email protected]>;tag=as0bb20ee7
Call-ID: [email protected]
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 240

v=0
o=root 12508 12508 IN IP4 192.168.5.74
s=session
c=IN IP4 192.168.5.74
t=0 0
m=audio 13678 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

<------------>
    -- Executing [s@voicemenu-custom-1:2] BackGround("SIP/192.168.5.62-0821d470", "thank-you-for-calling") in new stack
    -- <SIP/192.168.5.62-0821d470> Playing 'thank-you-for-calling' (language 'de')
asterisk1*CLI>
<--- SIP read from 192.168.5.62:5060 --->
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP  192.168.5.62:5060;branch=z9hG4bKa5514aa
From: "Pohle, Christian" <sip:[email protected]>;tag=34450992
To: <sip:[email protected]>;tag=as0bb20ee7
Date: Wed, 12 Nov 2008 11:23:04 GMT
Call-ID: [email protected]
Max-Forwards: 70
CSeq: 101 ACK
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
  == CDR updated on SIP/192.168.5.62-0821d470
    -- Executing [491534@voicemenu-custom-1:1] Dial("SIP/192.168.5.62-0821d470", "SIP/[email protected]|45") in new stack
Audio is at 192.168.5.74 port 17628
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 192.168.5.61:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.5.74:5060;branch=z9hG4bK59479640;rport
From: "Pohle, Christian" <sip:[email protected]>;tag=as48dc960d
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 12 Nov 2008 11:20:42 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 287

v=0
o=root 12508 12508 IN IP4 192.168.5.74
s=session
c=IN IP4 192.168.5.74
t=0 0
m=audio 17628 RTP/AVP 0 3 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---
    -- Called [email protected]
asterisk1*CLI>
<--- SIP read from 192.168.5.61:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.5.74:5060;branch=z9hG4bK59479640;rport
From: "Pohle, Christian" <sip:[email protected]>;tag=as48dc960d
To: <sip:[email protected]>;tag=50881615
Date: Wed, 12 Nov 2008 11:23:08 GMT
Call-ID: [email protected]
CSeq: 102 INVITE
Allow-Events: telephone-event
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
asterisk1*CLI>
<--- SIP read from 192.168.5.61:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.5.74:5060;branch=z9hG4bK59479640;rport
From: "Pohle, Christian" <sip:[email protected]>;tag=as48dc960d
To: <sip:[email protected]>;tag=50881615
Date: Wed, 12 Nov 2008 11:23:08 GMT
Call-ID: [email protected]
CSeq: 102 INVITE
Allow-Events: telephone-event
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Transmitting (no NAT) to 192.168.5.61:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.5.74:5060;branch=z9hG4bK59479640;rport
From: "Pohle, Christian" <sip:[email protected]>;tag=as48dc960d
To: <sip:[email protected]>;tag=50881615
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
    -- SIP/192.168.5.61-082213e8 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
  == Auto fallthrough, channel 'SIP/192.168.5.62-0821d470' status is 'CONGESTION'
Really destroying SIP dialog '[email protected]' Method: INVITE
asterisk1*CLI>
<--- SIP read from 192.168.5.62:5060 --->
BYE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP  192.168.5.62:5060;branch=z9hG4bK44e089c
From: "Pohle, Christian" <sip:[email protected]>;tag=34450992
To: <sip:[email protected]>;tag=as0bb20ee7
Date: Wed, 12 Nov 2008 11:23:04 GMT
Call-ID: [email protected]
User-Agent: Cisco-CCM4.1
Max-Forwards: 70
CSeq: 102 BYE
Content-Length: 0


<------------->
--- (10 headers 0 lines) ---
Sending to 192.168.5.62 : 5060 (no NAT)

<--- Transmitting (no NAT) to 192.168.5.62:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP  192.168.5.62:5060;branch=z9hG4bK44e089c;received=192.168.5.62
From: "Pohle, Christian" <sip:[email protected]>;tag=34450992
To: <sip:[email protected]>;tag=as0bb20ee7
Call-ID: [email protected]
CSeq: 102 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]>
Content-Length: 0

asterisk1*CLI>
<------------>
Really destroying SIP dialog '[email protected]' Method: BYE

Callmanager und Asterisk scheinen zu kommunizieren. Frage nun, wo liegt der Fehler? Kann es sein, dass am CCM zusätzlich zum Trunk noch Einstellungen durchgeführt werden müssen? Muss man sich am CCM authentifizieren?

Gerne kann ich auch noch meine Configs posten, habe das erstmal nicht getan, der Übersichthalber....

Wäre für jede Hilfe dankbar, weis nämlich nicht mehr weiter!! :(

Danke und Gruß
 
So, hab die Lösung gefunden!!

Im SIP Trunk am Callmanager muss im Menüpunkt "Significant Digits" der Wert größer eingetragen werden, als die ankommenden Nummern.

Als Beispiel:
Will ich vom Asterisk die Nummer "491536" anwählen, muss bei "Significant Digits" mindest der Wert 7 gewählt werden. Dann funktionierts!!!

Grüße
Christian
 

Zurzeit aktive Besucher

Neueste Beiträge

Statistik des Forums

Themen
244,858
Beiträge
2,219,651
Mitglieder
371,572
Neuestes Mitglied
#Kuddel#
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.