Hello Danish,

a solution would be returning a SIP-AVP, containing the reason for
failure, and then forward this to the client using sl.
Another one would be completely rewriting R-URI again from your
SIP-AVP and then send the request to an announcement server (eg:
ann:[EMAIL PROTECTED] - which should play Payment Required
annoucement).

Cheers,
DanB

On 8/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have configured openser-1.2 with a (commercial) third party radius
> server and it is working great. Now I have a requirement where I need to
> check a radius return attribute in case an access reject is received in
> response to an  authorization request. Is there some way I can do this in
> the openser script.
>
> Basically I want to send a 402 payment required message to a sip client in
> case the call is rejected due low balance. In such cases radius returns a
> status  response code with access reject.
>
>
> Thanks,
> Danish
>
> _______________________________________________
> Users mailing list
> Users@openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to