Steven suggested: > You can accomplish your intended function by using either > Macros, channel variables, or an include.
And one more way to do it (just to show how flexible Asterisk is): ----------------------- [iax-demo] exten => s,1,Playback(demo-abouttotry) exten => s,2,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED]) exten => s,3,Playback(demo-nogo) [some-menu] <snip all exten => s... stuff> exten => 300,1,Dial(Local/[EMAIL PROTECTED]/n,,g) exten => 300,2,goto(s,3) [some-other-menu] <snip all exten => s... stuff> exten => 300,1,Dial(Local/[EMAIL PROTECTED]/n,,g) exten => 300,2,Goto(s,1) ----------------------- Which, in the given example isn't the most efficient way of doing it! However, if extension 300 is slightly different in [some-menu] and [some-other-menu] and therefore can't be managed by an 'include => extension-300-stuff' or somesuch, then the advantages of a local dial command become apparent. Nick Barnes Senior Consultant. _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users