[email protected] wrote:
[quote] +exten => s,n,GotoIf($["${the_num}" = “OUTNUM”]?outnum:skipoutnum) ; if we didn’t find “OUTNUM”, then skip to Dial
+exten => s,n(outnum),Set(the_num=${OUTNUM}) ; replace “OUTNUM” with the actual number to dial
+exten => s,n(skipoutnum),Dial(${pre_num:4}${the_num}${post_num},120,${TRUNK_OPTIONS})
[/quote]
I’m not that clued up about the new n(word) syntax: Will this new system
go from n(outnum) to n(skipoutnum)? I.E. after n(outnum) happens, we
need to move on to the Dial() command, so that the call is actually
made. Wouldn’t it skip to the next n?
I’m just confused!