Options

Cisco CME MWI - Sip to Provider

tazdeviltazdevil Member Posts: 55 ■■□□□□□□□□
I have been working on getting my SIP trunk up and running, and have managed to get inbound and outbound calls working. I am trying to get the MWI to light up, but having no end of luck.

I used the debug ccsip message command, and I receved the following;

Jan 19 02:12:04.889: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
NOTIFY sip:112244@10.1.1.19:5060 SIP/2.0
Via: SIP/2.0/UDP 174.137.63.206:5060;branch=z9hG4bK1cf977ec;rport
From: "Unknown" <sip:Unknown@174.137.63.206>;tag=as4e8c7dc5
To: <sip:112244@10.1.1.19:5060>
Contact: <sip:Unknown@174.137.63.206>
Call-ID: [EMAIL="4b9f20f868c4387b70df88a408fc1cbd@174.137.63.206"]4b9f20f868c4387b70df88a408fc1cbd@174.137.63.206[/EMAIL]
CSeq: 102 NOTIFY
User-Agent: VoIPMS/SERAST
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 95
Messages-Waiting: yes
Message-Account: sip:asterisk@174.137.63.206
Voice-Message: 1/0 (0/0)

I am assuming the sip provider (voip.ms) is using asterisk.

below is my config;

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
sip
registrar server expires max 160 min 160
localhost dns:toronto.voip.ms:5060
!
!
voice class codec 1
codec preference 1 g711ulaw
!
!
!
!
!
!
!
!
!
!
!
voice translation-rule 1
rule 1 /xxx/ /2001/
rule 2 /1xxx/ /2001/
rule 3 /xxx/ /2009/
rule 4 /1xxx/ /2009/
rule 5 /678xxxxx/ /2001/
rule 6 /1678xxxx/ /2001/
rule 7 /289xxxx/ /2002/
rule 8 /128xxx/ /2002/
!
voice translation-rule 10
rule 1 /2001/ /xxxxx/
rule 2 /2002/ /xxxxx/
rule 9 /2009/ /xxxx/
!
!
voice translation-profile AutoAttendant
translate called 1
!
voice translation-profile Strip1
translate called 1
!
voice translation-profile maskdid
translate calling 10
!
!
!
!
!
!
!
dial-peer voice 1 voip
description **Incoming Call from SIP Trunk**
translation-profile incoming Strip1
destination-pattern .T
redirect ip2ip
voice-class sip localhost dns:capeacock.dyndns.org
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target dns:capeacock.dyndns.org
incoming called-number .%
dtmf-relay sip-notify rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 2 voip
description **Outgoing Call to SIP Trunk**
translation-profile outgoing maskdid
destination-pattern 1..........
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
dtmf-relay sip-notify rtp-nte
no vad
!
dial-peer voice 1004 pots
destination-pattern 2000
port 1/1/0
!
dial-peer voice 98 voip
description **Outgoing Call voice mail**
translation-profile outgoing maskdid
destination-pattern *9.
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
dtmf-relay sip-notify rtp-nte
no vad
!
!
sip-ua
credentials username xxx password xxx realm toronto.voip.ms
authentication username xxx password xxx
nat symmetric role active
nat symmetric check-media-src
no remote-party-id
retry invite 2
retry register 10
timers connect 100
mwi-server dns:toronto.voip.ms expires 160 port 5060 transport udp unsolicited
registrar dns:toronto.voip.ms expires 160
sip-server dns:toronto.voip.ms
connection-reuse
host-registrar
!
!
telephony-service
load 7960-7940 P00308000400
load 7921 CP7921G-1.3.4
max-ephones 24
max-dn 35
ip source-address 10.1.1.19 port 2000
auto assign 8 to 10
calling-number initiator
service phone displayIdleTimeout 00:30
service phone displayOnDuration 1:00
timeouts interdigit 8
system message Home Network
url services ;phone-xml.berbee.com/menu.xml
time-zone 12
time-format 24
voicemail *97
mwi relay
max-conferences 8 gain -6
call-forward pattern .T
web admin system name admin password cisco
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp 7960 Jan 18 2011 11:20:45
!
!
ephone-dn 1 dual-line
number 2001 no-reg both
label Chris-289xxxx
description Chris (xxxx)
name Chris
call-forward noan *97 timeout 20
!
!
ephone-dn 2 dual-line
number 2002 secondary xxxxx no-reg both
mwi-type both
mwi sip
!

Any thoughts or assistance would be greatly appreciated.
ICND1 - Passed March 19/2010
ICND2 - Passed April 8/2010

Comments

  • Options
    tazdeviltazdevil Member Posts: 55 ■■□□□□□□□□
    The fun of playing, after hours of testing I finally go this going. I am posting a reply, because there were lots of views.

    I had to assign the account number (123456) as the primary number, than an internal extension as the secondary number 2002

    example:

    ephone-dn 2 dual-line
    number 123456 secondary 2002 no-reg both
    label 2002
    mwi-type both
    mwi sip

    ephone 1
    mac-address 0123.ABCD.4567
    button 1:1 2:2
    mwi-line 2

    after this all is good, I have mail icon next to button 2 (because I have mail), and the red light is on the hand set.

    this now makes my cme sip trunk fully functional with voice mail and the works.

    Time for a brew as a reward...

    if you have any questions please let me know.
    ICND1 - Passed March 19/2010
    ICND2 - Passed April 8/2010
Sign In or Register to comment.