Page 1 of 1

Dial by Name Directory?

Posted: Thu Sep 21, 2017 6:24 pm
by GrahamH
How do I go about making a dial by name directory in Plum Fuse+? Do I use the subdialog module? If so, how do I return control / call back to the app?

Any help would be greatly appreciated!

Re: Dial by Name Directory?

Posted: Fri Sep 22, 2017 9:26 am
by support
You have several options depending on how dynamic you want your callflow to be. From least to most involved:

1. If you have a static directory that you will not have to make changes too frequently, you should use the Custom Field module to put in your own custom grammar. This grammar will contain all the possibility DTMF entries for your directory, and <tag>s to return the proper transfer phone number for each person. For more information on using <tag> in a grammar, refer here: http://www.plumvoice.com/docs/dev/voicexml:tags:tag

2. If you want to dynamically pull the entries of the directory, you will have to integrate with your webservice that provides those entries, and then create the grammar that you would have for situation 1. For this, you should use the subdialog module that will simply return the transfer number.

Re: Dial by Name Directory?

Posted: Thu Sep 28, 2017 2:48 pm
by GrahamH
Gotcha, ok. So is there anyway to return the executing thread to the Plum Fuse+ app (preferably with data) after a subdialog module? or does a subdialog module terminate control for plum fuse+. I see you're able to link the control flow following the subdialog (as opposed to say, the 'end module' does not have a post-control flow node) >>>For example<<<

For example, we are using dial-by-name-directory to lookup names (not using the speak-name modules as they are too inaccurate for our needs) of callers and their associative UID within our external app. Then use this UID to do things within the Plum Fuse+ app. So in our case, does the remaining part of the app (everything after the dial-by-directory) need to then be in VoiceXML (as we cannot return control flow to the plum fuse+ app after using the subdialog module)?

Thank you in advance,
Graham-

Re: Dial by Name Directory?

Posted: Thu Sep 28, 2017 4:03 pm
by support
After the subdialog finishes, the call returns to the Fuse+ application. Please make sure you have a <return> tag in your subdialog to return back. For more example code for subdialogs, please check out http://www.plumvoice.com/docs/dev/voice ... :subdialog