Dear Openser, After some investigation, I discovered that the radius accounting behavior is different between openser-1.2.0-tls, and openser-1.1.1-tls. Specifically, when running the basic UAS/UAC scenario in SIPp, I observe the following:
1) Openser-1.1.1-tls - generates 2 accounting start packets, 1 accounting stop. User-Name, CalledStationId, CallingStationId attributes are present.
2) Openser-1.2.0-tls - generates 1 accounting start packet, 1 accounting stop. User-Name, CalledStationdId, CallingStationId attributes are missing.
Can anyone: 1) confirm this behaviour? 2) tell me which one is correct? Thank you for your assistance in this matter.
I'm trying to use openser's (1.1.1) default nathelper.cfg to connect two ekiga clients. One is behind a NAT. Both can contact each other, but the media streams (neither video nor audio) don't seem to be setup for some reason. rtpproxy registers that it should setup the connection, but it doesn't seem to take off past that.
here's an ngrep dump of the NAT'd client calling the other, and could appreciate some wisdom on what I need to fix and what the problem is. thanks.
--------
U 2006/04/20 00:11:09.663917 209.91.15.175:5071 -> 209.91.15.110:5060 INVITE sip:test@209.91.15.110 SIP/2.0. Date: Thu, 19 Apr 2007 04:44:30 GMT. CSeq: 1 INVITE. Via: SIP/2.0/UDP 192.168.0.25:5071;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport. User-Agent: Ekiga/2.0.3. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110. Contact: sip:test_store@192.168.0.25:5071;transport=udp. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Type: application/sdp. Content-Length: 227. Max-Forwards: 70. . v=0. o=- 1176957870 1176957870 IN IP4 192.168.0.25. s=Opal SIP Session. c=IN IP4 192.168.0.25. t=0 0. m=audio 5006 RTP/AVP 101. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. m=video 5008 RTP/AVP 31. a=rtpmap:31 H261/90000.
U 2006/04/20 00:11:09.673012 209.91.15.110:5060 -> 209.91.15.175:5071 SIP/2.0 100 trying -- your call is important to us. CSeq: 1 INVITE. Via: SIP/2.0/UDP 192.168.0.25:5071;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071;received=209.91.15.175. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110. Server: OpenSer (1.1.1-notls (i386/linux)). Content-Length: 0. Warning: 392 209.91.15.110:5060 "Noisy feedback tells: pid=4047 req_src_ip=209.91.15.175 req_src_port=5071 in_uri=sip:test@209.91.15.110 out_uri=sip:test@209.91.15.19:5074;transport=udp via_cnt==1". .
U 2006/04/20 00:11:09.673822 209.91.15.110:5060 -> 209.91.15.19:5074 INVITE sip:test@209.91.15.19:5074;transport=udp SIP/2.0. Record-Route: sip:209.91.15.110;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000. Date: Thu, 19 Apr 2007 04:44:30 GMT. CSeq: 1 INVITE. Via: SIP/2.0/UDP 209.91.15.110;branch=z9hG4bK393e.770a5756.0. Via: SIP/2.0/UDP 192.168.0.25:5071;received=209.91.15.175;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071. User-Agent: Ekiga/2.0.3. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110. Contact: sip:test_store@209.91.15.175:5071;transport=udp. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Type: application/sdp. Content-Length: 270. Max-Forwards: 69. P-hint: usrloc applied. . v=0. o=- 1176957870 1176957870 IN IP4 192.168.0.25. s=Opal SIP Session. c=IN IP4 209.91.15.110. t=0 0. m=audio 35000 RTP/AVP 101. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. m=video 35002 RTP/AVP 31. a=rtpmap:31 H261/90000. a=direction:active. a=nortpproxy:yes.
U 2006/04/20 00:11:09.678496 209.91.15.19:5074 -> 209.91.15.110:5060 SIP/2.0 100 Trying. CSeq: 1 INVITE. Via: SIP/2.0/UDP 209.91.15.110;branch=z9hG4bK393e.770a5756.0. Via: SIP/2.0/UDP 192.168.0.25:5071;received=209.91.15.175;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Length: 0. Record-Route: sip:209.91.15.110;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000. .
U 2006/04/20 00:11:09.801370 209.91.15.19:5075 -> 209.91.15.110:5060 SIP/2.0 100 Trying. CSeq: 1 INVITE. Via: SIP/2.0/UDP 209.91.15.110;branch=z9hG4bK393e.770a5756.0. Via: SIP/2.0/UDP 192.168.0.25:5071;received=209.91.15.175;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110;tag=0a37f656-5cec-db11-9452-001372710463. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Length: 0. Record-Route: sip:209.91.15.110;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000. .
U 2006/04/20 00:11:09.824859 209.91.15.19:5075 -> 209.91.15.110:5060 SIP/2.0 502 Bad Gateway. CSeq: 1 INVITE. Via: SIP/2.0/UDP 209.91.15.110;branch=z9hG4bK393e.770a5756.0. Via: SIP/2.0/UDP 192.168.0.25:5071;received=209.91.15.175;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110;tag=0a37f656-5cec-db11-9452-001372710463. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Length: 0. Record-Route: sip:209.91.15.110;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000. .
U 2006/04/20 00:11:09.827826 209.91.15.110:5060 -> 209.91.15.19:5074 ACK sip:test@209.91.15.19:5074;transport=udp SIP/2.0. Via: SIP/2.0/UDP 209.91.15.110;branch=z9hG4bK393e.770a5756.0. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110;tag=0a37f656-5cec-db11-9452-001372710463. CSeq: 1 ACK. User-Agent: OpenSer (1.1.1-notls (i386/linux)). Content-Length: 0. .
U 2006/04/20 00:11:09.828858 209.91.15.110:5060 -> 209.91.15.175:5071 SIP/2.0 502 Bad Gateway. CSeq: 1 INVITE. Via: SIP/2.0/UDP 192.168.0.25:5071;received=209.91.15.175;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110;tag=0a37f656-5cec-db11-9452-001372710463. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Length: 0. Record-Route: sip:209.91.15.110;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000. .
U 2006/04/20 00:11:09.847970 209.91.15.175:5071 -> 209.91.15.110:5060 ACK sip:test@209.91.15.110 SIP/2.0. CSeq: 1 ACK. Via: SIP/2.0/UDP 192.168.0.25:5071;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110;tag=0a37f656-5cec-db11-9452-001372710463. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Length: 0. Max-Forwards: 70. .
U 2006/04/20 00:11:10.209491 209.91.15.19:5075 -> 209.91.15.110:5060 SIP/2.0 200 OK. CSeq: 1 INVITE. Via: SIP/2.0/UDP 209.91.15.110;branch=z9hG4bK393e.770a5756.0. Via: SIP/2.0/UDP 192.168.0.25:5071;received=209.91.15.175;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110;tag=0a37f656-5cec-db11-9452-001372710463. Contact: sip:test@209.91.15.19:5075;transport=udp. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Type: application/sdp. Content-Length: 153. Record-Route: sip:209.91.15.110;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000. . v=0. o=- 1176929527 1176929527 IN IP4 209.91.15.19. s=Opal SIP Session. c=IN IP4 209.91.15.19. t=0 0. m=video 5012 RTP/AVP 31. a=rtpmap:31 H261/90000.
U 2006/04/20 00:11:10.210568 209.91.15.110:5060 -> 209.91.15.175:5071 SIP/2.0 200 OK. CSeq: 1 INVITE. Via: SIP/2.0/UDP 192.168.0.25:5071;received=209.91.15.175;branch=z9hG4bK9280b754-9eec-db11-9dcc-00187185e000;rport=5071. From: "Test Store" sip:test_store@209.91.15.110;tag=a84faa54-9eec-db11-9dcc-00187185e000. Call-ID: 3a45aa54-9eec-db11-9dcc-00187185e000@192.168.0.25. To: sip:test@209.91.15.110;tag=0a37f656-5cec-db11-9452-001372710463. Contact: sip:test@209.91.15.19:5075;transport=udp. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE. Content-Type: application/sdp. Content-Length: 173. Record-Route: sip:209.91.15.110;lr=on;ftag=a84faa54-9eec-db11-9dcc-00187185e000. . v=0. o=- 1176929527 1176929527 IN IP4 209.91.15.19. s=Opal SIP Session. c=IN IP4 209.91.15.110. t=0 0. m=video 35004 RTP/AVP 31. a=rtpmap:31 H261/90000. a=nortpproxy:yes.
Terry Robert wrote:
Dear Openser, After some investigation, I discovered that the radius accounting behavior is different between openser-1.2.0-tls, and openser-1.1.1-tls. Specifically, when running the basic UAS/UAC scenario in SIPp, I observe the following:
- Openser-1.1.1-tls - generates 2 accounting start packets, 1
accounting stop. User-Name, CalledStationId, CallingStationId attributes are present.
- Openser-1.2.0-tls - generates 1 accounting start packet, 1
accounting stop. User-Name, CalledStationdId, CallingStationId attributes are missing.
You must use radius_extra parameter to add some useful info into RADIUS request. See at http://www.openser.org/docs/modules/1.2.x/acc.html#AEN319