<div dir="ltr">If you are going to make a patch I might be interested in testing it as long as AG-Projects are ok with adding it into future version.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 22, 2014 at 12:58 PM, David Lee (digium) <span dir="ltr"><<a href="mailto:dlee@digium.com" target="_blank">dlee@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im">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><div class="im"><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" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></div>
</div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--
</div>