Hello Everyone,
I am trying to create a dial plan that will randomly record incoming calls.
I believe the GotoIf function will achieve this. But I am confused with the syntax of the command and what information I need to provide.
I also found this post from a while back that sounds like it does what I am trying to do.
viewtopic.php?p=53344
Here is the GotoIf function that was used in the link above, I’m just not sure what all these numbers are related to.
exten => 1,3,GotoIf($[${RAND(0,99)} + 50 >= 100]?1|6)
If anyone could help or point me in the right direction, that would be much appreciated!
Thanks.