Results 1 to 6 of 6

Thread: Simple play message and transfer

  1. #1

    Default Simple play message and transfer

    What we want the AA to do is play a message then automatically direct the call to an extension (4100 in this case). This plays the message but they doesn't do much else. Could someone point me in the right direction please ? :

    Code:
    <?xml version="1.0" encoding="UTF-8" ?> 
    <vxml version="2.0">
    		
    	<form id="mainform">
    		<block>
    		<prompt bargein="true">
    				<audio src="sorry_no_one_here.wav"/> 
    			</prompt>
    			<goto nextitem="field2"/> 
    		</block>
    		<object name="field2" classid="connect">
    			<param name="extension" value="4100"/> 
    		</object>
    	</form>
    </vxml>
    Last edited by NevisComputers; 10-16-2009 at 11:04 AM.

  2. #2

    Default

    The script looks ok, so please ensure that you have extension 4100 and an appropriate call routing rule to call it. You can try to call 4100 from one of the phones directly to see if this work for first.

  3. #3

    Default

    Yeah it looks ok but like all my other VXML scripts it doesn't work!

    I set up a call route so putting 4??? in front of a number does NDS1 and goes to PBX Voice mail. So 4100 dialled from any extension goes to voice mail for 100. That works fine.

    However when I create a custom AA on ext 401 for the above put the script in above it reads the message then just doesn't do anything else, call doesn't drop but it doesn't go to the Voice mail either. Anyone any ideas ?

  4. #4

    Default

    Ok after some forum trawling and RTFMing the issue is the <param name line.

    What works is as follows :

    Code:
    <?xml version="1.0" encoding="UTF-8" ?> 
    <vxml version="2.0">
    		
    	<form id="mainform">
    		<block>
    		<prompt bargein="true">
    				<audio src="sorry_no_one_here.wav"/> 
    			</prompt>
    			<goto nextitem="field2"/> 
    		</block>
    		<object name="field2" classid="dial">
    			<param name="pattern" value="4100"/> 
    		</object>
    	</form>
    </vxml>
    My error was "extension" which of course didn't exist. Once switched to pattern and value it worked. Cheers!
    Last edited by NevisComputers; 10-20-2009 at 04:51 AM.

  5. #5
    Quadro Architect
    Join Date
    Jun 2006
    Location
    Around myself
    Posts
    2,075

    Default

    Hmm... actually the problem was not in the "<param name" line, but more on the "object" you have used for the call. For the call through the routing table only the "dial" method should be used, not the "connect"... "Connect" is for calling directly to extensions (using that is more secure when you give IVR users the freedom to enter a number, but want to restrict them from dialing anything other than the extensions numbers...

    Anyway, I am happy that reading the forum helped you BTW, manual on this is also not bad

  6. #6
    Senior Member
    Join Date
    Oct 2006
    Location
    HORNSBY, NSW, Australia
    Posts
    122

    Default

    This script does exactly what I want, but I want to dial an IP-PSTN number which is not possible as an external call hits on the AA and upon attempting to dial the number, the call-routing table says, hey, you're not a local extension:- NO!

    Good from a security point of view, but need to dial an external mobile.
    Could just have the 3 mobile numbers explicitly in the call routing table allowed from any source. That would be O.K. any hacker would only be able to dial the bosses

    Is there a better way to do this?
    Say some way to get an external call via an VXML script to be mapped to an extension, then it would go out on an unmodified Call Routing Table.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems getting simple VXML Working
    By NevisComputers in forum VXML Scripting on Quadro
    Replies: 9
    Last Post: 01-04-2010, 04:09 PM
  2. Simple way to change MER?
    By version3 in forum 'How Do I' Questions
    Replies: 1
    Last Post: 09-23-2009, 04:14 PM
  3. welcome message
    By zero in forum 'How Do I' Questions
    Replies: 1
    Last Post: 07-17-2008, 07:11 AM
  4. AA - Welcome message to ext
    By nlucas in forum VXML Scripting on Quadro
    Replies: 3
    Last Post: 04-22-2007, 06:26 PM
  5. to play wav with g.729
    By infomicro in forum Troubleshooting and Problems
    Replies: 2
    Last Post: 09-26-2006, 12:36 AM

Posting Permissions

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