Hello Everyone,
Wondering if it is possible to get the current channel usage or availability in the PlumVoice system via vxml? We have a vxml application that transfers people around to different outside phone numbers after call in and authenticate themselves. When this happens the person calling in will take up another channel for the transfer (one for their original call into the system and then another for the transfer).
What I would like to do is when someone calls in; query the PlumVoice system to make sure there is at least one more channel free for the transfer before letting the call continue. If not I would forward them to a generic "The system is busy, please call back later."
Any help or ideas would be appreciated.
Thanks,
Chris
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
VXML to Get Channel Usage or Availability
-
- Posts: 7
- Joined: Wed Dec 08, 2010 11:25 am
Re: VXML to Get Channel Usage or Availability
Hi Chris,
Regarding your question, you wouldn't be able to check the channel usage or availability in the Plum Voice system via VXML. So, you wouldn't be able to check this before attempting a transfer.
However, in your <transfer> tag, you can set up <if> conditionals if a transfer call resulted in a "busy" or "noanswer".
Here is some sample code below that demonstrates this:
Hope this helps.
Regards,
Plum Support
Regarding your question, you wouldn't be able to check the channel usage or availability in the Plum Voice system via VXML. So, you wouldn't be able to check this before attempting a transfer.
However, in your <transfer> tag, you can set up <if> conditionals if a transfer call resulted in a "busy" or "noanswer".
Here is some sample code below that demonstrates this:
Code: Select all
<transfer name="mycall" dest="tel:+1-XXX-XXX-XXXX" connecttimeout="20s" bridge="true">
<prompt>
Transferring your call now.
</prompt>
<filled>
<if cond="mycall == 'busy'">
<prompt>
Henry's line is busy. Please call again later.
</prompt>
<elseif cond="mycall == 'noanswer'"/>
<prompt>
Henry can't answer the phone now.
</prompt>
</if>
</filled>
</transfer>
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com