12-14-2006 05:42 AM - edited 03-14-2019 07:13 PM
Hi There,
I'm using Cisco 2821 GW With H323 on the voip side and ISDN E1 to PSTN.
I would like to hide or change the calling number when dialing a specific prefix to PSTN. This is for users who do not want to show there extension number out to PSTN.
I can not see how to match a called number and manipulate the calling number?
Does anyone have a solution for this on the gateway?
Best Regards
/Andreas Ekstrom
Solved! Go to Solution.
12-15-2006 03:11 AM
When you dial 9983 inbound dialpeer 201 should be matched ,Then translation applied
and outbound dialpeer matched!
It could work out!
Let me know if it does !
12-14-2006 06:14 AM
i did't understand where You must act(call manager or gateway)
12-14-2006 06:41 AM
In this solution we are using a 3rd party IP-Pbx.
I would like to do this in the gateway with translation-rules but I can not see how to do it.
Regards
Andreas
12-14-2006 06:41 AM
Andreas,
When we've done this in the past, we've had the users dial *67 as a prefix to the number to invoke this feature. So you could do something like this...
voice translation-rule 1
rule 1 /.*/ //
!
voice translation-profile BlockCLID
translate calling 1
!
dial-peer voice 100 pots
destination-pattern 9*67[2-9]......
port 0/0/0:23
direct-inward-dial
translation-profile outgoing BlockCLID
Also...if you have a CallManager involved, this becomes a lot easier and the gateway config is not necessary. From your description, however, I'm inferring that you have a gateway only solution.
Hope this helps!
12-14-2006 07:06 AM
In your example you have a dedicated PSTN connection for blocking CLID and match on the destination-pattern in that dial-peer and then remove the CLID with a translation-profile.
In my case we are using this dial-peer for all external calls and would like to show the CLID for all calls except the ones dialing this special prefix to hide it. I can not see how to separate the calls in the same dial-peer.
Thanks
/Andreas
12-14-2006 07:24 AM
You can act on the inbound dial-peer using answer-address [calling number] and then manipulate these calls!
12-15-2006 02:37 AM
Here are my voip dial-peer.
dial-peer voice 200 voip
destination-pattern ....
voice-class codec 1
voice-class h323 1
session target ipv4:x.x.x.x
incoming called-number 0T
dtmf-relay h245-alphanumeric
no vad
So could i create another dial-peer without a destination-pattern to the same IP? and specify in incoming called-number my prefix to hide the CLID?
Something like this?
dial-peer voice 201 voip
translation-profile outgoing noCLID
voice-class codec 1
voice-class h323 1
session target ipv4:x.x.x.x
incoming called-number 9983T
dtmf-relay h245-alphanumeric
no vad
voice translation-rule 5
rule 1 /.../ /0000/ plan any private
voice translation-profile noCLID
translate calling 5
So in this case will the router check the called number from the same IP for 0T or 9983T and then send that call through the right dial-peer?
Anyway I will do some testing on this.
Thanks
/Andreas
12-15-2006 02:43 AM
Edit your Post and omit the IP addresses as they are public IPs.
12-15-2006 03:11 AM
When you dial 9983 inbound dialpeer 201 should be matched ,Then translation applied
and outbound dialpeer matched!
It could work out!
Let me know if it does !
12-15-2006 06:28 AM
Yes it works. :)
With "debug voice dialpeer" I can see that incoming dial-peer 201 is matched with prefix 9983 and dial-peer 200 for others numbers..
Best Regards
/Andreas
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