h323 Translation
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > WebserverTalk Community > Voice Over IP > Voice over IP Cisco > h323 Translation




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    h323 Translation  
Scott Voll


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-26-07 06:12 PM

How do I match based on calling and called number and redirect to another
number?

IE>  No caller ID is calling 4571 (4 digits coming in PRI)  --> send to
extension 8888

How do i do that?

Thanks

Scott






[ Post a follow-up to this message ]



    Re: h323 Translation  
Scott Voll


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-29-07 12:11 AM

Finished product:

in case someone googles this and wants the config this is how it works:

voice translation-rule 2 <--  Match No Caller ID and make it 9999
rule 1 /^$/ /9999/
!
voice translation-rule 3 <-- match the called number and send it where you
want it to go (Call Handler)
rule 1 /4571/ /8888/

voice translation-profile redirectUnknown <--  where to send caller that
matches 9999 calling 4571 to
translate called 3
!
voice translation-profile unknown <-- match no caller ID to 9999
translate calling 2

voice-port 3/1:23
translation-profile incoming unknown <-- match no caller ID to
echo-cancel coverage 128
bearer-cap Speech
!
voice-port 3/2:23
translation-profile incoming unknown  <-- match no caller ID to
echo-cancel coverage 128
bearer-cap Speech

dial-peer voice 6 pots
translation-profile incoming redirectUnknown <-- redirect caller to
answer-address 9999 <-- matching no caller ID
direct-inward-dial
port 3/1:23

All other dial peers must have answer-address .... since your trying to
match 9999.   "incoming called-number ." will mess up the matching.

Scott




On 9/26/07, Scott Voll <svoll.voip@gmail.com> wrote:
>
> How do I match based on calling and called number and redirect to another
> number?
>
> IE>  No caller ID is calling 4571 (4 digits coming in PRI)  --> send to
> extension 8888
>
> How do i do that?
>
> Thanks
>
> Scott
>






[ Post a follow-up to this message ]



    Re: h323 Translation  
David Lin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-07 06:11 AM

Hi all,
What is the difference between the commands Voice translation rule and
translation rule?
in what situation is it appropriate to use each of these commands?
Thanks,

David


>From: "Scott Voll" <svoll.voip@gmail.com>
>To: "cisco voip list" <cisco-voip@puck.nether.net>, scott.voll@wesd.org
>Subject: Re: [cisco-voip] h323 Translation
>Date: Fri, 28 Sep 2007 14:48:29 -0700
>
>Finished product:
>
>in case someone googles this and wants the config this is how it works:
>
>voice translation-rule 2 <--  Match No Caller ID and make it 9999
>  rule 1 /^$/ /9999/
>!
>voice translation-rule 3 <-- match the called number and send it where you
>want it to go (Call Handler)
>  rule 1 /4571/ /8888/
>
>voice translation-profile redirectUnknown <--  where to send caller that
>matches 9999 calling 4571 to
>translate called 3
>!
>voice translation-profile unknown <-- match no caller ID to 9999
>  translate calling 2
>
>voice-port 3/1:23
>  translation-profile incoming unknown <-- match no caller ID to
>  echo-cancel coverage 128
>  bearer-cap Speech
>!
>voice-port 3/2:23
>  translation-profile incoming unknown  <-- match no caller ID to
>  echo-cancel coverage 128
>  bearer-cap Speech
>
>dial-peer voice 6 pots
>  translation-profile incoming redirectUnknown <-- redirect caller to
>  answer-address 9999 <-- matching no caller ID
>  direct-inward-dial
>  port 3/1:23
>
>All other dial peers must have answer-address .... since your trying to
>match 9999.   "incoming called-number ." will mess up the matching.
>
>Scott
>
>
>
>
>On 9/26/07, Scott Voll <svoll.voip@gmail.com> wrote: 
>another 

[vbcol=seagreen]
> ________________________________________
_______
>cisco-voip mailing list
>cisco-voip@puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-voip

 ________________________________________
