Issabel ISO (Latest): Download Here
Cloud Services: User Portal - Quick Guide
News: Telegram channel
Become a Patron!
  • FAQ's
  • Suppress ring group call if at least one extension busy

Hello,

There’s a possibility in Issabel ring groups that allows not to call ring group members if first extension in the list is busy. We do it by setting "-prim" strategy, for example ringall-prim.
My question is:
Is there a possibility not to call ring group if any of listed extensions is busy, not only the first?
Issabel 4 with asterisk 16.

    7 days later

    The quick'n dirty solution is creating dialplan injection that is launched before the ring group:

    GotoIf($[ "${DEVICE_STATE(SIP/432)}" = "NOT_INUSE" ]?num435)
    Macro(hangupcall,)
    (num435),GotoIf($[ "${DEVICE_STATE(SIP/435)}" = "NOT_INUSE" ]?num436)
    Macro(hangupcall,)
    (num436),GotoIf($[ "${DEVICE_STATE(SIP/436)}" = "NOT_INUSE" ]?kontynuacja)
    Macro(hangupcall,)
    (kontynuacja),NoOp()

    432, 435, 436 are extensions in objective RG.
    Have you any remarks on this code?

      Is there a possibility to get the extensions of the RG from this RG settings instead of hard-coding that I did?

        Write a Reply...