[SR-Users] SIP application type

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 27 11:33:49 CEST 2010


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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101027/f979d9fd/attachment.htm>


More information about the sr-users mailing list