Hi

For this scenario you can use the group and group_count functions and create
a hint dialplan like this:

exten => trunkname,hint,custom:trunkname

When you reach the maximum number of available channels set the hint in use:

Set(DEVICE_STATE(Custom:confcorso)=INUSE)

To remove:

Set(DEVICE_STATE(Custom:confcorso)=NOT_INUSE)

After this, configure BLF on the phone top subscribe trunknumber "extension"

Regards

- Bakko


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to