05-24-2007 09:59 AM - edited 03-18-2019 07:22 PM
Set up SRST with a few FXO ports.
Assume that in SRST mode
What Try to accomplish is that:
1. when user press message key, it will go their voice mail box.
2. If ext:1001 call ext:1002, it should go to 1002 voice mail box, so 1001 can leave voice mail.
3. If outside user call ext 1002, it should go 1002 voice mail.
I can make 1 work, but not 2 and 3.
I post my confgure here:
trunk group westfxo
!
!
voice call send-alert
voice rtp send-recv
!
voice service voip
h323
no h225 timeout keepalive
!
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
!
!
!
voice class h323 1
h225 timeout tcp establish 3
!
voice-port 0/0/0
trunk-group westfxo 1
connection plar opx 1002
caller-id enable
!
voice-port 0/0/1
trunk-group westfxo 2
connection plar opx 1002
caller-id enable
!
dial-peer voice 1 pots
trunkgroup westfxo
incoming called-number .
direct-inward-dial
!
dial-peer voice 11 pots
trunkgroup westfxo
destination-pattern 911
forward-digits all
!
dial-peer voice 12 pots
trunkgroup westfxo
destination-pattern 9[2-9]......
forward-digits 7
!
dial-peer voice 13 pots
trunkgroup westfxo
destination-pattern 91[2-9]..[2-9]......
forward-digits 11
!
dial-peer voice 14 pots
trunkgroup westfxo
destination-pattern 9011T
prefix 011
!
dial-peer voice 22 pots
trunkgroup westfxo
destination-pattern 91646xxx8280
prefix 1646xxx8280,,,
!
dial-peer voice 31 voip
destination-pattern 1...
voice-class codec 1
voice-class h323 1
session target ipv4:10.0.6.12
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 32 voip
preference 1
destination-pattern 1...
voice-class codec 1
voice-class h323 1
session target ipv4:10.0.6.11
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 33 pots
trunkgroup westfxo
translation-profile outgoing toHQ
preference 2
destination-pattern 1...
!
!
call-manager-fallback
secondary-dialtone 9
max-conferences 1 gain -6
transfer-system full-consult
ip source-address 192.168.245.33 port 2000
max-ephones 336
max-dn 960 dual-line
after-hours block pattern 1 91900T
system message primary West Fallback
dialplan-pattern 1 646xxx1... extension-length 4
transfer-pattern .T
voicemail 91646xxx8280
call-forward pattern .T
call-forward busy 91646xxx8280
call-forward noan 91646xxx8280 timeout 10
moh music-on-hold
!
!
vm-integration
pattern direct * CGN
pattern ext-to-ext no-answer # FDN #2
pattern ext-to-ext busy # FDN #2
pattern trunk-to-ext no-answer # FDN
pattern trunk-to-ext busy # FDN #2
At the unity opening greeting, I set caller input "#" Send caller to Caller System Transfer.
I think I need to match DTMF tone with Unity setting, but dont know how.
The tac told me that the dtmf tone get inside the unity (he use "call viewer" and "port status monitor"). I can see "#" and the extension was entered into Unity.
Now, they tried to figure out how to make the opening greeting to accept those dtmf tone.
Already open a ticket with tac, they said I might hit a BUG... I am running 4.21 without any patch.
I am sure someone did this kind of intergration before.... please help...
Thanks
Ken
06-13-2007 01:23 PM
Problem solved by tac, so I am going to share the solution.
dial-peer voice 22 pots
trunkgroup westfxo
destination-pattern 916461234567*.... <--*.... match
your 4 digit dialing plan and * match vm-intergration
prefix 16461234567,, <-- ,, is pause
call-manager-fallback
voicemail 916461234567
call-forward busy 916461234567
call-forward noan 916461234567 timeout 10
vm-integration
pattern direct * CGN
pattern ext-to-ext no-answer * FDN #2
pattern ext-to-ext busy * FDN #2
pattern trunk-to-ext no-answer * FDN #2
pattern trunk-to-ext busy * FDN #2
So basically, if noone answer, it will call unity 16461234567
Here is the digit send to unity during opening greeting:
1. send pause
2. send * FDN --> extension 5100
3. #2 (skip the greeting: "I am transfering to extension 5100").
3. goes into 5100 subscriber greeting directly.
Hope that help.
Ken
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: