[cisco-voip] basic digit manipulation
Jonathan Charles
jonvoip at gmail.com
Sun Feb 19 22:01:00 EST 2006
Sure, do a forward-digits 7 (or whatever to count from right to left)
and then if you need to add digits in the front, add a 'prefix 9' or
whatever (the 9 could be needed on some centrex systems)
it is pretty easy to manipulate digits like this.
J
On 2/16/06, Ciscozest <ciscozest at gmail.com> wrote:
>
> thanks for your reply. Initialy I thought anything within the bracket is
> not excplitly matched and will be sent out.
> Anyway how if I want to include that range digit [1-4] to PSTN? Is there a
> simpler way to do it rather than create a unique dial-peer for each of them?
>
> ----- Original Message -----
> *From:* Jonathan Charles <jonvoip at gmail.com>
> *To:* Ciscozest <ciscozest at gmail.com>
> *Cc:* cisco-voip at puck.nether.net
> *Sent:* Friday, February 17, 2006 8:33 AM
> *Subject:* Re: [cisco-voip] basic digit manipulation
>
> 565 then not the 9 or the next matched digit, anything matched by the dots
> will be sent...
>
> So,
>
> 565.......
>
> Would be sent.
>
>
>
> Jonathan
>
> On 2/16/06, Ciscozest <ciscozest at gmail.com> wrote:
> >
> > I am wondering what digits are sent with following config:
> >
> > dial-peer voi 1 pots
> > destination-pattern 9[1-4].......
> > prefix 565
> > !
> >
> > I have two FXS and two FXO VIC in my vg200, but no PSTN line. Is there a
> > way i can test the above setup? Ie: to simulate as if the FXO interface 'up'
> > so that I can use debug voice command to see the digits sent out. Anyone
> > can help?
> >
> > thanks
> > Robin
> >
> > _______________________________________________
> > 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/20060219/be59f2cb/attachment.html
More information about the cisco-voip
mailing list