[Asterisk-bsd] DTMF tones upon FXS pickup
Michael Iedema
michael at askozia.com
Wed Feb 6 04:47:59 CST 2008
On 2/6/08, David G Lawrence <dg228 at dglawrence.com> wrote:
> > On 11/28/07, Michael Iedema <michael at askozia.com> wrote:
> > > On 11/22/07, Michael Iedema <michael at askozia.com> wrote:
> > > > 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.
> > > >
> > >
> > > After some more listening, these tones are the phone's extension
> > > number defined in Asterisk.
> > >
> > > Anyone else experiencing this?
> > >
> >
> >
> > This problem persists with:
> > - FreeBSD 6.2-p10
> > - Asterisk 1.4.17
> > - Zaptel 1.4 revision 169
> >
> > I really want to track this down but am having trouble understanding
> > chan_zap.c's caller-id spill and cadence code.
> >
> > Any feedback at all on this would be great,
> > -Michael
>
> What you're describing is analog DID. You likely have a configuration
> error.
>
Thanks for the response, it's the only one I've ever received regarding this.
I did some googling for others experiencing this problem but came up
empty. If someone has time, could they peek at the included
configuration files? If anything else is needed for debugging I'll
gladly provide it. I'm sick of getting beeped at when I answer my
phone!
Regards,
-Michael
zaptel.conf
---------------
fxsks=4
fxoks=2,3
loadzone=us
defaultzone=us
zapata.conf
----------------
[trunkgroups]
[channels]
callerid="Analog 1" <1111>
signalling=fxo_ks
echocancel=256
echocancelwhenbridged=no
busydetect=yes
busycount=3
language=en
context=ANALOG-PHONE-83201952447a8391f2c970
channel => 2
extensions.conf (only appropriate sections)
---------------------
[internal]
; internal phone : Analog 1 - <1111>
exten => 1111,1,NoOp()
exten => 1111,n,Set(SENDNOTIFICATIONS="no")
exten => 1111,n,Macro(vm|ZAP/2/1111|1111|1111|tTo)
[macro-vm];
exten => s,1,Dial(${ARG1},20,${ARG4})
exten => s,n,NoOp(${DIALSTATUS})
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Wait(1)
exten => s-NOANSWER,n,Set(MISSEDCAUSE=no-answer)
exten => s-NOANSWER,n,VoiceMail(${ARG2},u,${ARG3})
exten => s-NOANSWER,n,Goto(exit-${VMSTATUS},1)
exten => s-BUSY,1,Wait(1)
exten => s-BUSY,n,Set(MISSEDCAUSE=busy)
exten => s-BUSY,n,VoiceMail(${ARG2},b,${ARG3})
exten => s-BUSY,n,Goto(exit-${VMSTATUS},1)
exten => s-ANSWER,1,Set(MISSEDCAUSE=didntmiss)
exten => s-ANSWER,n,Hangup()
exten => _s-.,1,Goto(s-NOANSWER,1)
exten => h,1,NoOp(${MISSEDCAUSE})
exten => h,n,GosubIf($["${MISSEDCAUSE}" = ""]?reallyhungup)
exten => h,n,GosubIf($["${SENDNOTIFICATIONS}" != "no"]?notify)
exten => h,n,Hangup()
exten => h,n(reallyhungup),Set(MISSEDCAUSE=hungup)
exten => h,n,Return()
exten => h,n(notify),Macro(email)
exten => h,n,Return()
exten => exit-FAILED,1,Answer()
exten => exit-FAILED,n,Wait(1)
exten => exit-FAILED,n,Playback(vm-theperson)
exten => exit-FAILED,n,SayDigits(${ARG3})
exten => exit-FAILED,n,Playback(vm-isunavail)
exten => exit-FAILED,n,GosubIf($["${SENDNOTIFICATIONS}" != "no"]?notify)
exten => exit-FAILED,n,Hangup()
exten => exit-FAILED,n(notify),Macro(email)
exten => exit-FAILED,n,Return()
exten => exit-SUCCESS,1,Playback(vm-goodbye)
exten => exit-SUCCESS,n,GosubIf($["${SENDNOTIFICATIONS}" != "no"]?notify)
exten => exit-SUCCESS,n,Hangup()
exten => exit-SUCCESS,n(notify),Macro(email)
exten => exit-SUCCESS,n,Return()
exten => exit-USEREXIT,1,Playback(vm-goodbye)
exten => exit-USEREXIT,n,GosubIf($["${SENDNOTIFICATIONS}" != "no"]?notify)
exten => exit-USEREXIT,n,Hangup()
exten => exit-USEREXIT,n(notify),Macro(email)
exten => exit-USEREXIT,n,Return()
More information about the Asterisk-BSD
mailing list