Mailing List Archive

dial-peer clid network-number command
Hi,

I know this may not be really on-topic for this list.

Has anyone ever used the clid network-number command
on a dial-peer to modify calling-party number
information? The IOS command line help suggests
wildcards can be used, however I've been unable to
find any documentation on what those wildcards are and
such. I can just find basic command syntax and basic
samples.

What I'm trying to do is use this command to prepend
91 to the calling party-number field from Inbound ISDN
calls on the router/gateway. Unless someone knows of
another way in IOS to do this.

Thanks, Erick

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Re: dial-peer clid network-number command [ In reply to ]
Hi Erick,

You can use IOS translation rules. Apply them globally or on a Dial-peer
level,
Calling or Called Number, Incoming or Outgoing, POTS or VoIP.

Using IOS Translation Rules - Creating Scalable Dial Plans for VoIP Networks
http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_configuration_example09186a0080094681.shtml

Mapping Outbound VoIP Calls to specific Digital Voice Ports
http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_configuration_example09186a00801c0a88.shtml

Example:

Translation Rule 1 is applied to the Called Number and strips incoming
calls that
start with 666001.

Translation Rule 2 is applied to the Calling Number and prepends 666001 to all
outbound calls that match the specific dial-peer 8 & 9.
!
!
!
!
!
voip-incoming translation-rule called 1
mta receive maximum-recipients 0
!
translation-rule 1
Rule 0 ^6660016.% 6
!
translation-rule 2
Rule 0 . 666001
!
!
!
!
!
dial-peer voice 8 voip
destination-pattern 8.....
translate-outgoing calling 2
session target ras
!
dial-peer voice 9 voip
destination-pattern 9...........
translate-outgoing calling 2
session target ras
!
gateway
!

At 02:38 PM 11/12/2003 -0800, Erick B. wrote:
>Hi,
>
>I know this may not be really on-topic for this list.
>
>Has anyone ever used the clid network-number command
>on a dial-peer to modify calling-party number
>information? The IOS command line help suggests
>wildcards can be used, however I've been unable to
>find any documentation on what those wildcards are and
>such. I can just find basic command syntax and basic
>samples.
>
>What I'm trying to do is use this command to prepend
>91 to the calling party-number field from Inbound ISDN
>calls on the router/gateway. Unless someone knows of
>another way in IOS to do this.
>
>Thanks, Erick
>
>__________________________________
>Do you Yahoo!?
>Protect your identity with Yahoo! Mail AddressGuard
>http://antispam.yahoo.com/whatsnewfree
>_______________________________________________
>cisco-nas mailing list
>cisco-nas@puck.nether.net
>https://puck.nether.net/mailman/listinfo/cisco-nas
Re: dial-peer clid network-number command [ In reply to ]
Danny,

Thanks. Didn't think of that.. saw the clid
network-number command which sounded like what I
needed and it was new feature so thought I'd play
around with it.

I got it working with translation though.

translation-rule 2
rule 0 . 91

dial-peer voice 2 voip
translate-outgoing calling 2

--- Danny Anello <danello@cisco.com> wrote:
> Hi Erick,
>
> You can use IOS translation rules. Apply them
> globally or on a Dial-peer
> level,
> Calling or Called Number, Incoming or Outgoing, POTS
> or VoIP.
>
> Using IOS Translation Rules - Creating Scalable Dial
> Plans for VoIP Networks
>
http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_configuration_example09186a0080094681.shtml
>
> Mapping Outbound VoIP Calls to specific Digital
> Voice Ports
>
http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_configuration_example09186a00801c0a88.shtml
>
> Example:
>
> Translation Rule 1 is applied to the Called Number
> and strips incoming
> calls that
> start with 666001.
>
> Translation Rule 2 is applied to the Calling Number
> and prepends 666001 to all
> outbound calls that match the specific dial-peer 8 &
> 9.
> !
> !
> !
> !
> !
> voip-incoming translation-rule called 1
> mta receive maximum-recipients 0
> !
> translation-rule 1
> Rule 0 ^6660016.% 6
> !
> translation-rule 2
> Rule 0 . 666001
> !
> !
> !
> !
> !
> dial-peer voice 8 voip
> destination-pattern 8.....
> translate-outgoing calling 2
> session target ras
> !
> dial-peer voice 9 voip
> destination-pattern 9...........
> translate-outgoing calling 2
> session target ras
> !
> gateway
> !
>
> At 02:38 PM 11/12/2003 -0800, Erick B. wrote:
> >Hi,
> >
> >I know this may not be really on-topic for this
> list.
> >
> >Has anyone ever used the clid network-number
> command
> >on a dial-peer to modify calling-party number
> >information? The IOS command line help suggests
> >wildcards can be used, however I've been unable to
> >find any documentation on what those wildcards are
> and
> >such. I can just find basic command syntax and
> basic
> >samples.
> >
> >What I'm trying to do is use this command to
> prepend
> >91 to the calling party-number field from Inbound
> ISDN
> >calls on the router/gateway. Unless someone knows
> of
> >another way in IOS to do this.
> >
> >Thanks, Erick
> >
> >__________________________________
> >Do you Yahoo!?
> >Protect your identity with Yahoo! Mail AddressGuard
> >http://antispam.yahoo.com/whatsnewfree
> >_______________________________________________
> >cisco-nas mailing list
> >cisco-nas@puck.nether.net
> >https://puck.nether.net/mailman/listinfo/cisco-nas
>


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree