<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">Dear Tihomir,</span></font><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div style="font-family: Tahoma; font-size: 10pt; ">I think you did not understand what my problem is. Let me explain.</div><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">I know that I can&nbsp;evaluate the response from auth_function and act accordingly (bridge or not bridge the call according to auth result). This part is ok and I can do it because I am getting OK or NOK in AUTH_RESULT. The issue is I need to disconnect the call after scheduled number of seconds returned by radius in h323-credit-time attribute&nbsp;</span></font><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">whose</span></font><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;value in this case is not being populated into credit_time parameter of FS.</span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">If you still do not understand, lets put it this way that even if I use the mod_rad_auth.conf.xml and&nbsp;</span></font><span class="Apple-style-span" style="font-size: 13px; font-family: Tahoma; ">dialplan&nbsp;</span><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">configuration you sent, still the FS is not able to obtain the value of credit_amount and credit_time although radius response parameters are&nbsp;received&nbsp;by the server.</span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">Also I have checked in mod_rad_auth.c file that all entries related to credit_amount, billing_model etc are commented and credit_time does not even exist in that file.</span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">Thanks.</span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">Regards</span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">-------------</span></font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;">Abid Saleem</span></font></div><div><br><div id="SkyDrivePlaceholder" style="font-family: Tahoma; font-size: 10pt; "></div><hr id="stopSpelling" style="font-family: Tahoma; font-size: 10pt; "><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt; ">Date: Thu, 11 Nov 2010 12:58:13 +0100</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">From: tculjaga@gmail.com</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">To: freeswitch-users@lists.freeswitch.org</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">Subject: Re: [Freeswitch-users] Radius AAA</span></font><br><br><br><br><div class="ecxgmail_quote" style="font-family: Tahoma; font-size: 10pt; ">On Thu, Nov 11, 2010 at 8:27 AM, Abid Saleem <span dir="ltr">&lt;<a href="mailto:abid_freeswitch@live.com">abid_freeswitch@live.com</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="padding-left:1ex">




