<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Philipp Kempgen escribió:
<blockquote cite="mid:4A6A2664.7040807@amooma.de" type="cite">
<pre wrap="">Miguel Molina schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">I just ran into a similar problem, I needed a "macro" spreaded over
several contexts because it's kind of a part of an IVR. I switched to
GoSob() and Return() applications
(<a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Gosub">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Gosub</a>) and
everything goes fine now. The only thing to be sure is that you Return()
in *every* case from the Macro context(s), to avoid unknown and
undesirable results of your calls.
</pre>
</blockquote>
<pre wrap=""><!---->
Use macros in AEL so you don't have to care about the underlying
implementation. :-) scnr
Philipp Kempgen
</pre>
</blockquote>
Well some colleagues at work who went to the 2008 Astricon told me that
all skilled asterisk programmers used AEL and not plain
extensions.conf. Right now for every implementation I made, I didn't
have the need to program in AEL, only plain extensions, some AMI and
AGI. But well, it seems to have a lot of advantages. Please tell me
some, I may take a look to it too see if it's worth spending the time
to learn and get the best out of it.<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center
PBX: (+57 1)6500800 ext. 1201
Fax: (+57 1)6500816
Móvil: (+57)3138873587
</pre>
</body>
</html>