When receiving the following request (below), I want to invoke a external script and pass %{Sip-Uri-User} as a command line argument, but all I get is the first line "\n\0068668". I'm looking for an alternative, but so far no good.. Is there anyway to get the request fed to my script via stdin? Or am I failing to see something simple?


Thanks,
-Jev

rad_recv: Access-Request packet from host 127.0.0.1:33664, id=77, length=273
        User-Name = "[EMAIL PROTECTED]"
        Sip-Uri-User = "\n\0068668"
        Sip-Uri-User = "\001\027example.com"
        Sip-Uri-User = "\002*41801109cc2d3e93d34ba9c546759aaabf5aa31c"
        Sip-Uri-User = "\004 sip:[EMAIL PROTECTED]"
        Sip-Uri-User = "\003\010INVITE"
        Sip-Uri-User = "5a3c53c22b664a1e3b3ddaaab0ad93e5"
        Service-Type = Sip-Session
        Sip-Uri-User = "8668"
        Cisco-AVPair = "[EMAIL PROTECTED]"
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 5060

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to