Hello list,<br>
<br>
I just came into a strange problem wth astcc. the trouble is astcc.agi
does not bill some calls. The calls are logged in the
cdr-csv/Master.csv file, but with a duration of 0, billsec of 0, an
empty dstchannel, and with a lastapp field of &quot;hangup&quot;. I suppose that
astcc.agi was not able to get the answeredime variable from the SIP
channel... <br>
<br>
I have added a few functions to the astcc default script, in order to
support different categories of users (functions to get the user type,
get the routes and trunks tables for the user category before
trytrunk), as well as some 'print SDTERR' statements, in order to trace
any problems during execution. Could this be the problem, I noticed
that there were reports on the list that get_variable has issues with
extensive $agi-&gt;verbose callings. I had a problem with get_variable
not catching answeredtime once before, and solved these by adding an
additional agi-&gt;get_variable statement just underneath the first one.<br>
<br>
Here's how the calls is logged in the csv file:<br>
&quot;&quot;,&quot;38607612&quot;,&quot;0016318674103&quot;,&quot;from-sip&quot;,&quot;&quot;&quot;38607612&quot;&quot;
&lt;38607612&gt;&quot;,&quot;SIP/sip.mytel.net-0816afc8&quot;,&quot;&quot;,&quot;Hangup&quot;,&quot;&quot;,&quot;2005-10-17
18:00:16&quot;,&quot;2005-10-17 18:00:16&quot;,&quot;2005-10-17
18:00:16&quot;,0,0,&quot;ANSWERED&quot;,&quot;DOCUMENTATION&quot;<br>
<br>
<br>
The strangest thing is that this appears to happen at random times, so
I can't just sit down and watch it through. I would appreciate any
ideas, cheers...<br>
<br clear="all">maka<br><br>
<br>
<br>
-- <br>I'm sick and tired of being sick and tired...