[Asterisk-Users] Prefix the * character

Kris Stark kris at godataflow.com
Sun Dec 7 22:28:50 MST 2003


On Sun, 2003-12-07 at 23:57, Tilghman Lesher wrote:
> On Sunday 07 December 2003 22:48, Kris Stark wrote:
> > Any ideas on how to do this one?
> >
> > FWD requires an * on certain calls as a prefix character, but I
> > cannot seem to be able to get Prefix(*) to add that to the front of
> > the extension that is dialed...  Setting up an extension that dials
> > (SIP/*31... at fwd.pulver.com) works just fine, but in trying to add the
> > prefix to a dialed number, it acts as if the Prefix command was not
> > even there, ie:
> >
> > exten => 1,1,Prefix(*)
> > exten => *1,2,Dial(SIP/${EXTEN}@fwd.pulver.com)
> >
> > would dial 1 at fwd.pulver.com, and not *1 at fwd.pulver.com
> >
> > Any ideas?
> 
> Prefix is an older application which was more useful prior to being
> able to manipulate variables (the days of BYEXTENSION instead of
> ${EXTEN}).  Instead, do:
> 
> Dial(SIP/*${EXTEN}@fwd.pulver.com)
> 
> -Tilghman

Thanks!  I actually had tried this to no avail, but then noticed after
digging through that it was in fact using the wrong entry to begin
with...  An simpler match was being made, and so it never got to that
part of the dialplan...

Thanks again!

Kris




More information about the asterisk-users mailing list