External calls to voicemail not working / WMI not working

Answered Question
Oct 18th, 2013
User Badges:

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?

Correct Answer by Ayodeji Okanlawon about 3 years 9 months ago

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: ;tag=FE664-1277

From: ;tag=ds4863474b

Call-ID: [email protected]:[email protected]: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"

Correct Answer by Ayodeji Okanlawon about 3 years 9 months ago

Michael..


The problem seem to be with sip 302 moved temporary message CCME is sending to your provider


Sent:

SIP/2.0 302 Moved Temporarily

Via: SIP/2.0/TCP 185.35.78.39:5070;alias;rport;branch=z9hG4bK653597487

From: "MICHAEL DURHAM" ;tag=2119059440

To: ;tag=E6A202C-21E9

Date: Fri, 18 Oct 2013 16:16:24 GMT

Call-ID: [email protected]

CSeq: 25148 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Diversion: ;reason=no-answer;counter=1

Contact:

Content-Length: 0


Please add this command and test again..Attach the logs again, if it doesnt work


Router(config)#voice service voip

Router(conf-voi-serv)#no supplementary-service sip moved-temporarily



Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Ayodeji Okanlawon Tue, 10/22/2013 - 08:26
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Michael..


The problem seem to be with sip 302 moved temporary message CCME is sending to your provider


Sent:

SIP/2.0 302 Moved Temporarily

Via: SIP/2.0/TCP 185.35.78.39:5070;alias;rport;branch=z9hG4bK653597487

From: "MICHAEL DURHAM" ;tag=2119059440

To: ;tag=E6A202C-21E9

Date: Fri, 18 Oct 2013 16:16:24 GMT

Call-ID: [email protected]

CSeq: 25148 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Diversion: ;reason=no-answer;counter=1

Contact:

Content-Length: 0


Please add this command and test again..Attach the logs again, if it doesnt work


Router(config)#voice service voip

Router(conf-voi-serv)#no supplementary-service sip moved-temporarily



Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Erick Bergquist Mon, 10/21/2013 - 17:20
User Badges:
  • Silver, 250 points or more

I'm unable to pull up the attachments on the mobile tech support app, but check The CUE SIP proxy server (sip server) IP
Address is the sip interface on CME (sip binding on CME/router).

I can check attachments when i get in front of computer later.

Sent from Cisco Technical Support iPhone App

islam.kamal Mon, 10/21/2013 - 22:40
User Badges:
  • Red, 2250 points or more

Hi


Can you find the below , please?.


voice service voip

allow-connections sip to sip

allow-connections sip to h323

allow-connections h323 to h323

allow-connections h323 to sip


sip

registrar server expires max 1200 min 300



Thank you

please rate all useful information

Erick Bergquist Tue, 10/22/2013 - 07:50
User Badges:
  • Silver, 250 points or more

Michael,


Check these two items out.   The SIP Gateway on CUE needs to match the SIP interface (binding) on CME. 


CUE# show ccn subsystem sip

SIP Gateway:                           10.1.2.3

SIP Port Number:                        5060

DTMF Relay:                             sip-notify

MWI Notification:                       outcall

Transfer Mode:                          bye-also

SIP RFC Compliance:                     Pre-RFC3261



CME/ROUTER:



voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

sip

  bind control source-interface Vlan1

bind media source-interface Vlan1



So in above, Vlan1 on the router/CME is IP address 10.1.2.3 which matches the CUE SIP setting.

Michael Durham Tue, 10/22/2013 - 09:11
User Badges:

The command, no supplementary-service sip moved-temporarily, fixed the external calls not going to voicemail.  But the WMI light still does not work.  Also,  sometimes when an external call goes to voicemail, the announcementis played and after the beek all you hear is atone.


Thanks for helping me move forward but I still need WMI working.

Erick Bergquist Tue, 10/22/2013 - 09:14
User Badges:
  • Silver, 250 points or more

Did you look at the SIP binding items I posted above?

Michael Durham Tue, 10/22/2013 - 09:23
User Badges:

I do not have a VLan option there.


CME_Router(conf-serv-sip)#bind control source-interface ?
  Async               Async interface
  Auto-Template       Auto-Template interface
  BVI                 Bridge-Group Virtual Interface
  CDMA-Ix             CDMA Ix interface
  CTunnel             CTunnel interface
  Dialer              Dialer interface
  GMPLS               MPLS interface
  GigabitEthernet     GigabitEthernet IEEE 802.3z
  LISP                Locator/ID Separation Protocol Virtual Interface
  Lex                 Lex interface
  LongReachEthernet   Long-Reach Ethernet interface
  Loopback            Loopback interface
  MFR                 Multilink Frame Relay bundle interface
  Multilink           Multilink-group interface
  Null                Null interface
  Port-channel        Ethernet Channel of interfaces
  Service-Engine      cisco service engine module
  Tunnel              Tunnel interface
  Vif                 PGM Multicast Host interface
  Virtual-Dot11Radio  Virtual dot11 interface
  Virtual-PPP         Virtual PPP interface
  Virtual-Template    Virtual Template interface
  Virtual-TokenRing   Virtual TokenRing
  vmi                 Virtual Multipoint Interface

Erick Bergquist Tue, 10/22/2013 - 09:28
User Badges:
  • Silver, 250 points or more

