Hi All,<br><br>I'm tryng to test different scenarios for followme for different users:<br><br>[localext]<br>exten => 101,1,Set(FM = "ALWAYS");<br>exten => 101,n,Macro(dial-ext|SIP/${EXTEN}|vm-10000|moh-101|fm-101);<br>exten => 101,n,Hangup<br>exten => 102,1,Set(FM = "NEVER");<br>exten => 102,n,Macro(dial-ext|SIP/${EXTEN}|vm-10000|moh-102|fm-102);<br>exten => 102,n,Hangup<br>exten => 103,1,Set(FM = "WHENBUSY");<br>exten => 103,n,Macro(dial-ext|SIP/${EXTEN}|vm-10000|moh-103|fm-103);<br>exten => 103,n,Hangup<br>exten => 104,1,Set(FM = "WHENUNAVAILABLE");<br>exten => 104,n,Macro(dial-ext|SIP/${EXTEN}|vm-10000|moh-103|fm-103);<br>exten => 104,n,Hangup<br>exten => 105,1,Set(FM = "CUSTOM");<br>exten => 105,n,Macro(dial-ext|SIP/${EXTEN}|vm-10000|moh-103|fm-103);<br>exten => 105,n,Hangup<br><br>[macro-dial-ext]<br>exten => s,1,SetMusicOnHold(${ARG3})<br>exten => s,n,Dial(${ARG1},5,M(setmusiconhold,${ARG3}))<br>exten =>
s,n,GotoIf(FM = "NEVER"|?vm)<br>exten => s,n,GotoIf(FM = "CUSTOM"|?s-CUSTOM,1)<br>exten => s,n,GotoIf(FM = "WHENUNAVAILABLE"|?s-CHANUNAVAIL)<br>exten => s,n,GotoIf(FM = "WHENBUSY"|?s-BUSY)<br>exten => s-CHANUNAVAIL,1,Followme(${ARG4})<br>exten => s-BUSY,1,Followme(${ARG4})<br>exten => s-CUSTOM,1,GotoIftime(17:00-19:00|*|*|*?c-CUSTOM,n)<br>exten => s-CUSTOM,n,Followme(${ARG4})<br>exten => s,n,Followme(${ARG4})<br>exten => s,n(vm),Voicemail(${MACRO_EXTEN}@${ARG2}|u)<br>exten => s,n,Playback(vm-goodbye)<br>exten => s,n,Hangup<br><br><br>but it just keeps on going to this line<br>exten => s,n,GotoIf(FM = "NEVER"|?vm)<br><br>ami using GotoIf correctly? or am i referring to the FM variable properly? and is there easier way of doing this? TIA<br><br>regards<br>Ron<br><p> 
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>