[OpenSIPS-Users] CDR Accounting not working from this provider

jamesp at vicidial.com jamesp at vicidial.com
Sat Apr 23 06:54:07 CEST 2011



I have a new provider that I am evaluating and the built-in CDR
functionality of the acc module is not working for them. I have tested
with a second provider and it works fine. I can only assume that
something somewhere in the SIP dialog is causing it to loose track of
it. Here is the SIP dialog: 

interface: any
filter: (ip) and ( port
5060 )
#
U 2011/04/22 23:06:09.857893 208.38.149.190:5060 ->
208.38.149.182:5060
INVITE sip:18633939336 at 208.38.149.182;cpd=on
SIP/2.0
Via: SIP/2.0/UDP
208.38.149.190:5060;branch=z9hG4bK745a7a33;rport
From: "James P."
;tag=as791c05d3
To: 
Contact: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "James
P." ;privacy=off;screen=no
Date: Sat, 23 Apr 2011 03:12:17 GMT
Allow:
INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO
Supported: replaces
Content-Type: application/sdp
Content-Length:
264

v=0
o=root 23976 23976 IN IP4 208.38.149.190
s=session
c=IN IP4
208.38.149.190
t=0 0
m=audio 13872 RTP/AVP 18 0 101
a=rtpmap:18
G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101
telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

#
U
2011/04/22 23:06:09.858211 208.38.149.182:5060 ->
208.38.149.190:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
208.38.149.190:5060;branch=z9hG4bK745a7a33;rport=5060
From: "James P."
;tag=as791c05d3
To: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
Content-Length: 0

#
U 2011/04/22 23:06:09.859762
208.38.149.182:5060 -> 69.30.55.34:5060
INVITE
sip:18633939336 at 69.30.55.34;cpd=on SIP/2.0
Record-Route: 
Via:
SIP/2.0/UDP 208.38.149.182;branch=z9hG4bK4956.b46847f.0
Via: SIP/2.0/UDP
208.38.149.190:5060;received=208.38.149.190;branch=z9hG4bK745a7a33;rport=5060
From:
"James P." ;tag=as791c05d3
To: 
Contact: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: Asterisk PBX
Max-Forwards: 69
Remote-Party-ID: "James
P." ;privacy=off;screen=no
Date: Sat, 23 Apr 2011 03:12:17 GMT
Allow:
INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO
Supported: replaces
Content-Type: application/sdp
Content-Length:
264

v=0
o=root 23976 23976 IN IP4 208.38.149.190
s=session
c=IN IP4
208.38.149.190
t=0 0
m=audio 13872 RTP/AVP 18 0 101
a=rtpmap:18
G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101
telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

#
U
2011/04/22 23:06:09.931832 69.30.55.34:5060 ->
208.38.149.182:5060
SIP/2.0 100 Giving a try
Via: SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK4956.b46847f.0
Via: SIP/2.0/UDP
208.38.149.190:5060;received=208.38.149.190;branch=z9hG4bK745a7a33;rport=5060
From:
"James P." ;tag=as791c05d3
To: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102 INVITE
Server:
OpenSIPS (1.6.2-notls (i386/linux))
Content-Length: 0

#
U 2011/04/22
23:06:10.974003 69.30.55.34:5060 -> 208.38.149.182:5060
SIP/2.0 183
Session Progress
Via: SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK4956.b46847f.0
Via: SIP/2.0/UDP
208.38.149.190:5060;received=208.38.149.190;branch=z9hG4bK745a7a33;rport=5060
Record-Route:

Record-Route: 
From: "James P." ;tag=as791c05d3
To:
;tag=as7abc238a
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: SIP SWITCH
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: 
Content-Type:
application/sdp
Content-Length: 238

v=0
o=root 8881 8881 IN IP4
74.120.95.55
s=session
c=IN IP4 74.120.95.55
t=0 0
m=audio 23416 RTP/AVP
0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101
0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

#
U 2011/04/22
23:06:10.974350 208.38.149.182:5060 -> 208.38.149.190:5060
SIP/2.0 183
Session Progress
Via: SIP/2.0/UDP
208.38.149.190:5060;received=208.38.149.190;branch=z9hG4bK745a7a33;rport=5060
Record-Route:

Record-Route: 
From: "James P." ;tag=as791c05d3
To:
;tag=as7abc238a
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: SIP SWITCH
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: 
Content-Type:
application/sdp
Content-Length: 238

