Hello,

if you need to store video/audio, then you need to check the sdp of 200ok and look for videa media stream. If found, sent an AVP saying it is video call and configure acc module to store it via an extra accounting detail.

Cheers,
Daniel

On 10/26/10 12:53 PM, Mino Haluz wrote:
Hi,

I'm using radius server to do an accounting, but it does not store an application type (audo/video). Audio/video calls has to be rated with cdrtool, that is why I need this information. It is not even sent through radius protocol, so the radius server cannot get it. My extra-params are:

modparam("acc", "radius_extra", "User-Name=$Au; \
                 Calling-Station-Id=$from; \
                 Called-Station-Id=$to; \
                 Sip-Translated-Request-URI=$avp(s:translated_uri); \
                 Sip-RPid=$avp(s:rpid); \
                 Source-IP=$si; \
                 Source-Port=$sp; \
                 Canonical-URI=$avp(s:can_uri); \
                 Billing-Party=$avp(s:billing_party); \
                 Divert-Reason=$avp(s:divert_reason); \
                 X-RTP-Stat=$hdr(X-RTP-Stat); \
                 Contact=$hdr(contact); \
                 Event=$hdr(event); \
                 SIP-Proxy-IP=$avp(s:sip_proxy_ip); \
                 ENUM-TLD=$avp(s:enum_tld)")


Suggestions? Thanks.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com