PDA

View Full Version : IVR to call routing table



andy.collins
09-24-2007, 12:08 AM
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

HL2DFR
09-24-2007, 12:25 AM
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 (http://strainindex.com)
________
TEEN NUDE (http://www.fucktube.com/categories/1044/nude/videos/1)

HL2DFR
09-24-2007, 12:35 AM
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 (http://vaporizer.org/forum/electronic-cigarettes/)
________
BONDAGE HANDCUFF (http://www.fucktube.com/categories/385/handcuff/videos/1)

andy.collins
09-24-2007, 12:47 AM
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

HL2DFR
09-24-2007, 06:38 PM
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 (http://www.ford-wiki.com/wiki/Mazda_Savanna)
________
New jersey dispensaries (http://newjersey.dispensaries.org/)

andy.collins
09-24-2007, 08:41 PM
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'"/>

HL2DFR
09-24-2007, 09:49 PM
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 (http://vaporizers.net/iolite-vaporizer)
________
Fucktubes (http://www.fucktube.com/)

andy.collins
09-24-2007, 10:56 PM
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

arsen
09-25-2007, 02:41 PM
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 (http://www.classactionsettlements.org/lawsuit/depakote/)
________
Colorado marijuana dispensaries (http://colorado.dispensaries.org/)

andy.collins
09-25-2007, 04:08 PM
Hi

Thank you for your reply.

file:///C:/DOCUME%7E1/ANDYCO%7E1/LOCALS%7E1/Temp/moz-screenshot.jpgfile:///C:/DOCUME%7E1/ANDYCO%7E1/LOCALS%7E1/Temp/moz-screenshot-1.jpgfile:///C:/DOCUME%7E1/ANDYCO%7E1/LOCALS%7E1/Temp/moz-screenshot-2.jpgMy Call route is setup like this:

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

Thank you

Andy

arsen
09-25-2007, 10:14 PM
Andy,

As far as I know, there is opened TSS 8690 case for the issue. Can you please reproduce this issue, download logs and attach to TSS case?


________
Kitchen Measures (http://kitchenmeasures.com/)
________
How To Roll A Joint (http://howtorollajoint.net/)

andy.collins
09-26-2007, 02:32 AM
Hi Arsen

I have not raised the ticket 8690, do you want logs anyway?

Thank you

Andy

AramK
09-26-2007, 04:42 AM
Andy, the ticket 8690 is opened by your resseller, Mat, so the logs will be very useful.If you want,you canmove to TSS channel, but, of course, you are free to post messages about this topic also in forum.

AramK
09-26-2007, 08:52 PM
Hello Andy. Sorry, there was a mistake about TSS case and this forum topic relation. The TSS 8690 is another problem posted by Matt and it concerns to "Call Queue Script" topic. To investigate your problem discussed in this topic please ask Matt to open another TSS case with the reference of the topic name and attach the logs that Asren is requested.

andy.collins
10-02-2007, 07:24 AM
Hi

Many Thanks to Jose, Matt at EFL and Epygi for their help with this issue.

I thought i would publish the finished article which works a treat!

K.R

Andy

<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.0">
<noinput count="3">
<prompt>
<audio src="timeover.wav"/>
</prompt>
<exit/>
</noinput>
<form id="mainform">
<block>
<prompt bargein="true">
<audio src="welcome.wav"/>
</prompt>
<goto nextitem="field1"/>
</block>
<field name="field1" type="digits?length=1" modal="false">
<prompt timeout="5s">
<audio src="departments.wav"/>
</prompt>
<option dtmf="1" value="21"/>
<option dtmf="2" value="22"/>
<option dtmf="3" value="23"/>
<option dtmf="4" value="51332"/>
<filled>
<goto nextitem="field2"/>
</filled>
</field>
<object name="field2" classid="dial">
<param name="pattern" expr="field1"/>
<filled>
<prompt>
<audio src="timeover.wav"/>
</prompt>
<exit/>
</filled>
<nomatch>
<goto nextitem="field1"/>
</nomatch>
</object>
</form>
</vxml>