<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
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.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 10/26/10 12:53 PM, Mino Haluz wrote:
<blockquote
cite="mid:AANLkTimNgt0Vx7-Tr+M1kPmW5qxsxyFk7JSgZ3o14MXo@mail.gmail.com"
type="cite">Hi,<br>
<br>
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:<br>
<br>
modparam("acc", "radius_extra", "User-Name=$Au; \<br>
Calling-Station-Id=$from; \<br>
Called-Station-Id=$to; \<br>
Sip-Translated-Request-URI=$avp(s:translated_uri); \<br>
Sip-RPid=$avp(s:rpid); \<br>
Source-IP=$si; \<br>
Source-Port=$sp; \<br>
Canonical-URI=$avp(s:can_uri); \<br>
Billing-Party=$avp(s:billing_party); \<br>
Divert-Reason=$avp(s:divert_reason); \<br>
X-RTP-Stat=$hdr(X-RTP-Stat); \<br>
Contact=$hdr(contact); \<br>
Event=$hdr(event); \<br>
SIP-Proxy-IP=$avp(s:sip_proxy_ip); \<br>
ENUM-TLD=$avp(s:enum_tld)")<br>
<br>
<br>
Suggestions? Thanks.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>