• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Asterisk-bsd] DTMF tones upon FXS pickup

 
   AsteriskGuru Archives Forum Index -> Asterisk-BSD
View previous topic :: View next topic  
Author Message
michael at askozia.com
Guest





PostPosted: Tue Feb 05, 2008 2:32 pm    Post subject: [Asterisk-bsd] DTMF tones upon FXS pickup

On 11/28/07, Michael Iedema <michael@askozia.com> wrote:
Quote:
On 11/22/07, Michael Iedema <michael@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

_______________________________________________
--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
Back to top
dg228 at dglawrence.com
Guest





PostPosted: Wed Feb 06, 2008 12:19 am    Post subject: [Asterisk-bsd] DTMF tones upon FXS pickup

Quote:
On 11/28/07, Michael Iedema <michael@askozia.com> wrote:
> On 11/22/07, Michael Iedema <michael@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.

-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.

_______________________________________________
--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
Back to top
michael at askozia.com
Guest





PostPosted: Wed Feb 06, 2008 10:54 am    Post subject: [Asterisk-bsd] DTMF tones upon FXS pickup

On 2/6/08, David G Lawrence <dg228@dglawrence.com> wrote:
Quote:
> On 11/28/07, Michael Iedema <michael@askozia.com> wrote:
> > On 11/22/07, Michael Iedema <michael@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()

_______________________________________________
--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
Back to top
dg228 at dglawrence.com
Guest





PostPosted: Wed Feb 06, 2008 12:08 pm    Post subject: [Asterisk-bsd] DTMF tones upon FXS pickup

Quote:
> 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.

Quote:
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.



Quote:
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.

_______________________________________________
--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
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-BSD All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™