Tilghman Lesher wrote: > On Thursday 29 November 2007 13:29:17 Philip Prindeville wrote: > >> [snip] >> The issue is that I have, per "virtual pbx" (i.e. home or business), two >> contexts that these get used from. The "internal-xyzzy" and >> "incoming-xyzzy" contexts (one for each pbx, ie. "xyzzy" is "home" or else >> it's "office"). >> >> I was wondering if there wasn't a more flexible solution to this issue, >> than hard-coding a "Goto(default,s,1)" into them (I have no default >> context, because it would be meaningless). >> >> Perhaps using "Gosub" and "Return". Or do I need to hack the macro, and >> pass in a 3rd argument (bletch)? >> > > MacroExit or Gosub/Return would certainly be possibilities. > > The main thing to note is that this macro that you call standard is actually > just an arbitrary example. It is by no means perfect, so feel free to adapt > it to your own liking. >
Sure. I just figured that it would be nice if the canned macros worked out-of-the-box without modification, in the real world. I suppose I could file a bug, and then submit patches for the macro and documentation... -Philip _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users