[asterisk-users] No application 'Prefix' for extension in1.2x, what app I have to use instead?

Eric "ManxPower" Wieling eric at fnords.org
Thu Mar 8 15:01:34 MST 2007


Rafael J. Risco G.V. wrote:
> Hi
> I want to use Prefix app in extensions but get this error:
> 
> WARNING[9255] pbx.c: No application 'Prefix' for extension ...
> 
> I am just want to do somethig like this:
> 
> exten => _9XXXXXXX,1,ANSWER()
> exten => _9XXXXXXX,2,Wait(1)
> exten => _9XXXXXXX,3,Prefix(511)
> exten => _5119XXXXXXX,4,DeadAGI(a2billtest.php|1)
> exten => _5119XXXXXXX,5,Hangup()
> 
> Please someone tell me how to install Prefix/Suffix application, or
> tell if it has been deprecated in 1.2.x versions... what command I
> have to use instead?

Prefix was deprecated in 1.0 and removed in 1.2

Use this instead of Prefix():

exten => _9XXXXXXX,1,ANSWER()
exten => _9XXXXXXX,2,Wait(1)
exten => _9XXXXXXX,3,Goto(511${EXTEN},1)

exten => _5119XXXXXXX,1,DeadAGI(a2billtest.php|1)
exten => _5119XXXXXXX,2,Hangup()


More information about the asterisk-users mailing list