[asterisk-bugs] [JIRA] (ASTERISK-29812) GotoIF Loop prevention
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Tue Dec 21 02:09:44 CST 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257463#comment-257463 ]
Asterisk Team commented on ASTERISK-29812:
------------------------------------------
We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.
The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.
If this issue is actually a bug please use the Bug issue type instead.
Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.
Thanks!
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines
> GotoIF Loop prevention
> ----------------------
>
> Key: ASTERISK-29812
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29812
> Project: Asterisk
> Issue Type: Information Request
> Security Level: None
> Components: . I did not set the category correctly.
> Affects Versions: 13.13.1
> Reporter: Huseyn Taragachov
> Severity: Trivial
>
> Hello Guys. I need an advice. I want my AGI script run 10 times and after if call fails to hangup. in present dialplan AGI script loops for ever) so what i need to include?
> Thanks
> exten => _0XX,n,GotoIf($[${DEVICE_STATE(pjsip/${EXTEN})}=UNAVAILABLE]?absent:makecall)
> ;absent
> exten => _0XX,n(absent),Verbose(2, The agent is not registered)
> exten => _0XX,n,Verbose(2, ${EXTEN})
> exten => _0XX,n,AGI(run.sh,${EXTEN},${CALLERID(num)})
> exten => _0XX,n,GotoIf($[${DEVICE_STATE(pjsip/${EXTEN})}=UNAVAILABLE]?absent:makecall)
> exten => _0XX,n,Hangup()
> ;make call
> exten => _0XX,n(makecall),Verbose(2, Call to extension)
> exten => _0XX,n,Answer()
> exten => _0XX,n,Dial(PJSIP/${EXTEN},120,TtkKhH)
> exten => _0XX,n,Hangup()
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list