<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<div><br></div><div>I am already using sched_hangup and its working. Can you please send me some dialplan you are using for Calling Card IVR application. Thanks.</div><div><br></div><div>Regards</div><div>-----------</div><div>Abid Saleem</div><div><br></div><div>s.freeswitch.org<br>> Subject: Re: [Freeswitch-users] Radius AAA<br>> <br>> Hello Abid<br>> <br>> Don't mention, say thanks to Tihomir for this nice module ) Example of<br>> a dialplan entry is posted on wiki.<br>> <br>> <action application="log" data="INFO credit_time=${credit_time}"/><br>> <action application="sched_hangup" data="+${credit_time:17:-1} ${Core-UUID}"/><br>> <br>> In this scenario you don't have to check for return code, because you will get hangup<br>> if authentication fails.<br>> <br>> Regards,<br>> Nazim <br>> <br>> <br>> <br>> On 11/14/2010 02:48 PM, Abid Saleem wrote:<br>> > Dear Nazim,<br>> > Thanks for your message. You are right it was a dictionary problem as in my other email. Can you please send me the dialplan entries for parsing Radius_Return_code that you are using?<br>> ><br>> > Regards-----------Abid Saleem<br>> ><br>> >> Date: Sat, 13 Nov 2010 15:41:52 +0400<br>> >> From: nazim.aghabayov@gmail.com<br>> >> To: freeswitch-users@lists.freeswitch.org<br>> >> Subject: Re: [Freeswitch-users] Radius AAA<br>> >><br>> >> Hello Abid<br>> >><br>> >> >From the radius log you have sent I see that server returns<br>> >> h323-credit-time=40800. If radius client dictionary includes cisco's<br>> >> attributes you should be able to receive them.<br>> >> Could you enable debug=7 in FS console and analyze the output. Probably<br>> >> something is wrong with mod_rad_auth config or dialplan itself.<br>> >> B.t.w VSA's are not hardcoded into mod_rad_auth.c.<br>> >><br>> >> Regards,<br>> >> Nazim<br>> >><br>> >> On 11/13/2010 12:04 PM, Abid Saleem wrote:<br>> >>> Dear Tihomir,<br>> >>> I think you did not understand what my problem is. Let me explain.<br>> >>> I know that I can 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 whose value in this case is not being populated into credit_time parameter of FS.<br>> >>> If you still do not understand, lets put it this way that even if I use the mod_rad_auth.conf.xml and dialplan configuration you sent, still the FS is not able to obtain the value of credit_amount and credit_time although radius response parameters are received by the server.<br>> >>> 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.<br>> >>> Thanks.<br>> >><br>> >> _______________________________________________<br>> >> FreeSWITCH-users mailing list<br>> >> FreeSWITCH-users@lists.freeswitch.org<br>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> >> http://www.freeswitch.org<br>> >                                            <br>> ><br>> ><br>> > _______________________________________________<br>> > FreeSWITCH-users mailing list<br>> > FreeSWITCH-users@lists.freeswitch.org<br>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> > http://www.freeswitch.org<br>> <br>> <br>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> FreeSWITCH-users@lists.freeswitch.org<br>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> http://www.freeswitch.org<br></div>                                            </body>
</html>