--- channels/chan_sip.c 2011-12-13 14:14:40.000000000 +0100 +++ channels/chan_sip.patch 2011-12-13 14:13:02.000000000 +0100 @@ -20397,7 +20397,7 @@ return; } - if (p->relatedpeer && p->method == SIP_OPTIONS) { + if (p->relatedpeer && sipmethod == SIP_OPTIONS) { /* We don't really care what the response is, just that it replied back. Well, as long as it's not a 100 response... since we might need to hang around for something more "definitive" */