v=0
o=root 8881 8881 IN IP4
74.120.95.55
s=session
c=IN IP4 74.120.95.55
t=0 0
m=audio 23416 RTP/AVP
0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101
0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

#
U 2011/04/22
23:06:19.628116 69.30.55.34:5060 -> 208.38.149.182:5060
SIP/2.0 200
OK
Via: SIP/2.0/UDP 208.38.149.182;branch=z9hG4bK4956.b46847f.0
Via:
SIP/2.0/UDP
208.38.149.190:5060;received=208.38.149.190;branch=z9hG4bK745a7a33;rport=5060
Record-Route:

Record-Route: 
From: "James P." ;tag=as791c05d3
To:
;tag=as7abc238a
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: SIP SWITCH
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: 
Content-Type:
application/sdp
Content-Length: 238

v=0
o=root 8881 8882 IN IP4
74.120.95.55
s=session
c=IN IP4 74.120.95.55
t=0 0
m=audio 23416 RTP/AVP
0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101
0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

#
U 2011/04/22
23:06:19.628522 208.38.149.182:5060 -> 208.38.149.190:5060
SIP/2.0 200
OK
Via: SIP/2.0/UDP
208.38.149.190:5060;received=208.38.149.190;branch=z9hG4bK745a7a33;rport=5060
Record-Route:

Record-Route: 
From: "James P." ;tag=as791c05d3
To:
;tag=as7abc238a
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: SIP SWITCH
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: 
Content-Type:
application/sdp
Content-Length: 238

v=0
o=root 8881 8882 IN IP4
74.120.95.55
s=session
c=IN IP4 74.120.95.55
t=0 0
m=audio 23416 RTP/AVP
0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101
0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

#
U 2011/04/22
23:06:19.630112 208.38.149.190:5060 -> 208.38.149.182:5060
ACK
sip:18633939336 at 69.30.55.41 SIP/2.0
Via: SIP/2.0/UDP
208.38.149.190:5060;branch=z9hG4bK14055b6a;rport
Route: ,
From: "James
P." ;tag=as791c05d3
To: ;tag=as7abc238a
Contact: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "James
P." ;privacy=off;screen=no
Content-Length: 0

#
U 2011/04/22
23:06:19.631887 208.38.149.182:5060 -> 69.30.55.34:5060
ACK
sip:18633939336 at 69.30.55.41 SIP/2.0
Record-Route: 
Via: SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK4956.b46847f.2
Via: SIP/2.0/UDP
208.38.149.190:5060;received=208.38.149.190;branch=z9hG4bK14055b6a;rport=5060
Route:

From: "James P." ;tag=as791c05d3
To: ;tag=as7abc238a
Contact:

Call-ID: 38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
ACK
User-Agent: Asterisk PBX
Max-Forwards: 69
Remote-Party-ID: "James
P." ;privacy=off;screen=no
Content-Length: 0

#
U 2011/04/22
23:06:26.572588 69.30.55.34:5060 -> 208.38.149.182:5060
INVITE
sip:8633939330 at 208.38.149.190 SIP/2.0
Record-Route: 
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK4956.88f32c4.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK7d4e2dbf
Route: 
From:
;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Contact: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: SIP SWITCH
Max-Forwards: 69
Allow: INVITE, ACK,
CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported:
replaces
Content-Type: application/sdp
Content-Length: 236

v=0
o=root
8881 8883 IN IP4 69.30.55.41
s=session
c=IN IP4 69.30.55.41
t=0
0
m=audio 44116 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101
telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - -
-
a=ptime:20
a=sendrecv

#
U 2011/04/22 23:06:26.572995
208.38.149.182:5060 -> 69.30.55.34:5060
SIP/2.0 100 Giving a try
Via:
SIP/2.0/UDP 69.30.55.34;branch=z9hG4bK4956.88f32c4.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK7d4e2dbf
From: ;tag=as7abc238a
To: "James
P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
Content-Length: 0

#
U 2011/04/22 23:06:26.573035
208.38.149.182:5060 -> 208.38.149.190:5060
INVITE
sip:8633939330 at 208.38.149.190 SIP/2.0
Record-Route: 
Record-Route: 
Via:
SIP/2.0/UDP 208.38.149.182;branch=z9hG4bK4956.c46847f.0
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK4956.88f32c4.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK7d4e2dbf
From: ;tag=as7abc238a
To: "James
P." ;tag=as791c05d3
Contact: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: SIP SWITCH
Max-Forwards: 68
Allow: INVITE, ACK,
CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported:
replaces
Content-Type: application/sdp
Content-Length: 236

