Hi,<br><br>I've declared a variable named AUTHENTICATION_STATUS in dialplan, and I want to use it in condition, as I'm listing down the configuration below;<br><br><context name="SIP_incoming"><br> <extension name="call-sip-extensions"><br>
<condition field="destination_number" expression="^(\d+)$"><br> <action application="set" data="AUTHENTICATION_STATUS=0"/><br> <action application="transfer" data="${AUTHENTICATION_STATUS} XML Authen_Status"/><br>
</condition><br> </extension><br></context><br><br><context name="Authen_Status"><br> <extension name="exten-auth-status"><br> <condition field="AUTHENTICATION_STATUS" expression="^0$"><br>
<action application="answer"/><br> <action application="playback" data="play.wav"/><br> </condition><br> </extension><br> </context><br>
<br><br><br><br> But unfortunately it is not working. Kindly advise me how to do implement it(Note: I don't want to call script). And one more thing to ask how can I transfer the values within the same context?<br clear="all">
<br>-- <br>Regards,<br><br>Ahmed Munir<br><br><br>