Suffix( )


Suffix( ) Appends trailing digits to the current extension

 Suffix(   digits   ) 

Appends the digit string specified by digits to the channel's associated extension and continues processing at the next priority for the new extension. So, for example, if priority 1 of extension 555 is Suffix(1212) , 1212 will be appended to 555 and the next step executed will be priority 2 of extension 5551212. If you switch into an extension that has no priority n +1 (where n is the current priority), the PBX will treat it as though the user dialed an invalid extension.

Always returns .

  exten => 555,1,Suffix(1212)  exten => 5551212,2,SayDigits(${EXTEN}) 

See Also

Prefix( )



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net