Hi All,

This question is probably more for the LDAP experienced users/developers as
I'm sure it would work fine if I weren't using LDAP (but I am, and I'm
almost there with the setup!!!).
I've setup an extension with the following:

AstExtension: 210
AstApplication: Macro
AstApplicationData: call-ext,SIP/testuser&IAX2/testuser,210

When I dial this extension, I see the following in the log:

    -- Executing Macro("SIP/testuser-082b11f8",
"call-ext,SIP/testuser&IAX2/testuser,210")
[Mar 15 16:14:06] DEBUG[6060]: pbx.c:2679 pbx_extension_helper: Launching
'Set'
    -- Executing [EMAIL PROTECTED]:1] Set("SIP/testuser-remote-082b11f8",
"LOCAL(arg1)=SIP/testuser&IAX2/testuser") in new stack
[Mar 15 16:14:06] ERROR[6060]: app_stack.c:370 local_write: Tried to set
LOCAL(arg1), but we aren't within a Gosub
routine


.. which means I'm not able to access these arguments inside the Macro :(
FWIW, I've defined this Macro in extensions.ael (not .conf).

Any ideas??

Thanks in advance!
- Gonzalo
_______________________________________________
-- 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

Reply via email to