Mediant 2000 SIP User’s Manual

K. RADIUS Billing and VXML Calling Card Application

Figure K-12: VXML Script Example (continues on pages 266 to 270)

<param name="password" expr="AuthenticationInfo.user_passwd"/>

<nomatch>

<prompt>

<audio src="/8.wav">

your account and password did not match. </audio>

</prompt>

<clear namelist="AuthenticationInfo authenticate"/>

</nomatch>

<catch event="nomatch" count="4"> <goto next="#disconnect"/>

</catch>

<filled>

<assign name="AAStatus" expr="1"/> <goto next="#PerformTransfer"/>

</filled>

</object>

</form>

<form id="PerformTransfer">

<log label="starting transfer form"/>

<subdialog name="Call" src="#GetCalledPartyTelephone"> </subdialog>

<object name="authorize" classid="builtin://com.audiocodes.aaa.authorize"> <param name="dest" expr="Call.dest_number"/>

<nomatch>

<prompt>

<audio src="/9.wav"/>

you are not authorized.

</prompt>

<clear namelist=" Call authorize "/>

</nomatch>

<catch event="nomatch" count="3"> <goto next="#disconnect"/>

</catch>

<filled>

<prompt>

<audio src="/15.wav"> calling

</audio>

</prompt>

</filled>

</object>

<transfer name="mycall" destexpr="Call.dest_number" bridge="true" endaudio="7" finalalertaudio="4" finalalerttime="10">

<filled>

<if cond="mycall.Result=='fail'">

<prompt>

<audio src="/14.wav">

Version 4.4

269

July 2005

Page 269
Image 269
Nortel Networks TP-1610 SIP user manual Version 269 July