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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 > _______________________________________________ --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
