[Asterisk-bsd] DTMF tones upon FXS pickup

David G Lawrence dg228 at dglawrence.com
Wed Feb 6 05:59:43 CST 2008


> >    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 actually saved your email from last November and had intended to
follow up, but I got busy and forgot.
 
> 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!

   It looks like you chopped a bit too much from your config file excerpts.
For one thing, where is the "ANALOG-PHONE-83201952447a8391f2c970" context
in extensions.conf? In zaptel.conf, where is the assignment for channel 1?
...and where is the rest of zapata.conf - the parts that define the behavior
for channels 1, 3, and 4? If you don't want to post this publically, then
could you just email the full config files to me directly?
   I will also need more information on your setup - which physical port(s)
your phone(s) is/are connected to and which port(s) your CO line(s) is/are
connected to (and I don't mean for you to look at your config files to get
this - actually go and look at your card and trace the wires). The output
of dmesg would also be useful to see how the card is physically configured
for FXS/FXO.


 
> 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()
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-bsd

-DG

Dr. David G. Lawrence
President
Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500
The FreeBSD Project - http://www.freebsd.org
Pave the road of life with opportunities.



More information about the Asterisk-BSD mailing list