Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: IVR to call routing table

  1. #1

    Default

    Hi All

    Is it possible to send an IVR option out via the call routing table i.e


    <option dtmf="1" value="31" />

    <option dtmf="2" value="32" />


    <option dtmf="3" value="33" />


    <option dtmf="4" value="50221" />

    Where in the call routing table 502* goes to an IP 88.97.xxx.xxx then to ext 21. I have tried this and it fails.

    Any help would be greatly appreciated.

    Thanks

    Andy


  2. #2

    Default

    Hello Andy,

    You should use the "dial" command to send the dialed digits to the call routing table.
    See bellow a example.

    Regards,

    Jos?


    <?xml version="1.0" encoding="UTF-8"?>
    <vxml version="2.0">
    <noinput count="3">
    <assign name="field1" expr="'10'"/>
    <goto nextitem="field2" />
    </noinput>
    <form id="mainform">
    <block>
    <prompt bargein="true"> <audio src="demowelcome.wav" /> </prompt>
    <goto nextitem="field1"/>
    </block>
    <field name="field1" type="digits?length=1" modal="false">
    <prompt timeout="5s">
    <audio src="johnjanejack.wav" />
    </prompt>
    <option dtmf="1" value="900" />
    <option dtmf="2" value="901" />
    <option dtmf="3" value="902" />
    <filled>
    <goto nextitem="field2"/>
    </filled>
    </field>
    <object name="field2" classid="dial">
    <param name="pattern" expr="'900'"/>
    <param name="pattern" expr="'901'"/>
    <param name="pattern" expr="'902'"/>
    <filled>
    <prompt> <audio src="timeover.wav" /> </prompt>
    <exit/>
    </filled>
    <nomatch>
    <goto nextitem="field1"/>
    </nomatch>
    </object>
    </form>
    </vxml>


    ________
    Marijuana sativa
    ________
    TEEN NUDE
    Last edited by HL2DFR; 03-27-2011 at 02:15 AM.

  3. #3

    Default

    Andy,

    Sorry, but I don't really understand what you would like to do with the IP address 88.97.xxx.xxx ?


    To reach the ext.21, the routing rule should be :

    - 502*
    - Number of discarded digits = 3
    - Call type PBX


    BR
    jose


    ________
    Ecig forum
    ________
    BONDAGE HANDCUFF
    Last edited by HL2DFR; 03-27-2011 at 02:15 AM.

  4. #4

    Default

    Hi Jose

    Thanks for your reply.

    I have created a call routing entry for 502* which works fine. I need to now apply this to my IVR script, options 1, 2 and 3 would go to local extensions however option 4 would need to use the call routing table.

    <option dtmf="1" value="31" />

    <option dtmf="2" value="32" />


    <option dtmf="3" value="33" />


    <option dtmf="4" value="50221" />

    Would it be possible to use the dial command?

    Many thanks

    Andy



  5. #5

    Default

    Andy,

    You can use "dial" to connect to a local extension through the routing table. You should have the PBX rule [0-7]? that matches the internal extensions.

    Regards


    ________
    MAZDA SAVANNA HISTORY
    ________
    New jersey dispensaries
    Last edited by HL2DFR; 03-27-2011 at 02:15 AM.

  6. #6

    Default

    Hi

    Yes i have the entry in the call routing table however when i test using option 3, ext 32 rings? Here is part of my script. I guess there is a tweak needed?

    Thank you

    Andy

    <option dtmf="1" value="32" />
    <option dtmf="2" value="33" />
    <option dtmf="3" value="50221" />
    <filled>
    <goto nextitem="field2"/>
    </filled>
    </field>

    <object name="field2" classid="dial">
    <param name="pattern" expr="'32'"/>
    <param name="pattern" expr="'33'"/>
    <param name="pattern" expr="'50221'"/>


  7. #7

    Default

    Andy,

    This script is working on my Quadro :

    <option dtmf="1" value="32" />
    <option dtmf="2" value="33" />
    <option dtmf="3" value="50221" />
    <filled>
    <goto nextitem="field2"/>
    </filled>
    </field>

    <object name="field2" classid="dial">
    <param name="pattern" expr="field1"/>
    <param name="pattern" expr="field1"/>
    <param name="pattern" expr="field1"/>

    Regards,

    Jos?



    ________
    IOLITE VAPORIZER REVIEW
    ________
    Fucktubes
    Last edited by HL2DFR; 03-27-2011 at 02:15 AM.

  8. #8

    Default

    Hi

    Ok, i have amended my script with expr="field1"

    The extensions work fine now but when i choose the option for 50221 a message says 'sorry this number is not yet in service'. I know my routing table works because if i dial 50221 from an extension it works fine. I have changed my extensions to
    [0-4]? in the routing table in case this was the issue but it is still the same.

    Any ideas?

    Many thanks

    Andy




  9. #9

    Default

    Andy,



    Script posted By Jose on 25September is correct, however there is no need to specify the same

    <param name="pattern" expr="field1"/> 3 times.

    So each particular <param> should be declared only once
    <object name="field2" classid="dial">

    <param name="pattern" expr="field1'"/>





    </object>



    In any case, the problem you described is not in script, but in routing
    rule. I guess your routing rule depends on inbound caller id and/or
    it's just allowed to call from extensions. May be it makes sense to
    provide us some logs/configs to help you out.

    ________
    PROBLEMS WITH DEPAKOTE
    ________
    Colorado marijuana dispensaries
    Last edited by arsen; 08-20-2011 at 11:43 AM.

  10. #10

    Default

    Hi

    Thank you for your reply.

    [img]file:///C:/DOCUME%7E1/ANDYCO%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg[/img][img]file:///C:/DOCUME%7E1/ANDYCO%7E1/LOCALS%7E1/Temp/moz-screenshot-1.jpg[/img][img]file:///C:/DOCUME%7E1/ANDYCO%7E1/LOCALS%7E1/Temp/moz-screenshot-2.jpg[/img]My Call route is setup like this:

    Pattern - 502*
    NDS - 3
    Call Type - SIP
    Metric - 10
    Dest Host - 88.97.xxx.xxx

    Thank you

    Andy



Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Prefix Tag on call Routing
    By nlucas in forum 'How Do I' Questions
    Replies: 2
    Last Post: 06-27-2007, 10:09 PM
  2. Call routing based on incoming DID
    By wesleyit in forum 'How Do I' Questions
    Replies: 3
    Last Post: 12-03-2006, 02:15 PM
  3. call routing to Voip provider
    By alraiky in forum Troubleshooting and Problems
    Replies: 0
    Last Post: 11-06-2006, 08:25 AM
  4. Call Routing giving me frustration
    By ATLANTIC in forum 'How Do I' Questions
    Replies: 2
    Last Post: 10-20-2006, 02:04 AM
  5. Send AA to Routing Table
    By in forum VXML Scripting on Quadro
    Replies: 0
    Last Post: 12-31-1969, 06:00 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
  •