10-18-2013 09:32 AM - edited 03-16-2019 07:58 PM
I hae an AIM-CUE module installed into my 2851 router and when an on network call gets forwarded to voicemain, it works fine. IE: a call from extension 1001 to 1000 that does not get answered then gets forwarded to voicemail; this works.
However, if a call comes in on the SIP line (off netowrk) the call does get to the correct extension via a translation rule but if that call is now answered it does NOT get to voicemail.
Also, in neither case does the message indicator light become light. I can manually dial the WMI and via 80001000 and it comes on and 80011000 and it goes off.
Attached are my configs for the route and the CUE. I also ran a debug ccsip messages and debug ephone state, the results are also attached.
Any ideas why I am having these problems?
Solved! Go to Solution.
10-23-2013 09:18 AM
I compared my CUE config with a known working one and added the following information:
ccn subsystem sip
gateway address "10.110.0.1"
mwi envelope-info
dtmf-relay sip-notify
mwi sip unsolicited
transfer-mode semi-attended
end subsystem
MWI does not work at all, internal or external calls, If you dial 80001000 the MWI light does come on and if you dial 80011000 it goes off.
I can ping my entire network from the CUE prompt but I cannot ping an off-net ip address like 4.2.2.2
'show sip-ua status
SIP User Agent Status
SIP User Agent for UDP : ENABLED
SIP User Agent for TCP : ENABLED
SIP User Agent for TLS over TCP : ENABLED
SIP User Agent bind status(signaling): DISABLED
SIP User Agent bind status(media): DISABLED
SIP early-media for 180 responses with SDP: ENABLED
SIP max-forwards : 70
SIP DNS SRV version: 2 (rfc 2782)
NAT Settings for the SIP-UA
Role in SDP: NONE
Check media source packets: DISABLED
Maximum duration for a telephone-event in NOTIFYs: 2000 ms
SIP support for ISDN SUSPEND/RESUME: ENABLED
Redirection (3xx) message handling: ENABLED
Reason Header will override Response/Request Codes: DISABLED
Out-of-dialog Refer: DISABLED
Presence support is DISABLED
protocol mode is ipv4
SDP application configuration:
Version line (v=) required
Owner line (o=) required
Timespec line (t=) required
Media supported: audio video image
Network types supported: IN
Address types supported: IP4 IP6
Transport types supported: RTP/AVP udptl
show ccn application
Name: ciscomwiapplication
Description: ciscomwiapplication
Application type: aa
Script: setmwi.aef
ID number: 0
Enabled: yes
Maximum number of sessions: 6
CallControlGroupID: 0
strMWI_OFF_DN: 8001
strMWI_ON_DN: 8000
Name: msgnotification
Description: msgnotification
Application type: aa
Script: msgnotify.aef
ID number: 1
Enabled: yes
Maximum number of sessions: 6
DelayBeforeSendDTMF: 1
logoutUri: http://localhost/voicemail/vxmlscripts/mbxLogout.jsp
Name: voicemail
Description: voicemail
Application type: aa
Script: voicebrowser.aef
ID number: 2
Enabled: yes
Maximum number of sessions: 6
logoutUri: http://localhost/voicemail/vxmlscripts/mbxLogout.jsp
uri: http://localhost/voicemail/vxmlscripts/login.vxml
Name: autoattendant
Description: autoattendant
Application type: aa
Script: aa.aef
ID number: 3
Enabled: yes
Maximum number of sessions: 6
allowExternalTransfers: false
busClosedPrompt: AABusinessClosed.wav
businessSchedule: systemschedule
busOpenPrompt: AABusinessOpen.wav
dialByExtnAnytime: false
dialByExtnAnytimeInputLength: 4
dialByFirstName: false
disconnectAfterMenu: false
holidayPrompt: AAHolidayPrompt.wav
MaxRetry: 3
operExtn: 0
welcomePrompt: AAWelcome.wav
Name: promptmgmt
Description: promptmgmt
Application type: aa
Script: promptmgmt.aef
ID number: 4
Enabled: yes
Maximum number of sessions: 1
show trace buffer long
Press
5625 10/23 12:15:24.653 ACCN STGN 0 Task: 33000000004GetListMember: output string:unsolicited
5625 10/23 12:15:24.655 ACCN STGN 0 Task: 33000000004GetListMember: Position variable is beyond the string list: number of tokens in the list:1
5625 10/23 12:15:24.658 ACCN SIPL 0 SubscriptionLineImpl: Unsolicited Notify Message being sent:NOTIFY sip:1000@10.110.0.1:5060;transport=udp SIP/2.0
Max-Forwards: 70
To: <1000>1000>
From: <1000>;tag=ds4863474b1000>
Call-ID: 766c5b13-1101@sip:1000@10.110.0.2:5060
CSeq: 1 NOTIFY
Content-Length: 111
Contact: <1000>1000>
Content-Type: application/simple-message-summary
Event: message-summary
Messages-Waiting: yes
Message-Account: sip:1000@10.110.0.2
Voice-Message: 1/0 (0/0)
Fax-Message: 0/0 (0/0)
5759 10/23 12:15:24.673 ACCN SIPL 0 UnSolicitedNotificationCallback: Received failed final Response:SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 10.110.0.2:5060;branch=z9hG4bKJpf9dJnwt2q7L19uNbTyhw~~2
To: <1000>;tag=FE664-12771000>
From: <1000>;tag=ds4863474b1000>
Call-ID: 766c5b13-1101@sip:1000@10.110.0.2:5060
CSeq: 1 NOTIFY
Content-Length: 0
Date: Wed, 23 Oct 2013 16:15:24 GMT
5625 10/23 12:15:24.673 ACCN SIPL 0 SubscriptionLineImpl: Unsolicited Notify Message sent, result:false
5625 10/23 12:15:34.674 ACCN SIPL 0 SubscriptionLineImpl: Unsolicited Notify Message sent, result:false
I am confised as to which interface.ip address I should use for following command:
sip
bind control source-interface (SIP interface)
bind media source-interface (SIP interface)
10-23-2013 06:21 PM
Is there anythingelse you need from me?
10-23-2013 07:38 PM
Do you have a firewall in front of CME doing NAT?
In the SIP debugs above, it looks like IP address 185.35.78.39 is being used for SIP on the outside. Is that nat'd to a intrernal IP address? I see a interface with ip address dhcp in the provided config, but it is shutdown unless that was a typo.
Do a 'show ip int brief | exc unass' on the CME and see if that 185.x.x.x address is on one of your interfaces or try the MWI server command I mentioned earlier on the CME/router.
sip-ua
mwi-server 10.110.0.1 unsolicited
Maybe reach out to Cisco TAC or your consulting/partner/etc for further help since the info provided above should get you going on right path.
10-23-2013 09:11 PM
Yes my SIP provider's IP address is 185.35.78.39. My cell phone is providieng my Interent access and does the NATing. I used to have HughesNet which is the interface you now see shut down.
I do not have any Cisco support other than these forums. Here is the result fro the show ip int brief | exc unass command:
Interface IP-Address OK? Method Status Protocol
Service-Engine0/1 10.110.0.1 YES unset up up
GigabitEthernet0/1.30 192.168.30.1 YES NVRAM up up
GigabitEthernet0/1.69 192.168.69.1 YES NVRAM up up
GigabitEthernet0/1.110 10.110.0.1 YES NVRAM up up
GigabitEthernet0/1.125 192.168.125.1 YES NVRAM up up
GigabitEthernet0/1.200 192.168.200.1 YES NVRAM up up
Loopback1 192.168.100.101 YES NVRAM up up
NVI0 192.168.100.101 YES unset up up
I did try the sip-ua command suggested to no avail. I am so stuck! I even tried to wipe the CUE-AIM card's config and start from scratch, still not working.
10-23-2013 09:46 PM
Hi Michael,
Below config is wrong in CUE
ccn subsystem sip
mwi sip unsolicited
end subsystem
Below config will work:
ccn subsystem sip
gateway address "10.110.0.1"
mwi envelope-info
dtmf-relay sip-notify
mwi sip unsolicited
transfer-mode semi-attended
end subsystem
Now , since MWI is unsolicited, you MWI ON and OFF numbers are redundant . you can remove those configurations without risk.
10.110.0.2 is your CUE.
so add following commands :
sip-ua
mwi server 10.110.0.2 port 5060 expires 3600 transport udp unsolicited
telephony-service
mwi relay
ephone-dn-template 1
mwi sip
add this template to all the ephone-dns where you need MWI . These will be button 1 of ephones.
this way MWI will start working.
Still if you have problem with external calls try following
Make voicemail dial-peer exact.
destination-pattern 5000
voice-translation rule 50
rule 1 /.*\(....\)/ /\1/
voice-translation profile CUEVM
translate redirect-called 50
dial-peer voice 5000 voip
description Dial-peer to the Voicemail System"
destination-pattern 5000
translation-profile outgoing CUEVM
session protocol sipv2
session target ipv4:10.110.0.2
dtmf-relay sip-notify
codec g711ulaw
no vad
Let me know the results.
Regards,
Aman
10-23-2013 11:29 PM
Ok, on your Cell phone that is doing the NAT...
What IP on the CME is 185.35.78.39 or 70.209.2.95 NAT'd to?
What I'm trying to figure out is what interface on the CME is the SIP traffc going to from your provider, this way we chose the right interface to bind SIP to so the outside calls don't break.
Does the NAT do SIP inspection of any sort?
What type of cell phone has NAT you can configure?
10-24-2013 07:42 AM
Michael,
From the logs,
5759 10/23 12:15:24.673 ACCN SIPL 0 UnSolicitedNotificationCallback: Received failed final Response:SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 10.110.0.2:5060;branch=z9hG4bKJpf9dJnwt2q7L19uNbTyhw~~2
To: <1000>;tag=FE664-12771000>
From: <1000>;tag=ds4863474b1000>
Call-ID: 766c5b13-1101@sip:1000@10.110.0.2:5060
CSeq: 1 NOTIFY
Content-Length: 0
Date: Wed, 23 Oct 2013 16:15:24 GMT
We can see that your CUE is attempting to use unsolicited notifcation but its not getting any response back from the ccme because your CCME is not configured correctly..
Please add this config..
sip-ua
mwi-server ipv4:10.110.0.2 transport udp port 5060 unsolicited
ephone-dn xx (xx=your any ephone-dn on your ccme you want mwi for)
mwi sip
or you can use ephone-dn template as suggested by Aman above
ephone-dn-template 1
mwi sip
You need to assign this to your ephone-dns..
Please test again...if it doesnt work please post the following outputs
from CCME
1. debug ccsip messages
from your cue
1.
show software licenses
2. collect the traces as I suggested earlier and send over
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
10-24-2013 07:46 AM
10-24-2013 08:10 PM
Hi Micheal,
Kindly rate all useful posts.
“If you have knowledge, let others light their candles in it.”
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide