Call routed to Call Menu to Voicemail and back to Call Menu

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Call routed to Call Menu to Voicemail and back to Call Menu

Postby mcdeeiis » Wed Jan 24, 2024 2:03 am

Hi,

I have a requirement to set up an IVR in the following way:

Call Menu #1) What is the problem with your device?
Press 1 : Not Working (Follow Call Menu #2)
Press 2 : Connected But No Voice (Follow Call Menu #3)
Press 3 : Other Issue (Save Audio as Voicemail and Follow Call Menu #4)

Call Menu #2) steps to diagnose "Not Working"
Press 1 :
Press 2 :

Call Menu #3) steps to diagnose "Connected But No Voice"
Press 1 :
Press 2 :

Call Menu #4) Would you like to receive updates on the latest products?
Press 1 :
Press 2 :

I am able to set up the call menu as described above. However, how do I return the call in Call Menu #1(option 3) back from Voicemail to Call Menu #4?

Any suggestions/ideas will be appreciated.



---------------------------------------------------------
Cluster
1 DB + WEB
3 Asterisk

Vicidial 2.14-853a
BUILD: 220328-142
Asterisk 13.38.2-vici

/usr/src/astguiclient/trunk
Path: .
Working Copy Root Path: /usr/src/astguiclient/trunk
URL: svn://svn.eflo.net/agc_2-X/trunk
Relative URL: ^/agc_2-X/trunk
Repository Root: svn://svn.eflo.net
Repository UUID: 3d104415-ff17-0410-8863-d5cf3c621b8a
Revision: 3592
Node Kind: directory
Schedule: normal
Last Changed Author: mattf
Last Changed Rev: 3592
Last Changed Date: 2022-03-31 21:34:33 -0400 (Thu, 31 Mar 2022)
1 DB + WEB
3 Asterisk
Vicidial 2.14-853a
BUILD: 220328-142
Asterisk 13.38.2-vici
/usr/src/astguiclient/trunk
Path: .
Working Copy Root Path: /usr/src/astguiclient/trunk
URL: svn://svn.eflo.net/agc_2-X/trunk
Revision: 3592
mcdeeiis
 
Posts: 37
Joined: Fri Oct 07, 2011 10:31 am

Re: Call routed to Call Menu to Voicemail and back to Call M

Postby carpenox » Wed Jan 24, 2024 9:25 am

You can't, but you can probably use all AGI to record the call
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Call routed to Call Menu to Voicemail and back to Call M

Postby mcdeeiis » Fri Jan 26, 2024 3:16 am

Do you have a sample on how to implement along with the call menu?
1 DB + WEB
3 Asterisk
Vicidial 2.14-853a
BUILD: 220328-142
Asterisk 13.38.2-vici
/usr/src/astguiclient/trunk
Path: .
Working Copy Root Path: /usr/src/astguiclient/trunk
URL: svn://svn.eflo.net/agc_2-X/trunk
Revision: 3592
mcdeeiis
 
Posts: 37
Joined: Fri Oct 07, 2011 10:31 am

Re: Call routed to Call Menu to Voicemail and back to Call M

Postby carpenox » Fri Jan 26, 2024 3:51 pm

Check out the nvarecording.agi here: https://dialer.one/how-to-use-vicidials-agis/
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Call routed to Call Menu to Voicemail and back to Call M

Postby williamconley » Thu Oct 17, 2024 2:16 pm

https://docs.asterisk.org/Asterisk_21_D ... VoiceMail/

Code: Select all
VoiceMail(mailbox1&[mailbox2[&...]],[options])


The Voicemail application will exit if any of the following DTMF digits are received:
0 - Jump to the 'o' extension in the current dialplan context.
* - Jump to the 'a' extension in the current dialplan context.

This application will set the following channel variable upon completion: VMSTATUS - This indicates the status of the execution of the VoiceMail application.
* SUCCESS
* USEREXIT
* FAILED

Vicidial implementation:
Code: Select all
; Voicemail Extensions:
exten => _85026666666666.,1,Wait(1)
exten => _85026666666666.,n,Voicemail(${EXTEN:14},u)
exten => _85026666666666.,n,Hangup()
exten => _85026666666667.,1,Wait(1)
exten => _85026666666667.,n,Voicemail(${EXTEN:14},su)
exten => _85026666666667.,n,Hangup()
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)
exten => 8500,3,Hangup()
exten => 8501,1,VoicemailMain(s${CALLERID(num)})
exten => 8501,2,Hangup()


Note the "Hangup" after VoicemailMain. In theory, you could insert lines that would go elsewhere after the voicemail app completes. I would recommend doing this in a custom extension in a custom context rather than editing the existing one.
You can also use "a" or "0/o" extensions in that custom context and offer audio options for button press.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: scopor and 63 guests