v=0
o=root
8881 8883 IN IP4 69.30.55.41
s=session
c=IN IP4 69.30.55.41
t=0
0
m=audio 44116 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101
telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - -
-
a=ptime:20
a=sendrecv

#
U 2011/04/22 23:06:26.574585
208.38.149.190:5060 -> 208.38.149.182:5060
SIP/2.0 100 Trying
Via:
SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK4956.c46847f.0;received=208.38.149.182
Via:
SIP/2.0/UDP 69.30.55.34;branch=z9hG4bK4956.88f32c4.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK7d4e2dbf
Record-Route: 
Record-Route:

From: ;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS,
BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Contact:

Content-Length: 0

#
U 2011/04/22 23:06:26.574595 208.38.149.190:5060
-> 208.38.149.182:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK4956.c46847f.0;received=208.38.149.182
Via:
SIP/2.0/UDP 69.30.55.34;branch=z9hG4bK4956.88f32c4.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK7d4e2dbf
Record-Route: 
Record-Route:

From: ;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS,
BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Contact:

Content-Type: application/sdp
Content-Length: 217

v=0
o=root 23976
23977 IN IP4 208.38.149.190
s=session
c=IN IP4 208.38.149.190
t=0
0
m=audio 13872 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101
telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

#
U
2011/04/22 23:06:26.575599 208.38.149.182:5060 ->
69.30.55.34:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK4956.88f32c4.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK7d4e2dbf
Record-Route: 
Record-Route:

From: ;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS,
BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Contact:

Content-Type: application/sdp
Content-Length: 217

v=0
o=root 23976
23977 IN IP4 208.38.149.190
s=session
c=IN IP4 208.38.149.190
t=0
0
m=audio 13872 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101
telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

#
U
2011/04/22 23:06:26.646529 69.30.55.34:5060 -> 208.38.149.182:5060
ACK
sip:8633939330 at 208.38.149.190 SIP/2.0
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK4956.88f32c4.2
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK32804b64
Route: 
From:
;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Contact: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
ACK
User-Agent: SIP SWITCH
Max-Forwards: 69
Content-Length: 0

#
U
2011/04/22 23:06:26.646888 208.38.149.182:5060 ->
208.38.149.190:5060
ACK sip:8633939330 at 208.38.149.190
SIP/2.0
Record-Route: 
Via: SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK4956.c46847f.2
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK4956.88f32c4.2
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK32804b64
From: ;tag=as7abc238a
To: "James
P." ;tag=as791c05d3
Contact: 
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 102
ACK
User-Agent: SIP SWITCH
Max-Forwards: 68
Content-Length: 0

#
U
2011/04/22 23:06:26.647529 69.30.55.34:5060 -> 208.38.149.182:5060
BYE
sip:8633939330 at 208.38.149.190 SIP/2.0
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK5956.9f399a6.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK22517c54
Route: 
From:
;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 103
BYE
User-Agent: SIP SWITCH
Max-Forwards: 69
Content-Length: 0

#
U
2011/04/22 23:06:26.651368 208.38.149.182:5060 ->
208.38.149.190:5060
BYE sip:8633939330 at 208.38.149.190
SIP/2.0
Record-Route: 
Via: SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK5956.1891b0a1.0
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK5956.9f399a6.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK22517c54
From: ;tag=as7abc238a
To: "James
P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 103
BYE
User-Agent: SIP SWITCH
Max-Forwards: 68
Content-Length: 0

#
U
2011/04/22 23:06:26.652523 208.38.149.190:5060 ->
208.38.149.182:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP
208.38.149.182;branch=z9hG4bK5956.1891b0a1.0;received=208.38.149.182
Via:
SIP/2.0/UDP 69.30.55.34;branch=z9hG4bK5956.9f399a6.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK22517c54
Record-Route: 
From:
;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 103
BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length:
0

#
U 2011/04/22 23:06:26.652807 208.38.149.182:5060 ->
69.30.55.34:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP
69.30.55.34;branch=z9hG4bK5956.9f399a6.0
Via: SIP/2.0/UDP
69.30.55.41:5060;branch=z9hG4bK22517c54
Record-Route: 
From:
;tag=as7abc238a
To: "James P." ;tag=as791c05d3
Call-ID:
38b57ce271946530476aea3909a8de2b at 208.38.149.190
CSeq: 103
BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length:
0

exit
22 received, 0 dropped

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110423/c8dfa9fa/attachment-0001.htm>


More information about the Users mailing list