diff -u -r1.677 chan_sip.c --- chan_sip.c 17 Mar 2005 23:03:07 -0000 1.677 +++ chan_sip.c 19 Mar 2005 18:57:56 -0000 @@ -696,7 +696,7 @@ int i, res = 0; for (i=1; i< SIP_MAX_METHODS && !res; i++) { - if (!strcasecmp(sip_methods[i].text, msg)) + if (!strcmp(sip_methods[i].text, msg)) res = sip_methods[i].id; } return res; @@ -3816,7 +3818,7 @@ return -1; } - if ( !strcasecmp(cmd, "SIP/2.0") ) { + if ( !strcmp(cmd, "SIP/2.0") ) { /* We have a response */ req->rlPart2 = e; len = strlen( req->rlPart2 ); @@ -7519,7 +7520,7 @@ if (peer->pokeexpire > -1) ast_sched_del(sched, peer->pokeexpire); - if (!strcasecmp(msg, "INVITE")) + if (!strcmp(msg, "INVITE")) transmit_request(p, SIP_ACK, seqno, 0, 0); ast_set_flag(p, SIP_NEEDDESTROY); /* Try again eventually */ @@ -8581,7 +8582,7 @@ /* Find out SIP method for incoming request */ - if (!strcasecmp(cmd, "SIP/2.0")) { /* Response to our request */ + if (!strcmp(cmd, "SIP/2.0")) { /* Response to our request */ p->method = SIP_RESPONSE; /* Response to our request -- Do some sanity checks */ if (!p->initreq.headers) { @@ -8624,7 +8625,7 @@ if (p->icseq && (p->icseq > seqno)) { ast_log(LOG_DEBUG, "Ignoring too old SIP packet packet %d (expecting >= %d)\n", seqno, p->icseq); return -1; - } else if (p->icseq && (p->icseq == seqno) && (strcasecmp(cmd, "CANCEL") || ast_test_flag(p, SIP_ALREADYGONE))) { + } else if (p->icseq && (p->icseq == seqno) && (strcmp(cmd, "CANCEL") || ast_test_flag(p, SIP_ALREADYGONE))) { /* ignore means "don't do anything with it" but still have to respond appropriately. We do this if we receive a repeat of the last sequence number */