[cisco-voip] [Bulk]redirect Voicemail to CUE from external SIP number

Jay Stants jaystants at rogers.com
Thu Jul 28 22:13:37 EDT 2011


Here is my running config for 2811 - CCME device / Wan Router w/Aim-Cue - If you can point out what i'm missing that's not allowing voice mail redirection when i call my DID from outside line i'd really appreciate the help. 
 
snet-wan2#sh run
Building configuration...

Current configuration : 6784 bytes
!
! Last configuration change at 08:17:38 EST Thu Jul 21 2011 by admin
! NVRAM config last updated at 00:13:04 EST Sat Jul 23 2011
!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname snet-wan2
!
boot-start-marker
boot system flash c2800nm-adventerprisek9-mz.151-2.GC.bin
boot-end-marker
!
!
logging buffered 4096 informational
logging console informational
logging monitor notifications
!
no aaa new-model
!
clock timezone EDT -5 0
clock summer-time EST recurring
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
!
ip name-server 4.2.2.1
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
voice service voip
 ip address trusted list
  ipv4 0.0.0.0 0.0.0.0
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 supplementary-service h450.12
 sip
  registrar server expires max 600 min 60
!
!
!
!
voice translation-rule 1
 rule 1 /^9/ //
!
voice translation-rule 3
 rule 1 /4.../ /5856786019/
!
!
voice translation-profile voip.ms
 translate calling 3
 translate called 1
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811 sn FTX0946A1Y5
archive
 log config
  hidekeys
username ******* privilege 15 password 0 *******
!
redundancy
!
!
!
class-map match-any VoIP-Control
 match ip dscp af31
class-map match-any VoIP-RTP
 match ip dscp ef
!
!
policy-map Policy-VoIP
 class VoIP-RTP
    priority percent 70
 class VoIP-Control
    bandwidth percent 5
 class class-default
    fair-queue
!
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 10.50.250.4 255.255.255.255
!
interface Loopback100
 ip address 1.1.1.1 255.255.255.252
!
interface FastEthernet0/0
 description ** snet-wan2--FA0/0 (Inside Nat) -- snet-core-s1--FA0/13 **
 ip address 10.50.1.2 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
 ip ospf mtu-ignore
 duplex full
 speed 100
!
interface Service-Engine0/1
 ip unnumbered Loopback100
 service-module ip address 1.1.1.2 255.255.255.252
 service-module ip default-gateway 1.1.1.1
!
interface FastEthernet0/1
 description ** snet-wan2--FA0/1 (Outside Nat)
 ip address dhcp
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
 no cdp enable
!
interface GigabitEthernet1/0
 ip address 10.1.99.1 255.255.255.0
 service-policy output Policy-VoIP
!
router ospf 1
 passive-interface FastEthernet0/1
 network 10.1.99.0 0.0.0.255 area 0
 network 10.50.250.4 0.0.0.0 area 0
 network 10.0.0.0 0.255.255.255 area 0
 default-information originate always
!
ip forward-protocol nd
ip http server
ip http authentication local
no ip http secure-server
ip http path flash:/gui
!
!
ip nat inside source list NAT_ACL interface FastEthernet0/1 overload
ip nat inside source static tcp 10.50.2.10 3389 interface FastEthernet0/1 3389
ip nat inside source static tcp 10.50.2.20 21 interface FastEthernet0/1 21
ip nat inside source static tcp 10.50.2.20 20 interface FastEthernet0/1 20
ip route 1.1.1.2 255.255.255.255 Service-Engine0/1
ip route 0.0.0.0 0.0.0.0 dhcp
!
ip access-list standard NAT_ACL
 permit 10.0.0.0 0.255.255.255
!
ip access-list extended FW_inbound
 permit tcp any any established
 permit udp any any
 permit icmp any any echo-reply
 permit tcp any any eq ftp
 permit tcp any eq ftp-data any
 deny   ip any any
