[Asterisk-Users] Re: Where is the Prefix() application in Asterisk1.2.1 ?

Steven asterisk at tescogroup.com
Tue Jan 3 09:05:32 MST 2006


Just do:
exten => _12xx,2,Dial(${TRUNK}/0${EXTEN}|30,r) ; adding zero
exten => _012xx,2,Dial(${TRUNK}/${EXTEN}|30,r) ; not adding zero
The zero is added before ${EXTEN}.

I have only ever used the stable versions and have always done it this way.

-- 
-- 
Steven

May you have the peace and freedom that come from abandoning all hope of having a better past.
---    -      ---  - - -       -    -     -   -   --  - - - --- - ------   - - --- - - -- -  -    - --   -   -    -
"Bukoka Budoka" <budoka806 at hotmail.com> wrote in message news:BAY106-F17B8EC3A54CAE1C5057E5CE72C0 at phx.gbl...
> Hi ,
>
> thank you for your answer,
>
> If Prefix() command is only in CVS-HEAD, then how can you prepend leading digits in a stable version?
>
> It does not make any sense not to have this feature in a version downloaded from thw Digium FTP site...
>
> Budoka.
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 






More information about the asterisk-users mailing list