(RADIATOR) Changing parameter name

Ricardo Martinez rmartinez at redvoiss.net
Wed Oct 6 17:48:39 CDT 2004


Hello list.
	I have a acc and auth messages coming to my RADIATOR server.  These
messages look like this:
Attributes:
	User-Name = "ricardo at sipproxy.mydomain.com"
	Digest-Attributes = "<1><21>sipproxy.mydomain.com"
	Digest-Attributes = "<2>*41646f972e82fcbf472f434aeee4c3f8e9ca608c"
	Digest-Attributes = "<4><25>sip:sipproxy.mydomain.com"
	Digest-Attributes = "<3><10>REGISTER"
	Digest-Attributes = "<5><6>auth"
	Digest-Response = "6b578f793a921c390a708f0feede320f"
	Service-Type = Sip-Session
	Sip-Uri-User = "5555832352"
	NAS-IP-Address = 127.0.0.1
	NAS-Port = 5060

Is possible to make some manipulation of this particular message and turn it
into this:?

Attributes:
	User-Name = "ricardo at sipproxy.mydomain.com"
	Realm = "<1><21>sipproxy.mydomain.com"
	Call-id = "<2>*41646f972e82fcbf472f434aeee4c3f8e9ca608c"
	Uri = "<4><25>sip:sipproxy.mydomain.com"
	Method = "<3><10>REGISTER"
	Type = "<5><6>auth"
	Nonce = "6b578f793a921c390a708f0feede320f"
	Service-Type = Sip-Session
	Sip-Uri-User = "5555832352"
	NAS-IP-Address = 127.0.0.1
	NAS-Port = 5060


I want change the parameters named "Digest-Attributes" in those listed
before.

Can someone give an example of how i can do this?
Thanks in advance.
Best Regards

Ricardo

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list