On Fri, Apr 14, 2023 at 6:30 AM Fourhundred Thecat <400the...@gmx.ch> wrote:

> thank you, I found the problem:
> I had this in extensions.conf:
>    same => n,GotoIf($[ "${DIALSTATUS}" = "BUSY" ]?6:7)
> and then I added one line above that, and forgot to adjust the numbers.
> So basically, the rule was going in an cycle.
> Is there a better way than to use hardcoded numbers for GotoIf ?

Yes. Use labels[1][2][3].


Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

Reply via email to