Hi!

Can anyone please hint me on how to express Example 4 on
http://www.voip-info.org/wiki/view/Asterisk+cmd+ParkAndAnnounce into an
AEL style configuration?

The Example is about how to implement a BLF on a paked call slot:

---------------------------------------------------
features.conf

 [general]
 parkext => 700                  ; What extension to dial to park
 parkpos => 701-703              ; What extensions to park calls on.
 context => parkedcalls          ; Which context parked calls are in
---------------------------------------------------
extensions.conf

 [from-sip-phones]
 include => parkinglot

 exten => 701,hint,park:7...@parkedcalls
 exten => 702,hint,park:7...@parkedcalls
 exten => 703,hint,park:7...@parkedcalls

 [parkinglot]
 exten => 701,1,ParkedCall(701)
 exten => 702,1,ParkedCall(702)
 exten => 703,1,ParkedCall(703)
---------------------------------------------------

What we tried here is:

---------------------------------------------------
features.conf

 [general]
 parkext => 700                  ; What extension to dial to park
 parkpos => 701-703              ; What extensions to park calls on.
 context => parkedcalls          ; Which context parked calls are in
---------------------------------------------------
extensions.ael

 context from-sip-phones {
  includes {
   parkedcalls;
  }
  hint(park:7...@parkedcalls) 701 => ParkedCall(701);
  hint(park:7...@parkedcalls) 702 => ParkedCall(702);
  hint(park:7...@parkedcalls) 703 => ParkedCall(703);
 }
---------------------------------------------------

However, the AEL2 BNF
(http://www.voip-info.org/wiki/view/Asterisk+AEL2#AEL2BNF) does not
allow to give an extension "@..." in the "hint()" sequence, which on the
other side seems required for setting up the hint for the parkedcalls
context. Once, we omit the context (as required by the extensions
parser), the BLF does not work correctly.

Can you please hint me to the correct AEL2 syntax for setting a hint to
the parkedcalls context?

Thanks a lot,
Hans-Jürgen


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to