<br><br><div><span class="gmail_quote">On 10/19/05, <b class="gmail_sendername">Darren Wiebe</b> &lt;<a href="mailto:darren@aleph-com.net">darren@aleph-com.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your feedback.<br><br>maka wrote:<br><br>&gt; I'm using asterisk-1.0.6. The channel to dial is either SIP or IAX,<br>&gt; I've had one missed call in both cases.<br>&gt;<br>&gt; I commented out the $agi-&gt;verbose stuff in many places in the script,
<br>&gt; and I limited my own print STDERR statements. I haven't seen the isue<br>&gt; reappear since then, but I'm not sure whether excessive $agi-&gt;verbose<br>&gt; output is what caused it.<br><br>Ok, just wondered.<br>
<br>&gt;<br>&gt; I have also changed the way calls are billled in the calccost function<br>&gt; to use includedseconds, and the billing increment period after that. I<br>&gt; don't think this has anything to do with the problem anyway..
<br><br>Wasn't this fixed a while ago?&nbsp;&nbsp;I had a patch that I thought had been<br>accepted......</blockquote><div><br>
Absolutely, i just noticed it after i changed it myself..<br>
&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Darren Wiebe<br><a href="mailto:darren@aleph-com.net">darren@aleph-com.net</a><br>
<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 10/19/05, *Darren Wiebe* &lt;<a href="mailto:darren@aleph-com.net">darren@aleph-com.net</a><br>&gt; &lt;mailto:<a href="mailto:darren@aleph-com.net">darren@aleph-com.net</a>&gt;&gt; wrote:
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; What channel are you using to place the calls from ASTCC and what<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; version of asterisk are you using?&nbsp;&nbsp;The get_variable and set_variable<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; perl commands are not working in -HEAD due to stuff being deprecated.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Darren Wiebe<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:darren@aleph-com.net">darren@aleph-com.net</a> &lt;mailto:<a href="mailto:darren@aleph-com.net">darren@aleph-com.net</a>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; maka wrote:<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hello list,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I just came into a strange problem wth astcc. the trouble is<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; astcc.agi<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; does not bill some calls. The calls are logged in the
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; cdr-csv/Master.csv file, but with a duration of 0, billsec of 0, an<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; empty dstchannel, and with a lastapp field of &quot;hangup&quot;. I<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; suppose that<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; astcc.agi
 was not able to get the answeredime variable from the SIP<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; channel...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I have added a few functions to the astcc default script, in<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; order to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; support different categories of users (functions to get the user
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; type,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; get the routes and trunks tables for the user category before<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; trytrunk), as well as some 'print SDTERR' statements, in order to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; trace any problems during execution. Could this be the problem, I
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; noticed that there were reports on the list that get_variable has<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; issues with extensive $agi-&gt;verbose callings. I had a problem with<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; get_variable not catching answeredtime once before, and solved these
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; by adding an additional agi-&gt;get_variable statement just underneath<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; the first one.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Here's how the calls is logged in the csv file:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &quot;&quot;,&quot;38607612&quot;,&quot;0016318674103&quot;,&quot;from-sip&quot;,&quot;&quot;&quot;38607612&quot;&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &lt;38607612&gt;&quot;,&quot;SIP/sip.mytel.net-0816afc8&quot;,&quot;&quot;,&quot;Hangup&quot;,&quot;&quot;,&quot;2005-10-17<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 18:00:16&quot;,&quot;2005-10-17 18:00:16&quot;,&quot;2005-10-17
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 18:00:16&quot;,0,0,&quot;ANSWERED&quot;,&quot;DOCUMENTATION&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; The strangest thing is that this appears to happen at random<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; times, so<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I can't just sit down and watch it through. I would appreciate any<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ideas, cheers...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; maka<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; --
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I'm sick and tired of being sick and tired...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;------------------------------------------------------------------------<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;_______________________________________________
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://Easynews.com">http://Easynews.com</a>&gt; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;Asterisk-Users mailing list
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://Easynews.com">http://Easynews.com
</a>&gt; --<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Asterisk-Users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:Asterisk-Users@lists.digium.com">
Asterisk-Users@lists.digium.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; To UNSUBSCRIBE or update options visit:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; I'm sick and tired of being sick and tired...<br>&gt;<br>&gt;------------------------------------------------------------------------
<br>&gt;<br>&gt;_______________________________________________<br>&gt;--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt;<br>&gt;Asterisk-Users mailing list<br>&gt;<a href="mailto:Asterisk-Users@lists.digium.com">
Asterisk-Users@lists.digium.com</a><br>&gt;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp; 
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br><br>_______________________________________________<br>--Bandwidth and Colocation sponsored by 
<a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>I'm sick and tired of being sick and tired...