[cisco-voip] H323 call rejection using Translation Profile not working

Sreekanth sknth.n at gmail.com
Fri Apr 8 05:24:37 EDT 2016


Can you share these debugs for a test call?
debug voip ccapi inout
debug voip translation
debug voip dialpeer



On 8 April 2016 at 07:05, Jeffrey Girard <jeffrey.girard at girardinc.com>
wrote:

> All –
>
>                 Playing around with call blocking using an H.323 gateway.
>
>
>
>                 Gateway has an FXO port and it is configured as an H323 GW
> to a CUCM.
>
>
>
>                 Here is the code
>
>
>
>                 voice translation-rule 1
>
> rule 1 reject /1000/
>
> exit
>
>
>
> voice translation-profile call_block
>
> translate calling 1
>
> exit
>
>
>
>                 dial-peer voice 100 pots
>
>                 answer-address 1000
>
>                 translation-profile incoming call_block
>
> call-block translation-profile incoming call_block
>
>                 call-block disconnect-cause call-reject
>
>
>
> If I do a test of the translation profile using
>
> Test voice translation-rule 1 /1000/
>
> I get
>
> /1000/ blocked on rule 1
>
>
>
> However, when I have debug voice dialpeer enabled, I see that the incoming
> call matches on the correct dial peer (dial peer 100) and then continues to
> process and searches for an outbound dial peer.
>
>
>
> I have tried several variations.  I have taken out the
> “translation-profile incoming call_block” command from the dial peer.  I
> have tried adding the command “translation-profile incoming call_block”
> directly to the voice port.
>
>
>
> In all instances, the correct incoming dial peer matches, but then it
> seems like the translation profile does not get called.
>
>
>
> Any thoughts?
>
>
>
> Jeff
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20160408/4e0b8b9d/attachment.html>


More information about the cisco-voip mailing list