Results 1 to 3 of 3

Thread: Scénario du standardiste

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Location
    drummondville
    Posts
    20

    Question Scénario du standardiste

    Bonjour,
    Dans mon scénario, je cherche à rediriger ver une extension spécifique si aucune touche a été pressé.
    Mais je ne trouve pas comment.
    Quelque a une idée??

    merci
    Sébas

    ######
    <?xml version="1.0" encoding="UTF-8" ?>
    - <vxml version="2.0">
    - <form id="datetimeform">
    - <object name="field1" classid="datetime">
    - <filled>
    - <!-- THIS IS WHERE YOU SET THE TIME AND DAYS OF THE WEEK
    -->
    - <!-- THIS WORKS ON GREATER THAN OR LESS THAN, NOT EQUAL TO
    -->
    - <!-- 8 = 8am and 18 = 6pm 1 is Sunday and 7 is Saturday
    -->
    - <!-- To set 8am to 5pm set datetime_hour = 7-17 NOT 8-17
    -->
    - <!-- To set eveyday datetime_wday = 0-8 or weekdays 1-7
    -->
    - <!-- dimanche
    -->
    - <if cond="datetime_wday == '1'">
    - <if cond="datetime_hour = '11-16'">
    <goto next="#menu_open_hours" />
    </if>
    </if>
    - <!-- lundi a mercredi
    -->
    - <if cond="datetime_wday = '1-5'">
    - <if cond="datetime_hour = '9-18'">
    - <if cond="datetime_hour == '17'">
    - <if cond="datetime_min > '30'">
    <goto next="#menu_after_hours" />
    </if>
    </if>
    <goto next="#menu_open_hours" />
    </if>
    </if>
    - <!-- jeudi vendredi
    -->
    - <if cond="datetime_wday = '4-7'">
    - <if cond="datetime_hour = '9-21'">
    <goto next="#menu_open_hours" />
    </if>
    </if>
    - <!-- samedi
    -->
    - <if cond="datetime_wday == '7'">
    - <if cond="datetime_hour = '8-16'">
    <goto next="#menu_open_hours" />
    </if>
    </if>
    <goto next="#menu_after_hours" />
    </filled>
    </object>
    </form>
    - <form id="menu_after_hours">
    - <block>
    - <prompt bargein="true">
    <audio src="ferme.wav" />
    </prompt>
    - <!-- <goto next="#mainform"/>
    -->
    </block>
    <exit />
    </form>
    - <form id="menu_open_hours">
    - <block>
    - <!-- <prompt bargein="true"> <audio src="ouvert.wav" /> </prompt>
    -->
    <goto next="#mainform" />
    </block>
    <exit />
    </form>
    - <form id="mainform">
    - <noinput count="3">
    <assign name="field1" expr="'14'" />
    <goto nextitem="field2" />
    </noinput>
    - <field name="field1" type="digits?length=2" modal="false">
    - <prompt timeout="5s">
    <audio src="ouvert.wav" />
    </prompt>
    <option dtmf="1" value="52" />
    <option dtmf="2" value="53" />
    <option dtmf="0" value="53" />
    <link dtmf="#" next="#dirspell" />
    - <filled>
    <goto nextitem="field2" />
    </filled>
    </field>
    - <object name="field2" classid="connect">
    <param name="extension" expr="field1" />
    - <filled>
    - <prompt>
    <audio src="timeover.wav" />
    </prompt>
    <exit />
    </filled>
    - <nomatch>
    <goto nextitem="field1" />
    </nomatch>
    </object>
    </form>
    - <!-- spell form, contains main directory object inside
    -->
    - <form id="dirspell">
    <link dtmf="*" next="#mainform" />
    PAGE 16 27-Dec-06 Epygi Technologies Setting Up a Simple IVR on Quadro IP PBXs with VXML
    - <object name="field1" classid="directory">
    - <!-- roll param specifies whether directory object
    -->
    - <!-- should roll over the spelled entries or just wait for input to spell
    -->
    <param name="roll" expr="varRoll" />
    - <prompt>
    <audio src="pubdirspell.wav" />
    </prompt>
    - <nomatch>
    - <!-- invalid input, cannot spell the name
    -->
    - <prompt>
    <audio src="nomatch.wav" />
    </prompt>
    <reprompt />
    </nomatch>
    - <filled>
    - <!-- spelling is complete
    -->
    - <!-- spelled extension and attached to it file should be stored
    -->
    <assign name="varExtension" expr="_extension" />
    <assign name="varFilename" expr="_filename" />
    <assign name="varRoll" expr="'false'" />
    <goto next="#diraccept" />
    </filled>
    </object>
    </form>
    </vxml>

  2. #2

    Default

    Je n'ai aucune connaissance du vxml, mais tu dois mettre dans ton script un nombre re répétition de ton message et après le nombre atteins tu le redirige vers le poste souhaité.

    Je ne suis pas programmeur mais si tu regarde dans le script original d'Epygi je crois que les fonctions sont la.

    Je vais tentez de les trouver et je te reviens

  3. #3

    Default

    Tiens je croix qu'il y a qq-chose dans ce bout de script qui pourais t'aider.

    <form id="scndHours">
    <noinput count="1">
    <assign name="input2" expr="'303'"/>
    <goto nextitem="transfer2" />
    </noinput>
    <field name="input2" type="digits?length=3" modal="false">
    <prompt timeout="5s">
    <audio src="auto-attendent.wav" />
    </prompt>
    <filled>
    <goto nextitem="transfer2"/>
    </filled>
    </field>
    <object name="transfer2" classid="connect">
    <param name="extension" expr="input2"/>
    <exit/>
    </object>

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Losing Scenario Voice Messages
    By nlucas in forum Troubleshooting and Problems
    Replies: 9
    Last Post: 03-10-2008, 03:41 AM
  2. Attendant Scenario width 2 message
    By sgroulx in forum 'How Do I' Questions
    Replies: 2
    Last Post: 11-04-2007, 06:24 AM
  3. Home configuration scenario
    By ghutton in forum 'How Do I' Questions
    Replies: 1
    Last Post: 12-19-2006, 03:07 PM

Posting Permissions

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