[asterisk-users] Cdr error? Help!

Miguel Molina mmolina at millenium.com.co
Fri Aug 14 11:39:20 CDT 2009


Dpto. de Sistemas escribió:
> The error is here,
>
> Q-aereos","1147739512","9536","outbound","1147739512","DAHDI/ 
> 30-1","SIP/9536-137a4cc0","Dial","SIP/9536|60|t","2009-08-13 
> 13:41:03","2009-08-13 13:41:06","2009-08-13 13:44:01",
>  178,175,"ANSWERED","DOCUMENTATION","1250170815.1512",""
>
> 9536 is extension and 1147739512 is dst,
> Why "SOMETIMES" cdr put the dst  number in the src field ??
> Q-aereos.cvs is outgoing calls file.
>
> best, regards!
>
>   
<snip>
>> Last three threads not enough?
>>
>> Steve
Just in case that you didn't understand what Steve told you, everyone 
tried to explain that you are having INCOMING CALLS through your 
asterisk box along with the outgoing calls that you are making. You 
can't just say that the CSV file is outgoing only. Asterisk won't split 
incoming and outgoing CDRs in separate files, this is just one big CDR 
file that saves ALL of the records of all that happens inside tour 
asterisk box. That way, if you are seeing a record like this, definitely 
is an INCOMING CALL if this is happening:

1. Your DAHDI group of channels definition is pointing to the [outbound] 
context. That allows incoming calls to enter to your box looking for the 
extensions or patterns defined there. That is, this context setting 
applies to incoming calls, not outgoing ones.
2. Your telco is sending you 4 digits as the DNID, that in a coincidence 
matched the 9536 extension of the outgoing context. That is, someone 
called to your PRI number ending in XXX3596 for example.

So PLEASE check again and again, doing calls by yourself to the 
"outgoing" PRI number and check with all the configurations inside 
asterisk to ensure that no INCOMING CALLS are allowed. That way you 
won't see another record like that. Configuring the context of the DAHDI 
group of channels to a non-existant one would do the trick.

And PLEASE do not make more threads of this, is you are not satisfied 
with the answers because of your lack of understanding, at least reply 
on the same thread, giving more details about your setup and making an 
effort to understand what people is trying to explain.

-- 
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center 




More information about the asterisk-users mailing list