<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Duane Larson wrote:<br><blockquote type="cite">I have been playing with CDRTool for a while but I am not sure if it is<br>possible to rate Origination (Inbound) calls differently than Termination<br>(Outbound) calls from my SIP Provider. For Origination I pay 0.0035 and<br>for Termination I pay 0.005. Keep in mind these costs are for destination<br>"1”.<br></blockquote><br>I've recently run into nearly the same situation.<br><br><div>I tried overloading the Sip-Application-Type field, but it's limited</div><div>by the supportedApplicationTypes array in cdr_generic.php. There also</div><div>seems to be hard coded logic for the different application types.</div><div><br></div>I think I will patch CDRTool so that you can have subtypes of<br>application types (audio.inbound, audio.outbound, etc.). This would<br>allow the billing rates to be a bit more specific for these<br>situations.<br><br>Thoughts?<br>-- <br>David M. Lee<br>Digium, Inc. | Software Developer<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>Check us out at: <a href="http://www.digium.com">www.digium.com</a> & <a href="http://www.asterisk.org">www.asterisk.org</a></body></html>