Olivier
2009-Sep-23 21:29 UTC
[asterisk-users] DYNAMIC FEATURES, AEL2 - how to use Goto, Gosub or Macro ?
Hello, I'm using AEL2 (in Asterisk 1.6.1.6) and I can't find a way to successfully come back into my dialplan. I've tried things like this (in features.conf) : toto => #9,peer,Goto,mylocal2,s,1 But typing #9 (from channel SIP/7275, in example bellow) I've got: -- Feature Found: toto exten: toto -- Started music on hold, class 'default', on SIP/7275-08b7fbe0 -- Goto (dial-with-user-events,s,64) -- Stopped music on hold on SIP/7275-08b7fbe0 In extensions.ael, I've got: macro dial-with-user-events (caller,callee,dst,fwdcount) { ... Dial (...) ... return; mylocal2: NoOp(Before starting anything); DumpChan(); return; };