Hi All,<br><br>This question is probably more for the LDAP experienced users/developers as I&#39;m sure it would work fine if I weren&#39;t using LDAP (but I am, and I&#39;m almost there with the setup!!!). <br>I&#39;ve setup an extension with the following:<br>
<br>AstExtension: 210<br>AstApplication: Macro<br>AstApplicationData: call-ext,SIP/testuser&amp;IAX2/testuser,210<br><br>When I dial this extension, I see the following in the log:<br><br>&nbsp;&nbsp;&nbsp; -- Executing Macro(&quot;SIP/testuser-082b11f8&quot;, &quot;call-ext,SIP/testuser&amp;IAX2/testuser,210&quot;)<br>
[Mar 15 16:14:06] DEBUG[6060]: pbx.c:2679 pbx_extension_helper: Launching &#39;Set&#39;<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-call-ext:1] Set(&quot;SIP/testuser-remote-082b11f8&quot;, &quot;LOCAL(arg1)=SIP/testuser&amp;IAX2/testuser&quot;) in new stack<br>
[Mar 15 16:14:06] ERROR[6060]: app_stack.c:370 local_write: Tried to set LOCAL(arg1), but we aren&#39;t within a Gosub routine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>.. which means I&#39;m not able to access these arguments inside the Macro :( FWIW, I&#39;ve defined this Macro in extensions.ael (not .conf).<br>
<br>Any ideas??<br><br>Thanks in advance!<br>- Gonzalo<br><br>