04-28-2005 05:04 PM - edited 03-13-2019 08:56 AM
Hi Forum,
I have a question here:
What I need is that when CALLING NUMBER 12002002 dials 13003002 it gets converted to 13003009
I only want this for calling number 12002002.
Im using H323 GW.
The following config works fine, but for all numbers
I only want this for 12002002, but when I dial from 12002022 ie it is also transfer to 13003009.
I want like an AND condition for voice translation-rule 1
Here is my config and topology
Cluster1 Cluster2
Extensions --- H323 --- MGCP GW --- Extensions
1200XXXX PRI back2Back 1300XXXX
voice translation-rule 1
rule 1 /^12002002$/ /12002002/
rule 2 /13003002/ /13003009/
voice translation-profile profile1
translate called 1
dial-peer voice 1000 voip
translation-profile outgoing profile1
preference 1
destination-pattern 1300T
progress_ind setup enable 3
voice-class codec 1
voice-class h323 1
session target ipv4:192.168.3.120
dtmf-relay h245-alphanumeric
dial-peer voice 1001 pots
destination-pattern 1200....
direct-inward-dial
port 1/0:23
This is a lab simulation before I implemented it.
Thanks
Solved! Go to Solution.
04-28-2005 09:20 PM
you need to create voip dial-peer that match the incoming call leg with answer-address, which is your ANI = 12002002 and apply the translation rule in this dial-peer.
It should work.
04-28-2005 09:20 PM
you need to create voip dial-peer that match the incoming call leg with answer-address, which is your ANI = 12002002 and apply the translation rule in this dial-peer.
It should work.
04-29-2005 09:55 AM
Add this:
dial-peer voice 100 pots
translation-profile incoming profile1
answer-address 12002002
direct-inward-dial
port 1/0:23
Remove from:
dial-peer voice 1000 voip
translation-profile outgoing profile1 <-- This line
That should do it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide