[Serusers] caller-id with raius using sip-rpid
Jan Janak
jan at iptel.org
Thu Oct 2 17:53:19 CEST 2003
Remote-Party-ID header field is inserted into forwarded requests, not
responses.
Jan.
On 02-10 10:53, Steve Dolloff wrote:
> Ser doesn't appear to be passing the Caller-id to the ata at auth or I
> am doing something wrong. Can anyone point me in the right direction?
>
> Thanks,
>
> Stephen
>
> I have the following entry in my freeradius users file.
>
> test at voip2.test.net Auth-Type := Digest, User-Password == "test"
> Reply-Message = "Hello, test with digest", Sip-Rpid =
> "8472222222"
>
> When I run a radclient test I get the correct info..
>
> radclient -f digest.test 219.242.10.153:1812 auth testing
> Received response ID 134, code 2, length = 57
> Reply-Message = "Hello, test with digest"
> Sip-Rpid = "8472222222"
>
> This is the output from ngrep port 5060
>
> U 216.222.234.113:5060 -> 219.242.10.153:5060
> REGISTER sip:voip2.test.net SIP/2.0..Via: SIP/2.0/UDP
> 216.222.234.113:5060..
> From: sip:test at voip2.test.net;tag=277486986..To:
> sip:test at voip2.test.net..Cal
> l-ID: 2687235586 at 216.222.234.113..CSeq: 2 REGISTER..Contact:
> <sip:test at 216.
> 222.234.113:5060;transport=udp>;expires=120..User-Agent: Cisco ATA 186
> v2.
> 16.2 ata18x (030909a)..Authorization: Digest
> username="test",realm="voip2.test.net",nonce="3f7c49b40e81572eff05bdf50c
> 867a85bbb0da3c",uri="sip:voip2.test
> .net",response="1684410c130d6faa9a3c573365f36ab6"..Content-Length:
> 0....
> #
> U 219.242.10.153:5060 -> 216.222.234.113:5060
> SIP/2.0 200 OK..Via: SIP/2.0/UDP
> 216.222.234.113:5060;rport=5060..From: sip
> :test at voip2.test.net;tag=277486986..To:
> sip:test at voip2.test.net;tag=b27e1a1d3
> 3761e85846fc98f5f3a7e58.13c2..Call-ID:
> 2687235586 at 216.222.234.113..CSeq: 2
> REGISTER..Contact:
> <sip:test at 216.222.234.113:5060;transport=udp>;q=0.00;exp
> ires=120..Server: Sip EXpress router (0.8.12dev-t16
> (i386/linux))..Content-
> Length: 0..Warning: 392 219.242.10.153:5060 "Noisy feedback tells:
> pid=121
> 59 req_src_ip=216.222.234.113 req_src_port=5060
> in_uri=sip:voip2.test.net ou
> t_uri=sip:voip2.test.net via_cnt==1"....
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list