RE: [Asterisk-Users] Ringing() doesn't play sound while phone is ringing

2004-08-11 Thread Warren Burstein
That did it.  I thought Ringing() did that, but I guess it's just for when
you want to fake a ringing tone.  I'll add a comment to
http://www.voip-info.org/wiki-Asterisk+cmd+Ringing.

thanks

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bart Coppens
Sent: Wednesday, August 11, 2004 5:28 PM
To: [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] Ringing() doesn't play sound while phone is
ringing

try
exten => 101,2,Dial(Zap/1,10,r)

instead of
exten => 101,2,Dial(Zap/1,10)

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Ringing() doesn't play sound while phone is ringing

2004-08-11 Thread Bart Coppens
try
exten => 101,2,Dial(Zap/1,10,r)
in stead of
exten => 101,2,Dial(Zap/1,10)
BC



From: "Warren Burstein" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: [Asterisk-Users] Ringing() doesn't play sound while phone is 
ringing
Date: Wed, 11 Aug 2004 15:22:45 +0400

I have:
RedHat 9.0
TDM40B
asterisk-0.9.0 compiled from sources
zaptel-0.9.1 likewise

/etc/zaptel.conf contains
fxoks=1-4
loadzone = us
defaultzone=us

loaded modules zaptel and wcfxs

/etc/askterisk/zapata.conf contains
[channels]
language = en
signalling = fxo_ks
context = phones
channel => 1-4

/etc/askterisk/extensions.conf contains
[general]
static=yes
writeprotect=yes
[phones]
exten => 101,1,Ringing()
exten => 101,2,Dial(Zap/1,10)
exten => 101,3,Congestion

I also uncommented the "noload => chan_oss.so" in 
/etc/asterisk/modules.conf
because I don't have a sound card.  Other than that, all conf files are the
originals from "make samples".


But when I dial 101 from Zap/2, Zap/1 rings (and if I pick it up, I can 
have
a conversation with myself), but I don't hear a ringing tone out of Zap/2.
I commented out the Dial and Congestion, and then I heard a two ringing
tones, a click, and a congestion tone, while the console said:


pbx.c:1836 ast_pbx_run: Timeout, but no rule 't' in context 'phones'

I'm guessing that Dial stops Ringing.  How do I tell Ringing to continue
while Dial is working, and if it isn't stopped by Dial, not to time out
after two rings?

"show application ringing" doesn't describe any parameters to Ringing() .

Thanks.
_
Make your own website http://webbuilder.msn.be
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Ringing() doesn't play sound while phone is ringing

2004-08-11 Thread Warren Burstein








I
have:

    RedHat 9.0

    TDM40B

    asterisk-0.9.0 compiled from sources

    zaptel-0.9.1 likewise

 

/etc/zaptel.conf contains

fxoks=1-4

loadzone = us

defaultzone=us

 

loaded
modules zaptel and wcfxs

 

/etc/askterisk/zapata.conf
contains

[channels]

language
= en

signalling
= fxo_ks

context
= phones

channel
=> 1-4

 

/etc/askterisk/extensions.conf
contains

[general]

static=yes

writeprotect=yes

[phones]

exten
=> 101,1,Ringing()

exten
=> 101,2,Dial(Zap/1,10)

exten
=> 101,3,Congestion

 

I
also uncommented the “noload => chan_oss.so” in /etc/asterisk/modules.conf
because I don’t have a sound card.  Other than that, all conf files
are the originals from “make samples”.

 

But
when I dial 101 from Zap/2, Zap/1 rings (and if I pick it up, I can have a
conversation with myself), but I don’t hear a ringing tone out of Zap/2.  I
commented out the Dial and Congestion, and then I heard a two ringing tones, a
click, and a congestion tone, while the console said:

 

pbx.c:1836
ast_pbx_run: Timeout, but no rule 't' in context 'phones' 

 

I’m
guessing that Dial stops Ringing.  How do I tell Ringing to continue while
Dial is working, and if it isn’t stopped by Dial, not to time out after
two rings?

 

“show
application ringing” doesn’t describe any parameters to Ringing() …

 

Thanks.