<Cdrs> WARNING: Could not find CallCostLog for cgrid... - 0.9.1~rc8

145 views
Skip to first unread message

Iwada

unread,
Nov 16, 2015, 6:24:51 PM11/16/15
to CGRateS
Hi DanB, 

My Apologies for over flogging this issue, Missed some parts of your recommendations on IRC the other day on this issue.

Still getting "<Cdrs> WARNING: Could not find CallCostLog for cgrid: e7e61a663d97793debb76f6fa3b305ac8b74569f, source: SMR, runid: *default, will recalculate" ONLY for calls that are not answered(having duration <=0)

However,For Answered calls, I don't notice that warning.Works as expected. 

sm_freeswitch accesses CDRS directly. 

Snippets of relevant portions of  my cgrates.json

"rater": {
        "enabled": true,                                                 
},

"cdrs": {
        "enabled": true,                                                
        "rater": "internal",                                                                    
},

"sm_freeswitch": {
        "enabled": true,                                
        "rater": "internal",                   
        "cdrs": "internal",                            
       
        
},

Any help would be highly appreciated. 

Thank you

DanB

unread,
Nov 17, 2015, 4:00:21 AM11/17/15
to cgr...@googlegroups.com
Hi Iwada,

Please open an issue on our github regarding this since it requires fixing.

Ta,
DanB
--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/43304fce-553e-4a93-9a72-6c733077e88d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

acheraime

unread,
Mar 2, 2016, 10:59:36 AM3/2/16
to CGRateS
Lwada/ Dan,

Did you guys found a solution for this issue? I have the same problem and cannot figure out a solution. I've reviewed all my configs and they're good.
Any hint would be greatly appreciated.

Thanks,
Acheraime

Iwada Eja

unread,
Mar 2, 2016, 11:23:55 AM3/2/16
to cgr...@googlegroups.com
Hi Acheraime, 

Dan did fix this issue - https://github.com/cgrates/cgrates/issues/290. and i havent witnessed it since then

You Sure it ain't a Configuration issue on your Side?

--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Kind Regards
Iwada

acheraime

unread,
Mar 2, 2016, 11:43:51 AM3/2/16
to CGRateS
Iwada,

Thanks for your quick reply. I've used the same package provided and my configuration is similar to yours.


On Monday, November 16, 2015 at 6:24:51 PM UTC-5, Iwada wrote:

marcvoipc...@gmail.com

unread,
Mar 2, 2016, 6:45:29 PM3/2/16
to CGRateS
HI guys,
 I'm having the same issue : latest cgrates master branch , latest go (1.6) and very simple config.

In my setup I have split the installation:  Session Manager and Freeswitch  on box 1,  Cgrates engine + Redis on box 2,   storDB on a separate box


In my system I see following issues:
 cgrates main server saves into the logs:
    "CGRateS[29969]: <Cdrs> WARNING: Could not find CallCostLog for cgrid: 565504795bc4e8e70a553be897a4b9688907b9b2, source: SMR, runid: *default, will recalculate"


 Session Manager gives me these error messages:
   1. after first call (after restart):
     CGRateS[30617]: <SM> ERROR failed to log call cost: unexpected EOF
       when doing tcpdump I see (480 Bad Request response from CGR main server (port 2080)
       this is applicable only for the first call after cgrates service reload

   2. for each and every call after that:
     CGRateS[1789]: <SM> ERROR failed to log call cost: connection is shut down
    

My CDRs are saved properly, I see the main server saves CDRs to StorDB after receiving POST on freeswitch_json 

DanB

unread,
Mar 3, 2016, 12:40:28 PM3/3/16
to cgr...@googlegroups.com
Hi Marc,

Any chance you can capture the request which is recognized as "Bad Request" by CGR? It should be a CDR with weird format, I have the feeling it is FreeSWITCH not formatting properly the JSON body in this case since we got this issue only in last months.

DanB
--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages