plivo / plivoframework

Open Source Telephony Application Prototyping Framework
http://www.plivo.com/open-source/
Other
418 stars 179 forks source link

Logging error on hangup #4

Closed mattwilliamson closed 13 years ago

mattwilliamson commented 13 years ago

I think this is during GetDigits and the call is hung up (this is low priority)

011-05-31 15:52:01,224 outboundserver[4055]: ERROR: (11) Processing Call Failure !
2011-05-31 15:52:01,225 outboundserver[4055]: ERROR: (11) not all arguments converted during string formatting
2011-05-31 15:52:01,225 outboundserver[4055]: ERROR: (11) Traceback (most recent call last):
2011-05-31 15:52:01,226 outboundserver[4055]: ERROR: (11)   File "/Library/Python/2.6/site-packages/plivo-0.1.0-py2.6.egg/plivo/rest/freeswitch/outboundsocket.py", line 303, in run
2011-05-31 15:52:01,226 outboundserver[4055]: ERROR: (11)     self.process_call()
2011-05-31 15:52:01,226 outboundserver[4055]: ERROR: (11)   File "/Library/Python/2.6/site-packages/plivo-0.1.0-py2.6.egg/plivo/rest/freeswitch/outboundsocket.py", line 331, in process_call
2011-05-31 15:52:01,227 outboundserver[4055]: ERROR: (11)     self.execute_xml()
2011-05-31 15:52:01,229 outboundserver[4055]: ERROR: (11)   File "/Library/Python/2.6/site-packages/plivo-0.1.0-py2.6.egg/plivo/rest/freeswitch/outboundsocket.py", line 466, in execute_xml
2011-05-31 15:52:01,229 outboundserver[4055]: ERROR: (11)     element_instance.run(self)
2011-05-31 15:52:01,230 outboundserver[4055]: ERROR: (11)   File "/Library/Python/2.6/site-packages/plivo-0.1.0-py2.6.egg/plivo/rest/freeswitch/elements.py", line 119, in run
2011-05-31 15:52:01,230 outboundserver[4055]: ERROR: (11)     result = execute(outbound_socket)
2011-05-31 15:52:01,230 outboundserver[4055]: ERROR: (11)   File "/Library/Python/2.6/site-packages/plivo-0.1.0-py2.6.egg/plivo/rest/freeswitch/elements.py", line 722, in execute
2011-05-31 15:52:01,230 outboundserver[4055]: ERROR: (11)     outbound_socket.log.info("GetDigits, No Digits Pressed" % str(digits))
2011-05-31 15:52:01,231 outboundserver[4055]: ERROR: (11) TypeError: not all arguments converted during string formatting
bevenky commented 13 years ago

This has been fixed. Check it, and let us know.

mattwilliamson commented 13 years ago

Yep, looks good