[Asterisk-Users] Where is the Prefix() application in Asterisk 1.2.1 ?

Pete Barnwell peter at whole-uk.com
Tue Jan 3 06:51:56 MST 2006


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 at xxxxxxxxx.net on a i686 running Linux on
2005-10-13 15:42:41 UTC

Rgds

Pete




More information about the asterisk-users mailing list