[Users] acc_radius question
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Oct 11 15:48:07 CEST 2006
Cseke Tamas wrote:
> Hi,
>
> When sends openser accounting packets for INVITE, and BYE message?
> it seems to be, when received 200 OK.
>
> 1)for INVITE i need radius packet immediately, not just when it was
> answered.
you can send a acc request manually.
http://www.openser.org/docs/modules/1.1.x/acc.html#AEN669
> 2)for BYE i need accounting packet, when any error occured too.
you have to configure and set the failed transactions flag
http://www.openser.org/docs/modules/1.1.x/acc.htmlfailed
>
> modparam("acc", "radius_flag", 2)
>
> modparam("acc", "radius_missed_flag", 3)
>
> this attribute mean that, should sent radius packet, when any error
> occured too, isn't it? However openser don't send accounting packet in
no: missed != failed
> this case.
>
> i run into the following error:
>
> ##########
> T called -> openser
> BYE sip:21.16.8.92:5060
> ##
> T openser->called
> SIP/2.0 477 Unfortunately error on sending to next hop occurred (477/TM)
> ##########
> T caller->openser
> BYE sip:66610038641368254 at 21.16.8.90:5060;
openser tries to open a TCP connection but it fails as there is nobody
listening on the specified remote socket.
regards
klaus
> #####
> # openser -> caller
> SIP/2.0 481 Call Leg/Transaction Does Not Exist..
>
> So no 200 OK for BYE received, therefore no accounting packet to radius
> sent.
> How can i solve these problems?
>
> Btw, what could cause this 477 error?
>
> Thanks,
> Tamas
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list