Fix teeny typo
authorMark Spencer <markster@digium.com>
Wed, 1 Sep 2004 02:28:38 +0000 (02:28 +0000)
committerMark Spencer <markster@digium.com>
Wed, 1 Sep 2004 02:28:38 +0000 (02:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3702 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index cfe58df..ac0c268 100755 (executable)
@@ -4775,7 +4775,7 @@ static void *ss_thread(void *data)
                                tone_zone_play_tone(p->subs[index].zfd, -1);
                        else
                                tone_zone_play_tone(p->subs[index].zfd, ZT_TONE_DIALTONE);
-                       if (ast_exists_extension(chan, chan->context, exten, 1, p->callerid) && strcmp(chan->exten, ast_parking_ext())) {
+                       if (ast_exists_extension(chan, chan->context, exten, 1, p->callerid) && strcmp(exten, ast_parking_ext())) {
                                if (!res || !ast_matchmore_extension(chan, chan->context, exten, 1, p->callerid)) {
                                        if (getforward) {
                                                /* Record this as the forwarding extension */