[Asterisk-Users] Stripping numbers at the end of a dial pattern => extension

Girish Gopinath gopinath_girish at hotmail.com
Sun May 9 10:05:49 MST 2004


Hi,

Replying to my own mail. There is a mistake, The syntax is incorrect:

>From: "Girish Gopinath" <gopinath_girish at hotmail.com>
>exten => 12345, 1, SetVar,MYDIGITS=${EXTEN:2,3} ; MYDIGITS = 2345.
Correct: exten => 1234, 1, SetVar,MYDIGITS=${EXTEN:2:3} ; MYDIGITS = 234.

My apologies...

Girish

_________________________________________________________________
Sports, sports and more sports! Keep up with all that’s happening! 
http://www.msn.co.in/sports/ Stay connected with MSN Sports!




More information about the asterisk-users mailing list