[asterisk-users] How to prevent logging of some entries in CDR
Jean-Yves Avenard
jyavenard at gmail.com
Mon Jan 21 06:05:06 CST 2008
Hi
In order to add several phones to a single extension number, I have
replaced entries like:
exten => 100,1,Dial(SIP/sipphone100,20,Tr)
into:
exten => 100,1,Dial(Local/100 at phones,20,Tr)
[phones]
exten => XXX,1,Dial(SIP.sipphone${EXTEN})
etc
This works great. However in the CDR, than seeing one entry for each
call, I see several entries in the CDR
Worse, if I do something like:
Dial(Local/100 at phones&Local/101 at phones&Local/102 at phones)
If each Local entry calls two phones, I will have here 6 entries in
the CDR , one for each Local (here 3) and one for each phone, all with
the same date, example, here it's one incoming call, making a few
extensions ringing with one or two phones per extension
As shown below... You'll see that now one incoming call will create
over 30 entries in CDR...
When I just add one line doing Dial(SIP/ippxx & SIP/ippxx .....) which
would only create one entry.
Any ideas on how to prevent this? it's screwing up all my records....
Thank you
Jean-Yves
CDR for one incoming call
40. 2008-01-21 13:59:34 Local/1... 04XXXXXXXX "MOB.
04XXXXXXXX" <04XXXXXXXX> Dial SIP/ipp100&SIP/ipp100.1 100 NO
ANSWER 00:11 incoming-zap
41. 2008-01-21 13:59:34 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:11
42. 2008-01-21 13:59:34 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:11
43. 2008-01-21 13:59:33 Zap/7-1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial Local/100 at sipP|10|tr 286 ANSWERED 00:12
incoming-zap
44. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial SIP/ipp100&SIP/ipp100.1 100 NO ANSWER 00:05
incoming-zap
45. 2008-01-21 13:49:39 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:05
46. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial SIP/ipp102&SIP/ipp102.1 102 NO ANSWER 00:05
incoming-zap
47. 2008-01-21 13:49:39 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:05
48. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX 04XXXXXXXX 100
NO ANSWER 00:05
49. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial SIP/ipp103&SIP/ipp103.1 103 NO ANSWER 00:05
incoming-zap
50. 2008-01-21 13:49:39 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:05
51. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX 04XXXXXXXX
102 NO ANSWER 00:05
52. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial SIP/ipp119&SIP/ipp119.1 119 NO ANSWER 00:05
incoming-zap
53. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial Local/119 at sipP|20|Ttr) 219 NO ANSWER 00:05
incoming-zap
54. 2008-01-21 13:49:39 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:05
55. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX 04XXXXXXXX 103
NO ANSWER 00:05
56. 2008-01-21 13:49:39 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:05
57. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX 04XXXXXXXX 119
NO ANSWER 00:05
58. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX 04XXXXXXXX 119
NO ANSWER 00:05
59. 2008-01-21 13:49:39 Local/1... Dial SIP/ipp111&SIP/ipp111.1
111 FAILED 00:00
60. 2008-01-21 13:49:39 Local/1... 04XXXXXXXX 04XXXXXXXX 111
NO ANSWER 00:00
61. 2008-01-21 13:49:20 Zap/6-1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial Local/100 at sipP&Local/102 at si 0 ANSWERED 00:24
incoming-zap
62. 2008-01-21 13:48:38 Local/1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial SIP/ipp100&SIP/ipp100.1 100 NO ANSWER 00:10
incoming-zap
63. 2008-01-21 13:48:38 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:10
64. 2008-01-21 13:48:38 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:10
65. 2008-01-21 13:48:38 Local/1... 04XXXXXXXX 04XXXXXXXX 100
NO ANSWER 00:10
66. 2008-01-21 13:48:37 Zap/5-1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial Local/100 at sipP|10|tr 286 ANSWERED 00:11
incoming-zap
67. 2008-01-21 13:48:14 Local/1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial SIP/ipp100&SIP/ipp100.1 100 NO ANSWER 00:09
incoming-zap
68. 2008-01-21 13:48:14 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:09
69. 2008-01-21 13:48:14 SIP/ipp... 04XXXXXXXX 04XXXXXXXX s
NO ANSWER 00:09
70. 2008-01-21 13:48:14 Local/1... 04XXXXXXXX 04XXXXXXXX 100
NO ANSWER 00:09
71. 2008-01-21 13:48:11 Zap/4-1... 04XXXXXXXX "MOB. 04XXXXXXXX"
<04XXXXXXXX> Dial Local/100 at sipP|20|Ttr) 200 ANSWERED 00:12
incoming-zap
More information about the asterisk-users
mailing list