!
logging esm config
logging 10.50.2.13
!
!
!
!
snmp-server community Public RO
snmp-server community Private RW
snmp-server enable traps snmp linkdown linkup coldstart warmstart
snmp-server host 10.50.2.13 version 2c Public
!
tftp-server flash:term61.default.loads
tftp-server flash:jar41sccp.8-4-1-23.sbn
tftp-server flash:apps41.8-4-1-23.sbn
tftp-server flash:cnu41.8-4-1-23.sbn
tftp-server flash:cvm41sccp.8-4-1-23.sbn
tftp-server flash:dsp41.8-4-1-23.sbn
!
control-plane
!
!
!
!
!
dial-peer voice 1 voip
 description **SIP Trunk to newyork.voip.ms**
 translation-profile outgoing voip.ms
 destination-pattern 9[2-9].[2-9].......
 session protocol sipv2
 session target dns:newyork.voip.ms
 dtmf-relay rtp-nte sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 2 voip
 description **Incoming SIP Trunk - Voip.ms**
 translation-profile incoming voip.ms
 session protocol sipv2
 session target ipv4:10.50.1.2
 incoming called-number 5856786019
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 20 pots
 destination-pattern 5.T
 direct-inward-dial
 no sip-register
!
dial-peer voice 3 voip
 description ** Voicemail **
 destination-pattern 4000
 session protocol sipv2
 session target ipv4:1.1.1.2
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
!
sip-ua
 credentials username ******* password 7 ******* realm newyork.voip.ms
 authentication username ******* password 7 *******
 no remote-party-id
 retry invite 2
 retry register 10
 timers connect 100
 mwi-server ipv4:1.1.1.2 expires 3600 port 5060 transport tcp unsolicited
 registrar dns:newyork.voip.ms expires 180
 sip-server dns:newyork.voip.ms
 host-registrar
!
!
!
telephony-service
 authentication credential ******* *******
 max-ephones 15
 max-dn 15
 ip source-address 10.50.1.2 port 2000
 system message Cisco CME 8.1
 url services http://1.1.1.2/voiceview/common/login.do
 url authentication http://1.1.1.1/CCMCIP/authenticate.asp
 cnf-file location flash:
 cnf-file perphone
 time-zone 12
 dialplan-pattern 1 5856786019 extension-length 4
 voicemail 4000
 max-conferences 8 gain -6
 dn-webedit
 time-webedit
 transfer-system full-consult
 secondary-dialtone 9
 create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn-template  1
 call-forward busy 4000
 call-forward noan 4000 timeout 18
!
!
ephone-dn  1  dual-line
 number 4005 secondary 5856786019 no-reg
 label 4005
 name Jay Stants
 ephone-dn-template 1
!
!
ephone-dn  13
!
!
ephone-dn  14
 number 8000..........
 mwi on
!
!
ephone-dn  15
 number 8001..........
 mwi off
!
!
ephone  1
 device-security-mode none
 mac-address 001E.7AC5.896A
 username "*******" password *******
 type 7961GE
 button  1:1
!
!
!
ephone  2
 device-security-mode none
 mac-address 001E.F728.AE8A
 type 7961GE
!
!
!
line con 0
 privilege level 15
 logging synchronous
 length 0
line aux 0
line 66
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line 258
 privilege level 15
 password *******
 login local
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
 exec-timeout 0 0
 privilege level 15
 password *******
 login local
 transport input all
!
scheduler allocate 20000 1000
ntp maxdistance 1
ntp server 10.50.2.10 prefer
ntp server 173.45.238.221
end


Regards,
Jay Stants
jaystants at rogers.com