<div>
Dear Tihomir,<div><br></div><div>Good day. I am still waiting for your answer on the below subject. Could you please guide me further so I can fix this issue with mod_rad_auth. I hope you understand what is my problem.</div>
<div><br></div><br></div></blockquote></div><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">Abid, i cannot write the dialplan for you. This part you should do by yourself. I have explained how this module is supposed to work... and it really does.</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">you need to evaluate the response from auth_function and act accordingly (bridge or not bridge the call according to auth result)</span></font><br>
<br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">again, here is an example:</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">module config:</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&lt;configuration name="rad_auth.conf" description="radius authentification module"&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;settings&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- backward compatibility to allow radiusclient config file instead of an embedded config --&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="radius_config" value="/usr/local/etc/radiusclient/radiusclient.conf"/&gt;&nbsp; </span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;/settings&gt;</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;client&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="authserver" value="x.x.x.x:1812:gateway"/&gt; </span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;param name="authserver" value="x.x.x.x:1812:gateway"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="dictionary" value="/usr/local/etc/radiusclient/dictionary.all"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="seqfile" value="/var/run/radius.seq"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;param name="mapfile" value="/usr/local/etc/radiusclient/port-id-map"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="default_realm" value=""/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="radius_timeout" value="2"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;param name="radius_retries" value="1"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="radius_deadtime" value="60"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="bindaddr" value="*"/&gt; </span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;/client&gt;</span></font><br>
<br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;vsas&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;!-- </span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; just a description</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; direct input or variable </span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pec:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vendor ID (0 for default, 9 for cisco...)</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expr:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 for channel variable, 2 for direct input</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; direction:&nbsp; in for radius-request, out for radius-response</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; --&gt;</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;!-- mappings for radius request message; input attributes --&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="h323-conf-id" id="24" value="CALLID" pec="9" expr="1" direction="in"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;param name="Calling-Station-Id" id="31" value="CALLINGNUMBER" pec="0" expr="1" direction="in"/&gt; </span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="NAS-Port-Type" id="61" value="0" pec="0" expr="0" direction="in"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;param name="NAS-Port-Id" id="87" value="ISDN 3/0:D:14" pec="0" expr="0" direction="in"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="Login-User" id="1" value="1" pec="0" expr="0" direction="in"/&gt;</span></font><br>
<br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;!-- mappings for radius-response message; output values from returning outributes --&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="CREDIT_AMOUNT" id="101" value="credit_amount" pec="9" expr="0" direction="out"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;param name="CREDIT_TIME" id="102" value="credit_time" pec="9" expr="0" direction="out"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;param name="RADIUS_RETURN_CODE" id="103" value="return_code" pec="9" expr="0" direction="out"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;!-- expr param is to be ignored here--&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;/vsas&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&lt;/configuration&gt;</span></font><br><br><br><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;extension name="RADIUS_ANI_AUTH"&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^RADIUS_ANI_AUTH$"&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="log" data="INFO&nbsp; Before Auth "/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="auth_function" data="in ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out AUTH_RESULT"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="execute_extension" data="CHECK_IF_AUTORIZED XML default"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;/extension&gt;</span></font><br><br><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;extension name="CHECK_IF_AUTORIZED"&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^CHECK_IF_AUTORIZED$"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;condition field="${ANI_AUTH_RESULT}" expression="^NOK$"&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="log" data="INFO ################# Unauthorized - reject call ################\n"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="playback" data="/path/to/file/your_call_is_not_authorized.wav"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="playback" data="/path/to/file/your_call_will_disconnect.wav"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="hangup" data="CALL_REJECTED"/&gt;</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO ################# Authorized - let it go! ################\n"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO ################# Radius returned attributes - start ################\n"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; AUTH_RESULT=${AUTH_RESULT}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; billing_model=${billing_model}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; credit_amount=${credit_amount}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; currency=${currency}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; preffered_lang=${preffered_lang}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; credit_time=${credit_time}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; h323_ivr_duration=${h323_ivr_duration}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO&nbsp; return_code=${return_code}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="log" data="INFO ################# Radius returned attributes - end ################\n"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;/extension&gt;</span></font><br><br><br><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; </span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp; &lt;extension name="Local_Extension"&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(10[01][0-9])$"&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="dialed_extension=$1"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="export" data="dialed_extension=$1"/&gt;</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set" data="CALLID=h323-conf-id=${uuid}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set" data="CALLINGNUMBER=${caller_id_number}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set" data="USERNAME=${caller_id_number}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set" data="PASSWD=1234"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set" data="DIALED_NUMBER=${dialed_extension}"/&gt; </span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="execute_extension" data="RADIUS_ANI_AUTH XML default"/&gt;</span></font><br>
<br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- bind_meta_app can have these args &lt;key&gt; [a|b|ab] [a|b|o|s] &lt;app&gt; --&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="ringback=${us-ring}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="transfer_ringback=$${hold_music}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="call_timeout=30"/&gt;</span></font><br>
<br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- &lt;action application="set" data="sip_exclude_contact=${network_addr}"/&gt; --&gt;</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="hangup_after_bridge=true"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/&gt; --&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="continue_on_fail=true"/&gt;</span></font><br>
<br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;action application="export" data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/&gt;--&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/&gt;</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="user/${dialed_extension}@${domain_name}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="answer"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="1000"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="voicemail" data="default ${domain_name} ${dialed_extension}"/&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span></font><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">&nbsp; &lt;/extension&gt;</span></font><br><br><br><br><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">If you still have issues, contact me off the list and provide access to the server... i don't know what to say to you anymore on this topic.</span></font><br><br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">
its more than clear.</span></font><br><br><br>
<br><font class="Apple-style-span" face="Tahoma" size="4"><span class="Apple-style-span" style="font-size: 10pt;">_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org</span></font></div>                                               </body>
</html>