On the CUE, do this command:


show ccn subsystem sip


then paste the output here.


You essentially want to make sure the CUE SIP Gateway IP address matches the SIP interface on the CME/router side.

You can fix this two ways, setting the CME sip binding to match what CUE is using or by changing the SIP gateway setting on CUE but that requires reboot of CUE.

Michael Durham Tue, 10/22/2013 - 09:33
User Badges:

CME_Router#service-module service-engine 0/1 session

Trying 10.110.0.1, 2258 ... Open

TDC> show ccn subsystem sip
SIP Gateway:                            10.110.0.1
SIP Port Number:                        5060
DTMF Relay:                             sip-notify
MWI Notification:                       unsolicited
MWI Envelope Info:                      enabled
Transfer Mode:                          bye-also
SIP RFC Compliance:                     Pre-RFC3261

Michael Durham Tue, 10/22/2013 - 17:37
User Badges:

Here are the results as per your request


CME_Router#service-module service-engine 0/1 session

Trying 10.110.0.1, 2258 ... Open


TDC> show ccn subsystem sip
SIP Gateway:                            10.110.0.1
SIP Port Number:                        5060
DTMF Relay:                             sip-notify
MWI Notification:                       unsolicited
MWI Envelope Info:                      enabled
Transfer Mode:                          bye-also
SIP RFC Compliance:                     Pre-RFC3261

Erick Bergquist Tue, 10/22/2013 - 18:41
User Badges:
  • Silver, 250 points or more

Your CUE is currently set to use interface Service-Engine0/1 IP address as it's SIP gateway.

Since you are using SIP with your provider, you need to set the CUE's SIP gateway to be the IP address your provider and CME/router are using for SIP. I can not determine what that is from the CME config, I'm guessing it is one of the GigabitEthernet sub interfaces. Maybe it is GigabitEthernet0/1.110 (10.110.0.1 which the telephony service is using).





On CME/router, you can do this:



Use the 'show sip-ua status' command to see what interface SIP is bound to currently on the router/CME side. The CME and CUE are two independent systems.




voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

sip

  bind control source-interface (SIP interface)

  bind media source-interface (SIP interface)





Or on CUE, change the SIP Gateway address to IP address CME/router is using for SIP (bound interface)



Commands on CUE,



ccn subsystem sip

  gateway address x.x.x.x (IP of interface on CME/router SIP is bound to).



The CUE change above may require reload of CUE. Don't forget to do write mem to save before reload.



** Make sure the interface/IP address you chose to use for SIP is routable throughout your network and CUE can reach it.

** You can't make this change on CME/router side if there are active SIP calls. It may interrupt calls or cause a problem



If you don't do the above, the following on the CME/router may correct the MWI issue.



sip-ua

  mwi-server 10.110.0.1 unsolicited

Ayodeji Okanlawon Wed, 10/23/2013 - 08:38
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Hi,


Does MWI work for internal calls?


Please send the output of the ff command..


show ccn application


Next I need you to enter the following commands:


no trace all

trace ccn stacksip dbug

clear trace


Now do a MWI test for me using the ff: command, replace xxxx with a valid extension of a user


mwi refresh telephonenumber xxxx


Finally collect the trace and attach it here...Use the command below to collect the logs


show trace buffer long




Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Michael Durham Wed, 10/23/2013 - 09:18
User Badges:

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 to exit...

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:[email protected]:5060;transport=udp SIP/2.0

Max-Forwards: 70

To:

From: ;tag=ds4863474b

Call-ID: [email protected]:[email protected]:5060

CSeq: 1 NOTIFY

Content-Length: 111

Contact:

Content-Type: application/simple-message-summary

Event: message-summary


Messages-Waiting: yes

Message-Account: sip:[email protected]

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: ;tag=FE664-1277

From: ;tag=ds4863474b

Call-ID: [email protected]:[email protected]: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)

Erick Bergquist Wed, 10/23/2013 - 19:38
User Badges:
  • Silver, 250 points or more

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.



Michael Durham Wed, 10/23/2013 - 21:11
User Badges:

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.

amansin74 Wed, 10/23/2013 - 21:46
User Badges:

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

Erick Bergquist Wed, 10/23/2013 - 23:29
User Badges:
  • Silver, 250 points or more

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?

Correct Answer
Ayodeji Okanlawon Thu, 10/24/2013 - 07:42
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

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: ;tag=FE664-1277

From: ;tag=ds4863474b

Call-ID: [email protected]:[email protected]: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"

Michael Durham Thu, 10/24/2013 - 07:46
User Badges:
amansin74, YOU ROCK!!!!!
I did the following and the MWI now works.  I had already solved the external calls issue from above.
I had already set the config for ccn mwi subsystem before, just did not update attached files.  I also had sip-ua mwi server 10.110.0.2 port 5060 expires 3600 transport udp unsolicited but it was on port 5070 so I changed that.
Then I removed the ephone 19 & 20 since its not needed.
Finally, I added telephony-service mwi relay and it now works.
Thank you so much!!!
I want to learn more about CUE but that wil be at a later time and date.
amansin74 Thu, 10/24/2013 - 20:10
User Badges:

Hi Micheal,


Kindly rate all useful posts.


“If you have knowledge, let others light their candles in it.”

Actions

This Discussion