From: ccieid1ot <ccieid1ot at gmail.com>
>To: "jaystants at rogers.com" <jaystants at rogers.com>
>Cc: "cisco-voip at puck.nether.net" <cisco-voip at puck.nether.net>; Peter Slow <peter.slow at gmail.com>
>Sent: Thursday, July 28, 2011 1:25:12 PM
>Subject: Re: [cisco-voip] [Bulk]redirect Voicemail to CUE from external SIP number
>
>
>Debug ccsip, debug voice dialpeer all
>On Jul 28, 2011 12:22 PM, "jaystants at rogers.com" <jaystants at rogers.com> wrote:
>> What specific debugs should be run ? 
>> 
>> Sent from my HTC bolt of lightning...
>> 
>> ----- Reply message -----
>> From: "ccieid1ot" <ccieid1ot at gmail.com>
>> To: "Jay Stants" <jaystants at rogers.com>
>> Cc: "Peter Slow" <peter.slow at gmail.com>, "cisco-voip at puck.nether.net" <cisco-voip at puck.nether.net>
>> Subject: [cisco-voip] [Bulk]redirect Voicemail to CUE from external SIP number
>> Date: Thu, Jul 28, 2011 10:53 am
>> Run some debugs to see what's the redirecting number when it's forwarding to voice mail.  Might need a redirecting translation
>> 
>> On Tue, Jul 26, 2011 at 11:30 AM, Jay Stants <jaystants at rogers.com> wrote:
>> 
>> 
>> Peter,
>>  
>> I have the following within my config
>>  
>> no voice register global
>>  
>> voice service voip
>>  ip address trusted list
>>   ipv4 0.0.0.0 0.0.0.0
>>  allow-connections h323 to h323
>>  allow-connections h323 to sip
>>  allow-connections sip to h323
>>  allow-connections sip to sip
>>  supplementary-service h450.12
>>  sip
>>    registrar server expires max 600 min 60
>> 
>>  
>> Regards,Jay Stants
>> jaystants at rogers.com
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> From: Peter Slow <peter.slow at gmail.com>
>> To: "jaystants at rogers.com" <jaystants at rogers.com>
>> 
>> Cc: cisco-voip at puck.nether.net
>> Sent: Monday, July 25, 2011 5:30:45 AM
>> 
>> Subject: Re: [cisco-voip] [Bulk]redirect Voicemail to CUE from external SIP number
>> 
>> your sample config does not have
>> 
>> voice service voi
>> 
>>   allow s t s
>> 
>> under it. you need the sip to sip command to
>> allow it to function as a
>> CUBE in your case, since we're connecting two SIP dial-peers together.
>> 
>> Is that done?
>> 
>> -Peter
>> 
>> On Fri, Jul 22, 2011 at 4:30 PM, jaystants at rogers.com
>> 
>> <jaystants at rogers.com> wrote:
>>> Any one able to assist with this issue?
>>>
>>> Regards,
>>>
>>> Jay Stants
>>>
>>> Sent from my Thunderbolt 4G LTE
>> 
>>>
>>>
>>> ----- Reply message -----
>>> From: "Jay Stants" <jaystants at rogers.com>
>>> To: <cisco-voip at puck.nether.net>
>> 
>>> Subject: [Bulk] [cisco-voip] redirect Voicemail to CUE from
>> external SIP
>>> number
>>> Date: Thu, Jul 21, 2011 8:41 am
>>>
>>>
>>> I've managed to get VM working internally on test phones but when i dial in
>>> from my DID, call gets redirected to a specific phone (which is the
>> 
>>> behaviour i want) but after timeout duration call is not transfered to
>>> voicemail, instead just rings busy . Can someone point out anything i may be
>>> missing (translation or dial-peer or possibly something else)
>> 
>>>
>>> Help is much appreciated
>>>
>>> Config Details
>>> ---------------
>>> snet-wan2#sh run
>>> Building configuration.....
>>> Current configuration : 6793 bytes
>>> !
>>> ! Last configuration change at 08:17:38 EST Thu Jul 21 2011 by netmgmt
>> 
>>> ! NVRAM config last updated at 08:17:38 EST Thu Jul 21 2011 by netmgmt
>>> !
>>> version 15.1
>>> voice translation-rule 1
>>>  rule 1 /^9/ //
>>>
>> !
>>> voice translation-rule 3
>>>  rule 1 /4.../ /5856786019/
>>> !
>>> !
>>> voice translation-profile voip.ms
>> 
>>>  translate calling 3
>>>  translate called 1
>>> !
>>> !
>>> dial-peer voice 1 voip
>>>  description **SIP Trunk to newyork.voip.ms**
>>>  translation-profile outgoing voip.ms
>> 
>>>  destination-pattern 9[2-9].[2-9].......
>>>  session protocol sipv2
>>>  session target dns:newyork.voip.ms
>>>  dtmf-relay rtp-nte sip-notify
>>>  codec g711ulaw
>> 
>>>  no vad
>>> !
>>> dial-peer voice 2 voip
>>>  description **Incoming SIP Trunk - Voip.ms**
>>>  translation-profile incoming voip.ms
>>>  session protocol sipv2
>> 
>>>  session target ipv4:10.50.1.2
>>>  incoming called-number 5856786019
>>>  dtmf-relay sip-notify
>>>  codec g711ulaw
>>>  no
>> vad
>>> !
>>> dial-peer voice 20 pots
>>>  destination-pattern 5.T
>>>  direct-inward-dial
>>>  no sip-register
>>> !
>>> dial-peer voice 3 voip
>>>  description ** Voicemail **
>>>  destination-pattern 4000
>> 
>>>  session protocol sipv2
>>>  session target ipv4:1.1.1.2
>>>  dtmf-relay sip-notify
>>>  codec g711ulaw
>>>  no vad
>>> !
>>> !
>>> sip-ua
>>>  credentials username {removed} password 7 {removed} realm newyork.voip.ms
>> 
>>>  authentication username {removed} password 7 {removed}
>>>  no remote-party-id
>>>  retry invite 2
>>>  retry register 10
>>>  timers connect 100
>>>  mwi-server ipv4:1.1.1.2 expires 3600 port 5060 transport tcp unsolicited
>> 
>>>  registrar dns:newyork.voip.ms expires 180
>>>  sip-server dns:newyork.voip.ms
>>>
>>  host-registrar
>>> !
>>> !
>>> !
>>> telephony-service
>>>  authentication credential {username password}
>>>  max-ephones 15
>>>  max-dn 15
>>>  ip source-address 10.50.1.2 port 2000
>> 
>>>  system message Cisco CME 8.1
>>>  url services http://1.1.1.2/voiceview/common/login.do
>>>  url authentication http://1.1.1.1/CCMCIP/authenticate.asp
>> 
>>>  cnf-file location flash:
>>>  cnf-file perphone
>>>  time-zone 12
>>>  dialplan-pattern 1 5856786019 extension-length 4
>>>  voicemail 4000
>> 
>>>  max-conferences 8 gain -6
>>>  dn-webedit
>>>  time-webedit
>>>  transfer-system full-consult
>>>  secondary-dialtone 9
>>>  create cnf-files
>> version-stamp Jan 01 2002 00:00:00
>>> !
>>> !
>>> ephone-dn-template  1
>>>  call-forward busy 4000
>>>  call-forward noan 4000 timeout 18
>>> !
>>> !
>>> ephone-dn  1  dual-line
>>>  number 4005 secondary 5856786019 no-reg
>> 
>>>  label 4005
>>>  name Jay Stants
>>>  ephone-dn-template 1
>>> !
>>> !
>>> ephone-dn  13
>>> !
>>> !
>>> ephone-dn  14
>>>  number 8000...........
>>>  mwi on
>>> !
>>> !
>> 
>>> ephone-dn  15
>>>  number 8001...........
>>>  mwi off
>>> !
>>> !
>>> ephone  1
>>>  device-security-mode none
>>>  mac-address 001E.7AC5.896A
>>>  username "user" password {removed}
>> 
>>>  type 7961GE
>>>  button  1:1
>>>
>>>
>>> Regards,
>>> Jay Stants
>>> jaystants at rogers.com
>>>
>>> _______________________________________________
>> 
>>> cisco-voip mailing list
>>> cisco-voip at puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/cisco-voip
>> 
>>>
>>>
>> 
>> 
>> 
>> _______________________________________________
>> 
>> cisco-voip mailing list
>> 
>> cisco-voip at puck.nether.net
>> 
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>> 
>> 
>> 
>> 
>> -- 
>> duy
>> CCIE #27737 Voice
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110728/e64c3fc4/attachment.html>


More information about the cisco-voip mailing list