MWI SIP NOTIFY sent to router, failing to light up CME phone

Unanswered Question
Jun 18th, 2009
User Badges:

well the story goes like this. I downloaded the new exchange server from microsoft just to test out since in this version (2010) MWI is now supported. My VOIP platform is a 2811 running c2800nm-ipvoice-mz.124-24.T.bin & CME 7.1 & my phones are 7971GEs. My voicemail is located on the exchange server and is reached via a dial-peer.


dial-peer voice 4400 voip

destination-pattern 44..

session protocol sipv2

session target ipv4:10.10.10.11

session transport tcp

dtmf-relay rtp-nte

codec g711ulaw

no vad


When i use on of my phones and leave a voicemail i receive the voicemail in email and exchange sends a SIP notify, debug ccsip messages shows that it arrives on the router but then it can't find the extention to turn MWI on?


Jun 19 13:40:50.735: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

NOTIFY sip:[email protected]:5060;user=phone SIP/2.0

FROM: <sip:srvexch01.inquery.corp:5067;transport=Tcp;ms-opaque=454001ffb3eff339>;epid=F76A3455EB;tag=febcca39a8

TO: <sip:[email protected]:5060;user=phone>

CSEQ: 2 NOTIFY

CALL-ID: b70eb54764c54d0d9e3b44ffb045cdd8

MAX-FORWARDS: 70

VIA: SIP/2.0/TCP 10.10.10.11:47953;branch=z9hG4bKa4b7b089

CONTACT: <sip:[email protected]:5060;user=phone>

CONTENT-LENGTH: 98

EVENT: message-summary

SUBSCRIPTION-STATE: terminated

USER-AGENT: RTCC/3.1.0.0

CONTENT-TYPE: appl

ccme#ication/simple-message-summary


Messages-Waiting: yes

Message-Account: sip:[email protected]:5060;user=phone

Voice-Message: 11/8


Jun 19 13:40:50.739: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 481 Call Leg/Transaction Does Not Exist

Date: Fri, 19 Jun 2009 13:40:50 GMT

From: <sip:srvexch01.inquery.corp:5067;transport=Tcp;ms-opaque=454001ffb3eff339>;epid=F76A3455EB;tag=febcca39a8

Content-Length: 0

To: <sip:[email protected]:5060;user=phone>;tag=563880-1462

Call-ID: b70eb54764c54d0d9e3b44ffb045cdd8

Via: SIP/2.0/TCP 10.10.10.11:47953;branch=z9hG4bKa4b7b089

CSeq: 2 NOTIFY


I'm not really sure what is going on here, but the docs. that i have found point to a 481 if the voiceport is not enabled for MWI. since i don't have a voice-port FXO, T1, FSO i'm not sure if that applies.


an answer would be great, but if not some insight as to what i should be looking at next would be awesome!!




  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
paolo bevilacqua Fri, 06/19/2009 - 01:20
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Do you have mwi under ephone ? What is you global mwi settings ?

m.matteson Fri, 06/19/2009 - 02:01
User Badges:

the current configuration that i have now is:


ccme#sh run

Building configuration...



Current configuration : 2593 bytes

!

! Last configuration change at 17:55:21 UTC Fri Jun 19 2009

! NVRAM config last updated at 15:21:06 UTC Fri Jun 19 2009

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname ccme

!

boot-start-marker

boot-end-marker

!

logging message-counter syslog

enable password cisco

!

no aaa new-model

!

ip source-route

!

ip cef

!

ip name-server 10.10.10.10

no ipv6 cef

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

supplementary-service h450.12

fax protocol cisco

sip

bind control source-interface FastEthernet0/0

bind media source-interface FastEthernet0/0

header-passing

!voice-card 0

!

archive

log config

hidekeys

!

interface FastEthernet0/0

ip address 10.10.10.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

interface Serial0/2/0

no ip address

shutdown

no fair-queue

!

interface Async0/0/0

no ip address

encapsulation slip

!

ip forward-protocol nd

!

