[SR-Users] SIP application type
Mino Haluz
mino.haluz at gmail.com
Tue Oct 26 12:53:34 CEST 2010
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101026/14667f5d/attachment.htm>
More information about the sr-users
mailing list