[cisco-voip] uccx script -pass prompt from subflow

rj.e at gmx.de rj.e at gmx.de
Mon Jan 5 19:16:05 EST 2009


I try to play prompts depending on a date. My idea was to read the data from an xml-file like this:

<set>
<record1>
<von>31.1.2009 14:00</von>
<bis>31.1.2009 16:00</bis>
<wave-file>Prompt1.wav</wave-file>
</record1>
<record2>
<von>12.2.2009 15:00</von>
<bis>12.2.2009 17:00</bis>
<wave-file>Prompt2.wav</wave-file>
</record2>
</set>

Reading from xml-file works so far. My problem is how to make an object of type prompt and pass it from a subflow to a main script.
>From the main script I just want to call the subflow that returns a boolean saying that there is period for a special prompt (that works already) and also passing this special prompt to the main routine (that does not work).

Any ideas?

Thanks,
Reinhold



-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


More information about the cisco-voip mailing list