no ip http server

!

tftp-server flash:cnu70.8-4-1-23.sbn

tftp-server flash:cvm70sccp.8-4-1-23.sbn

tftp-server flash:dsp70.8-4-1-23.sbn

tftp-server flash:jar70sccp.8-4-1-23.sbn

tftp-server flash:music-on-hold.au

tftp-server flash:term70.default.loads

tftp-server flash:term71.default.loads

tftp-server flash:SCCP70.8-4-2S.loads

tftp-server flash:apps70.8-4-1-23.sbn

!

control-plane

!

!mgcp fax t38 ecm

!

dial-peer voice 4400 voip

destination-pattern 44..

session protocol sipv2

session target ipv4:10.10.10.11

session transport tcp

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

sip-ua

mwi-server ipv4:10.10.10.11 expires 3600 port 5060 transport tcp unsolicited

!

telephony-service

max-ephones 5

max-dn 5

ip source-address 10.10.10.2 port 2000

load 7971 SCCP70.8-4-2S.loads

voicemail 4400

max-conferences 8 gain -6

moh music-on-hold.au

transfer-system full-consult

create cnf-files version-stamp 7960 Jun 19 2009 12:56:07

!

!

ephone-dn 1

number 4445

call-forward noan 4400 timeout 3

!

!

ephone-dn 2

number 4446

!

!

ephone 1

mac-address 0019.305D.41C8

type 7971

mwi-line 1

button 1:1

!

!

!

ephone 2

mac-address 000A.B79A.D5C0

button 1:2

!

!

!

line con 0

line aux 0

line 0/0/0

stopbits 1

speed 115200

flowcontrol hardware

line vty 0 4

exec-timeout 0 0

password cisco

logging synchronous

login

!

scheduler allocate 20000 1000

end


ccme#


paolo bevilacqua Fri, 06/19/2009 - 03:04
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Sorry, wouldn't know what to suggest.

Basically since you're using a third-party VM you're on your own to make it work.

Steffen.Baier Fri, 06/19/2009 - 04:39
User Badges:

You could use this Perl Script in order to test to send a message to any Phone/IP Address:


#!/usr/bin/perl

use Socket;

my $phoneip = $ARGV[0];



SendSIPTo("$phoneip"); # IP of the phone


sub SendSIPTo{

$phone_ip = shift;


$MESG="NOTIFY sip:6001\@$phone_ip SIP/2.0

Via: SIP/2.0/UDP 10.252.36.96:5060;branch=z9hG4bK13579926;rport

From: \"asterisk\" ;tag=000000000

To:

Contact:

Call-ID: 78f238ec7e8eeb414347cd4d46f37807\@10.0.1.23

CSeq: 102 NOTIFY

User-Agent: Asterisk PBX

Max-Forwards: 70

Event: message-summary

Content-Type: application/simple-message-summary

Content-Length: 90


Messages-Waiting: yes

Message-Account: sip:asterisk\@10.0.1.23

Voice-Message: 1/0 (0/0)";


$proto = getprotobyname('udp');

socket(SOCKET, PF_INET, SOCK_DGRAM, $proto) ;

$iaddr = inet_aton("0.0.0.0");

$paddr = sockaddr_in(5060, $iaddr);

bind(SOCKET, $paddr) ;

$port=5060;

$hisiaddr = inet_aton($phone_ip) ;

$hispaddr = sockaddr_in($port, $hisiaddr);

send(SOCKET, $MESG, 0,$hispaddr ) || warn "send $host $!\n";

}


You may have to download ActivePerl or simular and then just start the Perl script and add the IP address of the Phone via the command line.

m.matteson Fri, 06/19/2009 - 05:46
User Badges:

thats a good idea. i have a question as to how that would work. the ip phones i have are SCCP and are registering with the cisco router, i was counting on the router to do the media translation from SIP to SCCP. is this the normal behavior and is the router suppose to be doing this that way?


