[asterisk-bugs] [JIRA] (ASTERISK-29106) Survey after Hangup

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Oct 5 07:13:36 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252327#comment-252327 ] 

Asterisk Team commented on ASTERISK-29106:
------------------------------------------

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

> Survey after Hangup
> -------------------
>
>                 Key: ASTERISK-29106
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29106
>             Project: Asterisk
>          Issue Type: Information Request
>      Security Level: None
>          Components: Core/PBX
>    Affects Versions: 16.11.1
>            Reporter: Jliuk
>
> Hello,
> I'm new to Asterisk and I'm having trouble to manage an IVR for a survey after the hang up. 
> I have Asterisk 16.11.1 and FreePBX 15.0.16.75.
> I managed to let it work when I set it as custom destination from FreePBX, but now I would like the following instructions to be executed when an operator hangs up:
> [macro-survey]
> exten => s,1,answer()
> ;this asks the first question (based on your recording) and stores them in variable
> exten => s,n(question1),Read(answer1,enter-ext-of-person,1,,1,2)
> exten => s,n,GotoIf($[ ${answer1} < 4 ]?question2:question1)
> ;this asks the first question (based on your recording) and stores them in variable
> exten => s,n(question2),Read(answer2,enter-ext-of-person,1,,1,2)
> exten => s,n,GotoIf($[ ${answer2} < 4 ]?finish:question1)
> ;this line puts the two answers together and separates them with a | symbol.
> exten => s,n(finish),set(answer=${answer1}|${answer2})
> ;this saves the answers into the CDR field of "userfield"
> exten => s,n,Set(CDR(userfield)=${answer})
> exten => s,n,hangup()
> This context is saved into /etc/asterisk/extensions_override_freepbx.conf that should override the 
> /etc/asterisk/extensions_additional.conf behaviour.
> I've tried to put the following into the [ext-local] dialplan:
>  
> exten => s,n,Set(CHANNEL(hangup_handler_push)=macro-survey,s,1);
> or
> exten => h,1,Goto(macro-survey,s,1)
> But it doesn't seem to work.
> Can you help me? Thank you. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list