_________________________
Share More On Messenger with a Windows Live Space
http://spaces.live.com/?mkt=en-ca





[ Post a follow-up to this message ]



    Re: h323 Translation  
Patrick Diener


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-07 12:12 PM

translation rules are the old and crappy way to do digit manipulation,
voice translation rules and profiles the new, elegant and flexible way
to do it.

so NEVER EVER use translation rules anymore

Regards
Patrick

On 9/30/07, David Lin <david.lin@msn.com> wrote:
> Hi all,
> What is the difference between the commands Voice translation rule and
> translation rule?
> in what situation is it appropriate to use each of these commands?
> Thanks,
>
> David
>
> 
>
> 
>
>  ________________________________________
_________________________
> Share More On Messenger with a Windows Live Space
> http://spaces.live.com/?mkt=en-ca
>
>  ________________________________________
_______
> cisco-voip mailing list
> cisco-voip@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>





[ Post a follow-up to this message ]



    Re: h323 Translation  
David Lin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-07 06:11 PM

Thanks Patrick.

Particularly, I gonna add a prefix to all the number, such as 202xxx xxxx to
1202xxx xxxx, 905xxx xxxx to 1905xxx xxxx, etc.
In the previous translate rule, I just need add one rule only,
rule 1 * 1

However, it seems I have to add 10 rules for every matching digit by voice
translation rule,
rule 1 /^1+/ /001/
rule 2 /^2+/ /12/
rule 3 /^3+/ /13/
......
rule 9 /^9+/ /19/

Vice versa, I have to add several rules to truncate the digits.
Is my understanding/configuration correct?


Thanks,

David


>From: "Patrick Diener" <patrick.diener@gmail.com>
>To: cisco-voip@puck.nether.net
>Subject: Re: [cisco-voip] h323 Translation
>Date: Sun, 30 Sep 2007 10:18:55 +0200
>
>translation rules are the old and crappy way to do digit manipulation,
>voice translation rules and profiles the new, elegant and flexible way
>to do it.
>
>so NEVER EVER use translation rules anymore
>
>Regards
>Patrick
>
>On 9/30/07, David Lin <david.lin@msn.com> wrote: 
>you 
>that 
>to 
> ________________________________________
_______
>cisco-voip mailing list
>cisco-voip@puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-voip

 ________________________________________
_________________________
Enter to win a night a VIP night out at TIFF
http://redcarpet.sympatico.msn.ca/





[ Post a follow-up to this message ]



    Re: h323 Translation  
Patrick Diener


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-07 06:11 PM

this can be easly done in one rule using voice translation rules:

voice translation-rule 1
rule 1 /^.*/ /1\0/

^.* will match any digit string and relplace it with 1 + the matched
digit string

check out this doc for all you need to know about voice translation rules:
http://www.cisco.com/en/US/tech/tk6...0803f818a.shtml

if you are feeling more comfortable to use translation rules thats no
problem, they work. voice translation rules just give you way more
flexibility and control of the digit manipulation   and there is tons
of stuff you can't do with translation rules...

Regards
Patrick

On 9/30/07, David Lin <david.lin@msn.com> wrote:
> Thanks Patrick.
>
> Particularly, I gonna add a prefix to all the number, such as 202xxx xxxx 
to
> 1202xxx xxxx, 905xxx xxxx to 1905xxx xxxx, etc.
> In the previous translate rule, I just need add one rule only,
> rule 1 * 1
>
> However, it seems I have to add 10 rules for every matching digit by voice
> translation rule,
> rule 1 /^1+/ /001/
> rule 2 /^2+/ /12/
> rule 3 /^3+/ /13/
> ......
> rule 9 /^9+/ /19/
>
> Vice versa, I have to add several rules to truncate the digits.
> Is my understanding/configuration correct?
>
>
> Thanks,
>
> David
>
> 
>
>  ________________________________________
_________________________
> Enter to win a night a VIP night out at TIFF
> http://redcarpet.sympatico.msn.ca/
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:41 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register