the voicemail server in the debug output i attached above sends an unsolicited NOTIFY to the router and is it the responsibility of the router to perform the translation from SIP to SCCP since obviously SIP wouldn't be able to talk directly to the phone.

paolo bevilacqua Fri, 06/19/2009 - 05:58
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

m.m

You understanding is right, perhaps something is wrong in the message, but without comparing with an e.g. CUE message, it's hard say what.

m.matteson Fri, 06/19/2009 - 06:25
User Badges:

thats actually a pretty cool idea. i adapted the content of the script you gave me, thanks btw and a "debug ccsip messages" on the router shows that it arrives. the router throws no errors and everything appears to be formated correctly. the message should be turning on WMI for the extension 4445@. no luck. i'm leaning towards a misconfigured router at this point. does anything in my configuration stick out to you as wrong?

milan.ninic Mon, 06/22/2009 - 01:12
User Badges:

Hi,


I have the similar problem with CME and Cisco Unity Connection!

I integrated CME and Unity Connection using SIP, everything works fine, but when I leave a message for dn 3002, the ephone does not show mwi on!

On CME I can see that message notify is sent to ext 3002, but the lamp is not turned on!

The extension 3002 is associated with CIPC (I also tried with 7912, but nothing), VM pilot number is 3600!

IOS version is flash:c2800nm-advipservicesk9-mz.124-22.T.bin!

In attachment you can find CME configuration!

Here is output of debug ccsip messages:

Jun 11 11:23:20.217: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

NOTIFY sip:[email protected] SIP/2.0

From: sip:[email protected]:5060;tag=05dcb7ce87774d069741ccee62a4dacb

To: sip:[email protected]

Via: SIP/2.0/TCP 172.16.51.33:5060;branch=z9hG4bKf5cf33b7069d4e9b8edf0265a531f008

Max-Forwards: 70

Contact: sip:[email protected]:5060

Call-ID: [email protected]

CSeq: 300 NOTIFY

Event: message-summary

Content-Length: 23

Content-Type: application/simple-message-summary

Messages-Waiting: yes

.Jun 11 11:23:20.217: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 481 Call Leg/Transaction Does Not Exist

Via: SIP/2.0/TCP 172.16.51.33:5060;branch=z9hG4bKf5cf33b7069d4e9b8edf0265a531f008

From: sip:[email protected]:5060;tag=05dcb7ce87774d069741ccee62a4dacb

To: sip:[email protected]

Date: Thu, 11 Jun 2009 11:23:20 GMT

Call-ID: [email protected]

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0

CSeq: 300 NOTIFY

I configured according the following document - Cisco Unified Communications Manager Express SIP Trunk Integration Guide for Cisco Unity Connection Release 7.x

Did you resolve the your problem?

Can you suggest me what to do?


Thanks,

Milan






Attachment: 
m.matteson Mon, 06/22/2009 - 02:15
User Badges:

its 6am and i still have figured it out yet.


i did come across these documents though.

http://supportwiki.cisco.com/ViewWiki/index.php/When_using_the_MWI_Subscription_and_Notify_feature,_Cisco_CallManager_Express_sends_the_481_Call_Leg/Transaction_Does_Not_Exist_error_message_in_response_to_the_NOTIFY


AND http://www.ciscotaccc.com/kaidara-advisor/voice/showcase?case=K19941794


I downgraded to an IOS that is listed as fixed and i am still getting the error. although this probably applies moreso to you things you are using CUE, I am not.


can you download Wireshark.org and check out the conversation in the protocol filter? we could compare our dumps to see if they are similar and doing the same thing. i hope to have this fixed soon and gain my life back..ha

m.matteson Mon, 06/22/2009 - 02:18
User Badges:

i'm not that familiar with CUC but if your voicemail is elsewhere i think you might have to enable mwi relay under telephoney service and configure an MWI server under the SIP-UA.

dvigny Mon, 02/13/2012 - 02:35
User Badges:

Hi,

Same. looking for the guide but the web site seems to be down.

Would appreciate any help ....

Best

D.

Actions

This Discussion