doyke / p2p-sip

Automatically exported from code.google.com/p/p2p-sip
0 stars 0 forks source link

Problem handling SIP-CANCEL on voip.py #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

The application is no able to deliver de 'close' event when receiving a 
SIP-CANCEL request, the problem is caused by the following line (voip.py:593):

elif self._queue and ua.request.method == 'INVITE': # only INVITE is allowed to 
be cancelled.

self._queue is not being wompared with None

Tha attached patch fixed the issue

Regards

Juan

Original issue reported on code.google.com by juananto...@gmail.com on 15 Mar 2012 at 10:14

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you. Applied.

Original comment by kundan10 on 20 Mar 2012 at 1:06