12-18-2003 10:59 AM - edited 03-13-2019 03:05 AM
Can someone tell me how this is done ib an H323 IOS gateway? I won't to block based on the caller ID of someone. Thanks.
12-18-2003 08:56 PM
This is possible through the use of a TCL script running on the IOS gateway. If you send me an email, I can mail a sample script to you. My address is listed in my profile.
12-21-2003 08:04 PM
me too, if it's not a problem. kbergsbaken@univision.net
02-04-2004 07:38 AM
if its not so much trouble..can i ask for the sample script too? my email add is joelf@mozcom.com
thanks
03-26-2004 05:28 AM
Hello, Dave.
Can you mail me your TCL script? My address is andrew@kardamanov.ru
I saw example how restrict calls by translation-rule. It's good. But I need time restriction also. And I hope that your example will help me.
PS Sorry but I dont see your email in your profile:-(
02-08-2004 01:04 PM
I would just write a translation rule on the incoming dial-peer that translates the number to a non-existant one. The caller would then just get a fast-busy.
02-08-2004 01:53 PM
I thought translation rules were for the called number and not the calling number. I need to match on the calling number and send it to a bogus number. TCL script, as mentioned earlier in the thread, does the trick.
Thanks.
02-08-2004 04:04 PM
I'm sure TCL does, I'm not into writing scripts though. But here is the jist of it.
Say you have a phone on an FXS port, DN=1000
And you have an IP phone coming in on DN=2000
Say you dont want the IP phone to dial 1000.
voice translation-rule 1
rule 1 /1000/ //
voice translation-profile BlockCalls
translate called 1
dial-peer voice 50 voip
translation-profile incoming BlockCalls
answer-address 2000
!
dial-peer voice 20 pots
destination-pattern 1000
port 1/1/1
!
02-08-2004 06:14 PM
I see. So you use the dial-peer voice 50 to match the calling ID of the IP phone via the "answer address" command? Then use the translation-profile to block calls to 1000? Interesting. I may have to play with this in my lab.
Thanks!!
02-08-2004 07:27 PM
Yes, The actual application for it was mapping callers to specific outgoing FXO ports. But modified this way it becomes a decent way to block a caller from calling a number. Your welcome.
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: