[Amportal-users] Re: [Amportal-cvs] SF.net SVN: amportal: [1

[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!

I assume you saw my reply on the AAH forum?

Yeah, thanks. :slight_smile: I completely misunderstood the n(alias) system. I know how it works now.