[Asterisk-Users] manipulating with numbers - StripMSD, Prefix

Stephen Davies steve at daviesfam.org
Wed Jan 7 10:09:23 MST 2004


On Wed, 7 Jan 2004, Tilghman Lesher wrote:

> On Wednesday 07 January 2004 06:06, Dawid Mielnik wrote:
> > Hello,
> >
> > I can not seem to be able to get StripMSD and Prefix to work for me
> > in extensions.conf. This is an example of what I have:
> >
> > exten => _050.,1,StripMSD,1
> > exten => _50.,Prefix,01051
> >
> > exten => _001051.,1,Dial(${TRUNK2}/${EXTEN})
> > exten => _001051.,2,Busy
> > exten => _001051.,102,Busy
> >
> > What I want to achieve is to call 001051501657887 on TRUNK2 when
> > dialing 0501657887.
> 
> Here's an idea - don't use StripMSD and Prefix anymore, as there are
> better options now:

.... and don't leave out the priority in the second exten line.

Steve





More information about the asterisk-users mailing list