[cisco-voip] Stripping the first digit
Jonathan Charles
jonvoip at gmail.com
Sat May 10 10:04:19 EDT 2008
Prefix 0
Since the 9 and the 0 are specifically matched, they will not be
forwarded to telco.
So, you need to re-add the 0
Jonathan
On Sat, May 10, 2008 at 1:20 AM, new look <newlook110 at yahoo.com> wrote:
> Many Thanks.
> But my example the dest pattern is 90[^012678]..T so what is the best
> solution to strip the first digit (9) only
>
> ----- Original Message ----
> From: Bill Talley <billt at aos5.com>
> To: new look <newlook110 at yahoo.com>; cisco voip <cisco-voip at puck.nether.net>
> Sent: Saturday, May 10, 2008 3:55:51 AM
> Subject: Re: [cisco-voip] Stripping the first digit
>
> Add the command 'forward-digits 10'.
>
> Or, if it's a variable length destination pattern, instead of defining
> forward-digits, prefix the digits you're matching in the destination
> pattern, with the exception of the 9.
>
> For example, if your destination pattern is 9088......., then your prefix
> statement would be 'prefix 088'. This will send 088, plus any digits
> represented by the dots.
>
> Or you could try to tackle translation rules.
>
> -----Original Message-----
> From: "new look" <newlook110 at yahoo.com>
> To: "cisco voip" <cisco-voip at puck.nether.net>
> Sent: 5/9/08 8:35 PM
> Subject: [cisco-voip] Stripping the first digit
>
> Dear All,
> How can I strip the first digit as shown below?
> dial-peer voice 35 pots
> destination-pattern 90[^012678]..T
> port 0/0/0
> for example 90885679076
> How can I strip 9 only from the above pattern and forward only 0885679076
> Thanks
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> CONFIDENTIALITY NOTICE: This electronic mail transmission (including any
> accompanying attachments) is intended solely for its authorized
> recipient(s), and may contain confidential and/or legally privileged
> information. If you are not an intended recipient, or responsible for
> delivering some or all of this transmission to an intended recipient, be
> aware that any review, copying, printing, distribution, use or disclosure of
> the contents of this message is strictly prohibited. If you have received
> this electronic mail message in error, please delete it from your system
> without copying it, and contact sender immediately by Reply e-mail, or by
> calling 913-307-2300, so that our address records can be corrected.
>
>
>
> Although this e-mail and any attachments are believed to be free of any
> virus or other defect that might negatively affect any computer system into
> which it is received and opened, it is the responsibility of the recipient
> to ensure that it is virus free and no responsibility is accepted by the
> sender for any loss or damage arising in any way in the event that such a
> virus or defect exists.
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
> ________________________________
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
More information about the cisco-voip
mailing list