Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Voice translation profiles match called number then manipulate calling numb

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Member

Re: Voice translation profiles match called number then manipula

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 !

9 REPLIES
Community Member

Re: Voice translation profiles match called number then manipula

i did't understand where You must act(call manager or gateway)

Community Member

Re: Voice translation profiles match called number then manipula

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

Community Member

Re: Voice translation profiles match called number then manipula

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!

Community Member

Re: Voice translation profiles match called number then manipula

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

Community Member

Re: Voice translation profiles match called number then manipula

You can act on the inbound dial-peer using answer-address [calling number] and then manipulate these calls!

Community Member

Re: Voice translation profiles match called number then manipula

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

Silver

Re: Voice translation profiles match called number then manipula

Edit your Post and omit the IP addresses as they are public IPs.

Community Member

Re: Voice translation profiles match called number then manipula

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 !

Community Member

Re: Voice translation profiles match called number then manipula

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

473
Views
0
Helpful
9
Replies
CreatePlease to create content