Results 1 to 3 of 3

Thread: Script need

  1. #1
    Senior Member
    Join Date
    Apr 2007
    Location
    Acton Vale, Quebec, Canada
    Posts
    134

    Default Script need

    Hi all, I need a script based on open hours to route to different AA

    example:

    all inbound call is route to AA 00 (the script needed is in this AA)
    if business is open, route call to AA 2000 (Monday to Friday 8:30am to 12pm, 1pm to 6pm)
    if business is close route call to AA 2001

  2. #2

    Default

    Hi,

    Below is a scenario applicable to your setup.

    It was created by the 3Bit Quadro AA Creator which is still in a beta version.

    Thanks

    3Bit Support

    ------------------------------------------------------------------------

    <vxml version="2.0">
    <!-- Made By the 3Bit Solutions Quadro AA VXML Creator -->
    <form id="DocumentFlow">
    <object name="DocumentFlowAction1" classid="datetime">
    <filled>
    <if cond="datetime_wday == '1'">
    <goto next="#OutsideBusinessHours" />
    <elseif cond="datetime_wday == '7'" />
    <goto next="#OutsideBusinessHours" />
    <else />
    <if cond="datetime_hour &lt; '9'">
    <goto next="#OutsideBusinessHours" />
    <elseif cond="datetime_hour &gt; '16'" />
    <goto next="#OutsideBusinessHours" />
    <else />
    <goto next="#InsideBusinessHours" />
    </if>
    </if>
    </filled>
    </object>
    </form>
    <form id="InsideBusinessHours">
    <block name="InsideBusinessHoursAction1">
    <prompt bargein="false" timeout="5s" count="1">
    <audio src="welcome.wav" />
    </prompt>
    </block>
    <block name="InsideBusinessHoursAction2">
    <goto next="#InsideMenu" />
    </block>
    </form>
    <form id="InsideMenu">
    <var name="varInsideMenuDial" expr="''" />
    <noinput>
    <assign name="varInsideMenuDial" expr="'20'" />
    <goto nextitem="dialInsideMenu" />
    </noinput>
    <field name="fieldInsideMenu">
    <prompt bargein="true" timeout="5s" count="1">
    <audio src="optionsInside.wav" />
    </prompt>
    <option dtmf="1" value="11" />
    <option dtmf="2" value="12" />
    <option dtmf="3" value="13" />
    <filled>
    <assign name="varInsideMenuDial" expr="fieldInsideMenu" />
    <goto nextitem="dialInsideMenu" />
    </filled>
    </field>
    <object classid="dial" name="dialInsideMenu">
    <param name="pattern" expr="varInsideMenuDial" />
    </object>
    </form>
    <form id="OutsideBusinessHours">
    <block name="OutsideBusinessHoursAction1">
    <prompt bargein="false" timeout="5s" count="1">
    <audio src="businesshours.wav" />
    </prompt>
    </block>
    <block name="OutsideBusinessHoursAction2">
    <goto next="#OutsideMenu" />
    </block>
    </form>
    <form id="OutsideMenu">
    <var name="varOutsideMenuDial" expr="'20'" />
    <field name="fieldOutsideMenu">
    <prompt bargein="true" timeout="5s" count="1">
    <audio src="optionsOutside.wav" />
    </prompt>
    <option dtmf="1" value="11" />
    <option dtmf="2" value="12" />
    <option dtmf="3" value="13" />
    <filled>
    <assign name="varOutsideMenuDial" expr="fieldOutsideMenu" />
    <goto nextitem="dialOutsideMenu" />
    </filled>
    </field>
    <object classid="dial" name="dialOutsideMenu">
    <param name="pattern" expr="varOutsideMenuDial" />
    </object>
    </form>
    </vxml>

  3. #3
    Senior Member
    Join Date
    Apr 2007
    Location
    Acton Vale, Quebec, Canada
    Posts
    134

    Default

    I'm not a specialist in VXML but this script not meet my requirement.

    I need the original script of the quadro with the # to access to the directory, with direct dial to extention and the open and close business hours message

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •