Hi,<br><br>This error is obviously raised when the issued command is failed to execute at Asterisk end. However there could be variety of reasons for failure, one common cause is call is hungup on which the command is issued.<br>
<br>By looking at the error it occurs that you might be trying to play some audio file on the call. So check if the file really exists and is in the format specified by Asterisk 8000Hz mono 16-bit . Looking at the Asterisk console while this occurs will also give you useful cues. <br>
<br>As Paul mentioned this is really a starpy and Asterisk question, so posting queries like this on starpy mailing list will get better insights. <br><br>-- <br>Thanks &amp; Regards,<br>Godson Gera<br><a href="http://blog.godson.in/2008/10/starpy-100a13-released-asterisk.html">Starpy</a><br>
<br><div class="gmail_quote">On Thu, Aug 26, 2010 at 2:13 PM, shwetanka srivastava <span dir="ltr">&lt;<a href="mailto:shwetanka@gmail.com">shwetanka@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<div><br></div><div>I&#39;m using twisted api with starpy to make a conference call. After a successful call this error is logged in my log file</div><div><br></div><div><div>ERROR:twsited:Unhandled error in Deferred:</div>

<div>ERROR:twsited:Unhandled Error</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.6/dist-packages/twisted/protocols/basic.py&quot;, line 148, in dataReceived</div><div>    self.lineReceived(line)</div>

<div>  File &quot;/usr/local/lib/python2.6/dist-packages/starpy/fastagi.py&quot;, line 120, in lineReceived</div><div>    df.callback( line )</div><div>  File &quot;/usr/lib/python2.6/dist-packages/twisted/internet/defer.py&quot;, line 243, in callback</div>

<div>    self._startRunCallbacks(result)</div><div>  File &quot;/usr/lib/python2.6/dist-packages/twisted/internet/defer.py&quot;, line 312, in _startRunCallbacks</div><div>    self._runCallbacks()</div><div>--- &lt;exception caught here&gt; ---</div>

<div>  File &quot;/usr/lib/python2.6/dist-packages/twisted/internet/defer.py&quot;, line 328, in _runCallbacks</div><div>    self.result = callback(self.result, *args, **kw)</div><div>  File &quot;/usr/local/lib/python2.6/dist-packages/starpy/fastagi.py&quot;, line 145, in checkFailure</div>

<div>    raise error.AGICommandFailure( FAILURE_CODE, result )</div><div>starpy.error.AGICommandFailure: (-1, &#39;-1 endpos=97440&#39;)</div><div><br></div>Calls are perfectly ok. I tried to google about the error and found out if I don&#39;t provide an errback() to a deferred object then this happens.</div>

<div>How do i find which deferred object is posing this problem and also whether it affects the program execution because my program is working absolutely fine.<br>-- <br>Regards<div>Shwetanka</div><br>
</div>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br><br clear="all"><br>