[Asterisk-bsd] DTMF tones upon FXS pickup
Michael Iedema
michael at askozia.com
Thu Nov 22 10:01:19 CST 2007
Hey everyone,
I'm hearing several DTMF tones each time I answer an analog phone
attached to my Asterisk install. After these tones are played, the
call is connected. I'm running 1.4.13 on FreeBSD 6.2 and zaptel 1.4
trunk.
The verbose=100 log of when this happens:
- Starting simple switch on 'Zap/4-1'
- Executing [s at T-Com-incoming:1] NoOp("Zap/4-1", "") in new stack
- Executing [s at T-Com-incoming:2] Ringing("Zap/4-1", "") in new stack
- Executing [s at T-Com-incoming:3] Wait("Zap/4-1", "1") in new stack
- Executing [s at T-Com-incoming:4] Set("Zap/4-1",
"SENDNOTIFICATIONS="michael at askozia.com"") in new stack
- Executing [s at T-Com-incoming:5] Macro("Zap/4-1",
"vm|ZAP/3/211|211|05331901858|to") in new stack
- Executing [s at macro-vm:1] Dial("Zap/4-1", "ZAP/3/211|20|to") in new stack
chan_zap.c:1840 in zt_call: Unable to reset default ring on 'Zap/3-1'
- Called 3/211
- Zap/3-1 is ringing
- Zap/3-1 is ringing
- Zap/3-1 answered Zap/4-1
- parse_srv: SRV mapped to host fwd.pulver.com, port 5060
- Hungup 'Zap/3-1'
= Spawn extension (macro-vm, s, 1) exited non-zero on 'Zap/4-1' in macro 'vm'
= Spawn extension (macro-vm, s, 1) exited non-zero on 'Zap/4-1'
- Executing [h at macro-vm:1] GosubIf("Zap/4-1", "1?reallyhungup") in new stack
- Executing [h at macro-vm:4] Set("Zap/4-1", "MISSEDCAUSE=hungup") in new stack
- Executing [h at macro-vm:5] Return("Zap/4-1", "") in new stack
- Executing [h at macro-vm:2] GosubIf("Zap/4-1", "1?notify") in new stack
- Executing [h at macro-vm:6] Macro("Zap/4-1", "email") in new stack
The only "error" message in here is "Unable to reset default ring
on...". That piece of chan_zap is pasted below as well as the
appropriate bits of zapata.conf and zaptel.conf. Has anyone seen this
behavior before? I googled but wasn't too successful.
Any help is greatly appreciated.
-Michael
chan_zap.c:1833
/* Choose proper cadence */
if ((p->distinctivering > 0) && (p->distinctivering <= num_cadence)) {
if (ioctl(p->subs[SUB_REAL].zfd, ZT_SETCADENCE,
&cadences[p->distinctivering - 1]))
ast_log(LOG_WARNING, "Unable to set distinctive ring cadence %d on
'%s'\n", p->distinctivering, ast->name);
p->cidrings = cidrings[p->distinctivering - 1];
} else {
if (ioctl(p->subs[SUB_REAL].zfd, ZT_SETCADENCE, NULL))
ast_log(LOG_WARNING, "Unable to reset default ring on '%s'\n", ast->name);
p->cidrings = p->sendcalleridafter;
}
callerid="DECTy" <211>
signalling=fxo_ks
echocancel=32
echocancelwhenbridged=no
busydetect=yes
busycount=3
language=en-gb
context=ANALOG-PHONE-211
channel => 3
fxsks=4
fxoks=3
loadzone=nl
loadzone=us
defaultzone=nl
More information about the Asterisk-BSD
mailing list