Add Random Prefix to Outbound

Hello,

I’m looking for a way to append a random prefix to an outbound number. My GSM gateway requires a prefix for each individual sim ranging from 1-32. Is there a way to utilize the RAND function in front of {EXTEN}?

Thank You

Store the result of RAND in a variable and use that variable:

${var_from_rand}${EXTEN}