Bukoka Budoka
2006-Jan-03 06:06 UTC
[Asterisk-Users] Where is the Prefix() application in Asterisk 1.2.1 ?
Hi, i am trying to use the Prefix() application in my dialplan but ...it is not there: "pbx.c:1690 pbx_extension_helper: No application 'Prefix' for extension (test, 1233, 1)" My entry in extensions.conf is the following: [outgoing-calls] exten => _12xx,1,Prefix(0) exten => _012xx,2,Dial(${TRUNK}/${EXTEN}|30,r) As i also see in my Asterisk 1.2.1 there is no prefix() application. localhost*CLI> show applications like Prefix -= Matching Asterisk Applications =- -= 0 Applications Matching =- localhost*CLI> show applications like prefix -= Matching Asterisk Applications =- -= 0 Applications Matching =- I read somewhere that the prefix command is only in CVS-HEAD... Is this true? Thank you, Budoka. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Pete Barnwell
2006-Jan-03 06:51 UTC
[Asterisk-Users] Where is the Prefix() application in Asterisk 1.2.1 ?
On Tue, 2006-01-03 at 14:06 +0100, Bukoka Budoka wrote:> Hi, > > i am trying to use the Prefix() application in my dialplan but ...it is not > there: > > "pbx.c:1690 pbx_extension_helper: No application 'Prefix' for extension > (test, 1233, 1)" > > My entry in extensions.conf is the following: > > [outgoing-calls] > exten => _12xx,1,Prefix(0) > exten => _012xx,2,Dial(${TRUNK}/${EXTEN}|30,r) > > As i also see in my Asterisk 1.2.1 there is no prefix() application. > > localhost*CLI> show applications like Prefix > -= Matching Asterisk Applications =- > -= 0 Applications Matching =- > localhost*CLI> show applications like prefix > -= Matching Asterisk Applications =- > -= 0 Applications Matching =- > > > I read somewhere that the prefix command is only in CVS-HEAD... Is this > true? >Looks a plausible explanation:- asterisk*CLI> show applications like Prefix -= Matching Asterisk Applications =- Prefix: Prepend leading digits -= 1 Applications Matching =- asterisk*CLI> show version Asterisk CVS HEAD built by root@xxxxxxxxx.net on a i686 running Linux on 2005-10-13 15:42:41 UTC Rgds Pete
C F
2006-Jan-03 08:25 UTC
[Asterisk-Users] Where is the Prefix() application in Asterisk 1.2.1 ?
9 more days to go. On 1/3/06, Morel Mosolff <morel.mosolff@native-instruments.de> wrote:> > Dear friends and business associates, > > I will be out of office until January the 12th, 2006. > With kind regards, > > Morel Mosolff > _______________________________________________ > --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 >
Bukoka Budoka
2006-Jan-03 08:28 UTC
[Asterisk-Users] Where is the Prefix() application in Asterisk 1.2.1 ?
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/
Bukoka Budoka
2006-Jan-03 14:53 UTC
[Asterisk-Users] Where is the Prefix() application in Asterisk 1.2.1 ?
Thanks Steven, that is a good way of achieving this. Budoka. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/