What is causing WARNING[13925]: pbx.c:992 pbx_find_extension

Running 1.4 on CentOS 4.4

I have 3 TDM400’s. The first had 4FXS cards (not in use) and 2 and 3 have 4 FXO’s each, all in use for inbound and outbound calls.

The system seems to work OK, but I keep seeing this error…

WARNING[13925]: pbx.c:992 pbx_find_extension: No such switch ‘Zap’

The only place I have Zap in my configs is in extensions.ael…

extensions.ael: OUTBOUNDTRUNK=Zap/g1;
extensions.ael: Zap/5;
extensions.ael: Zap/6;
extensions.ael: Zap/7;
extensions.ael: Zap/8;
extensions.ael: Zap/9;
extensions.ael: Zap/10;
extensions.ael: Zap/11;
extensions.ael: Zap/12;

my zapata.conf looks like this…

zapata.conf
[trunkgroups]

[channels]
usecallerid=yes
callerid=asreceived
useincomingcalleridonzaptransfer=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
immediate=no

; define channels

context=incoming
signalling=fxs_ks
echocancel=yes
group=1
channel=5-12

context=internal
signalling=fxo_ks
group=2
channel=1-4

Any clues? I hate seeing error messages.

Thanks,
Zeke

show us a fragment of extensions.ael with “Zap” used (full context)

This is from the top of extensions.ael. I was seeing this in the examples but it never had an explanation of why it needs to be there…

context incoming {
// Switches are listed here. I don’k know why.
switches {
ZAP/5;
ZAP/6;
ZAP/7;
ZAP/8;
ZAP/9;
ZAP/10;
ZAP/11;
ZAP/12;
};

I also have a few ZAP phones…

_641 => &std-exten(${EXTEN},ZAP/g2,20);

with

macro std-exten(ext,dev,time) {
// Dial the user
Dial(${dev}/${ext}|${time});
switch(${DIALSTATUS}) {
// If busy, go to busy voicemail
case BUSY:
VoiceMail(${ext}|b);
break;
// otherwise go to unavailable voicemail
default:
VoiceMail(${ext}|u);
break;
};
// catch all go to unavailable voicemail
catch a {
VoiceMail(${ext}|u);
return;
};
// after that, hang up
hangup();
};