(RADIATOR) Handler SIP Proxy

Jesus Rodriguez jesusr at endercom.com
Fri Oct 17 13:29:43 CDT 2003


Hello,

My SIP proxy authenticates REGISTER and INVITE requests against Radiator. I
would like to be able to diferentiate between both requests.

This is a REGISTER request:

Code:       Access-Request
Identifier: 104
Authentic:  <217><134><30>y<250>D<214>j<212>`N\F<254>{<222>
Attributes:
        User-Name = "3400000002 at voztele.com"
        Digest-Attributes = <10><12>3400000002
        Digest-Attributes = <1><13>voztele.com
        Digest-Attributes = <2>*3f9032160a04f9a07db6b7431a03c66e63917d8e
        Digest-Attributes = <4><17>sip:voztele.com
        Digest-Attributes = <3><10>REGISTER
        Digest-Response = "5d484ab3e8c3ee3aa8aeb4f7238d9456"
        Service-Type = SIP
        SIP-URI-User = "3400000002"
        NAS-IP-Address = 192.168.1.34
        NAS-Port = 5060


And this is an INVITE request:

Code:       Access-Request
Identifier: 100
Authentic:  <230><141><168>k<203>:}<239><134><139>O<227>]<6><147>'
Attributes:
        User-Name = "3400000000 at voztele.com"
        Digest-Attributes = <10><12>3400000000
        Digest-Attributes = <1><13>voztele.com
        Digest-Attributes = <2>*3f90309d03749b41dfcc0d202bc35f89ebfc9d1c
        Digest-Attributes = <4><27>sip:637589919 at voztele.com
        Digest-Attributes = <3><8>INVITE
        Digest-Response = "f398469d53d8eeb47bbde0d45f78583d"
        Service-Type = SIP
        SIP-URI-User = "3400000000"
        NAS-IP-Address = 192.168.1.34
        NAS-Port = 5060


The only difference between them are these Digest-Attributes:

	Digest-Attributes = <3><10>REGISTER
	Digest-Attributes = <3><8>INVITE

I've been playing with <Handler Digest-Attributes = xxxxx" where xxxxx are
different regular expressions but no luck.

Is there some way to diferentiate both requests? I have to treat them in a
different way because i need to send a reply attribute only for the INVITEs.

Thanks in advance.

Saludos
JesusR.

-------------------------------
Jesus Rodriguez
Endercom Comunicaciones, S.L.
jesusr at endercom.com
http://www.endercom.com
Tel. +34 934424293
-------------------------------
===
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