Re: [asterisk-users] wait pickup

2008-07-03 Thread Eric ManxPower Wieling
chan_iax2 does not support pickup (callpickup=, pickupgroup= and *8).

Enrico Pasqualotto wrote:
 Hi all, One question 
 I have set in the extensions.conf of my asterisk that all incoming call
 go in the wait application because I need to not connect the caller
 but remain in the ringing state.
 After that the call is on the wait exten for a N second I need from
 other sip phone to pickup this call.
 There is a way to pickup a call arrived from IAX to an exten wait(999)?
 
 I see that the problem is the channel state, my channel in wait is in
 LINE IS RING but the pickup appl search for channel in REMOTE
 RINGING.

-- 
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, 
T-1, PRI, Frame Relay, Linux, and network design.  Based near 
Birmingham, AL.  Now accepting clients worldwide.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] wait pickup

2008-07-03 Thread Enrico Pasqualotto
On Thu, 2008-07-03 at 09:31 -0500, Eric ManxPower Wieling wrote:
 chan_iax2 does not support pickup (callpickup=, pickupgroup= and *8).

Wow! It's a very nice problem
And for redirect a call in wait state to a sip phone? Without pickup ...
Channelredirect don't work with ringing channel for me.

Thanks Pasqu.




smime.p7s
Description: S/MIME cryptographic signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Wait for dialtone feature on FXO device

2008-04-09 Thread Steve Davies
On 08/04/2008, Steve Davies [EMAIL PROTECTED] wrote:

 http://bugs.digium.com/view.php?id=12382

  Patch has been attached. Currently only for asterisk 1.2.25, but if
  no-one else provides a 1.4.x patch soon, I will probably need to do
  that for myself anyway.


As a courtesy I have uploaded 1.4.19 and trunk versions of the patch.
They should apply cleanly, but I have not even been able to compile
test them as my 1.4 build environment is out of action right now.

Regards,
Steve

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait for dialtone feature on FXO device

2008-04-08 Thread Steve Davies
On 03/04/2008, Steve Davies [EMAIL PROTECTED] wrote:
 Anyone interested in this feature? I have a version 0.1 patch, which
  is currently against 1.2.25-bristuffed, but which should port
  trivially to almost any version. I am away until Tuesday 8th April,
  but if there is enough interest, I will open a new-feature ticket
  and upload the patch to the bugtracker so that more capable
  programmers can laugh at it ;-)

  It should work reasonably on North-American and UK systems, which seem
  to use the same dialtone frequencies.


http://bugs.digium.com/view.php?id=12382

Patch has been attached. Currently only for asterisk 1.2.25, but if
no-one else provides a 1.4.x patch soon, I will probably need to do
that for myself anyway.

Regards,
Steve

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait for dialtone feature on FXO device

2008-04-03 Thread John Novack
WOW! Is this LONG overdue.
Why this wasn't done initially is beyond me
It has caused so many troubles and questions and posts from folks who 
expected Asterisk to at least have a feature that has been in a dial up 
modem for 10+ years.

Great job!
Many thanks

John  Novack


Steve Davies wrote:
 Anyone interested in this feature? I have a version 0.1 patch, which
 is currently against 1.2.25-bristuffed, but which should port
 trivially to almost any version. I am away until Tuesday 8th April,
 but if there is enough interest, I will open a new-feature ticket
 and upload the patch to the bugtracker so that more capable
 programmers can laugh at it ;-)

 It should work reasonably on North-American and UK systems, which seem
 to use the same dialtone frequencies.

 Shout if interested.
 Steve

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

   

-- 
Dog is my co-pilot


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait for dialtone feature on FXO device

2008-04-03 Thread Tilghman Lesher
On Thursday 03 April 2008 10:37:32 John Novack wrote:
 WOW! Is this LONG overdue.
 Why this wasn't done initially is beyond me
 It has caused so many troubles and questions and posts from folks who
 expected Asterisk to at least have a feature that has been in a dial up
 modem for 10+ years.

Welcome to open source.  If you'd like to see a feature, might I suggest
writing it, and contributing it back?

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait for dialtone feature on FXO device

2008-04-03 Thread John Novack
Well, it SHOULD have been obvious that IF I had degree of skill I would 
have years ago.
Those kind of comments serve no purpose other than to anger and to boost 
the already inflated ego of those who make the comments!

This is a USERS list after all!

John Novack

Tilghman Lesher wrote:
 On Thursday 03 April 2008 10:37:32 John Novack wrote:
   
 WOW! Is this LONG overdue.
 Why this wasn't done initially is beyond me
 It has caused so many troubles and questions and posts from folks who
 expected Asterisk to at least have a feature that has been in a dial up
 modem for 10+ years.
 

 Welcome to open source.  If you'd like to see a feature, might I suggest
 writing it, and contributing it back?

   

-- 
Dog is my co-pilot


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait in Queue for 120 seconds for agent A to become free, THEN ring next agent

2008-02-08 Thread Lenz

Don't worry - I paste this leink becaus eyou should have e good  
understanding about what the queue() cmd does to be safe in implementation  
phase: http://www.voip-info.org/wiki-Asterisk+cmd+Queue
See also: http://astrecipes.net/index.php?n=118
Thanks
l.


On Tue, 05 Feb 2008 06:31:16 +0100, Kev S [EMAIL PROTECTED] wrote:

 Sorry to be painful, But how do i set the queue timeout?
   
 Regards
 Kev

-- 
Loway Research - Home of QueueMetrics
http://queuemetrics.com

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait in Queue for 120 seconds for agent A to become free, THEN ring next agent

2008-02-04 Thread Atis Lezdins
On 2/4/08, Kev S [EMAIL PROTECTED] wrote:
 Hi all

 Just trying to set up a queue and wondering if this is possible.

 We have 3 agents, One of them is sort of the first point of contact

 What i am looking to do is

 1. Someone rings the queue.

 2. It rings Agent A.. If Agent A is on the phone then put them on hold
 for 120 seconds, and if Agent A gets off the phone within those 120
 seconds, put the call to them.

 3. If 120 seconds expires, then call agent B, if B rings out, Call agent C

 So all i need is for the call to wait 120 seconds for agent A to get off
 the phone. Then progress the call if they dont.

 Is this possible? If so, any pointers?

I think you should have penalty for agent B, and dial to them trough
local channels - so that busy status gets sent to queue by your own
dialplan. In 1.6 this would mean that you shouldn't use
state_interface - so app_queue can't automatically check that A is
busy.

Then it would go something like this:

Set(started=${EPOCH});
Set(remaining_time=${EPOCH}-started+120);
while(${remaining_time}0) {
  Dial(SIP/a,${remaining_time});
  If (${DIALSTATUS}=ANSWERED) {
break;
  }
  Wait(1); // wait so that this loop doesn't eat much CPU.
  Set(remaining_time=${EPOCH}-started+120);
}

if (${DIALSTATUS}!=ANSWERED) {
  Busy();
}


Regards,
Atis

-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait in Queue for 120 seconds for agent A to become free, THEN ring next agent

2008-02-04 Thread Lenz

You create three queues: queue A has only agent A, queue B only agent B,  
and queue C only agent C.
You call the firts queue witha timeout of 120 seconds; if call timed out,  
you call queue B with a timeout of 120 seconds and so on.
One note: this does not sound great from a service-level point of view :-)
l.



On Mon, 04 Feb 2008 06:13:17 +0100, Kev S [EMAIL PROTECTED] wrote:

 Hi all

 Just trying to set up a queue and wondering if this is possible.

 We have 3 agents, One of them is sort of the first point of contact

 What i am looking to do is

 1. Someone rings the queue.

 2. It rings Agent A.. If Agent A is on the phone then put them on hold
 for 120 seconds, and if Agent A gets off the phone within those 120
 seconds, put the call to them.

 3. If 120 seconds expires, then call agent B, if B rings out, Call agent  
 C

 So all i need is for the call to wait 120 seconds for agent A to get off
 the phone. Then progress the call if they dont.

 Is this possible? If so, any pointers?

 Cheers
 - Kev




-- 
Loway Research - Home of QueueMetrics
http://queuemetrics.com

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait in Queue for 120 seconds for agent A to become free, THEN ring next agent

2008-02-04 Thread Kev S
Sorry to be painful, But how do i set the queue timeout?

Regards
Kev

Lenz wrote:
 You create three queues: queue A has only agent A, queue B only agent B,  
 and queue C only agent C.
 You call the firts queue witha timeout of 120 seconds; if call timed out,  
 you call queue B with a timeout of 120 seconds and so on.
 One note: this does not sound great from a service-level point of view :-)
 l.



 On Mon, 04 Feb 2008 06:13:17 +0100, Kev S [EMAIL PROTECTED] wrote:

   
 Hi all

 Just trying to set up a queue and wondering if this is possible.

 We have 3 agents, One of them is sort of the first point of contact

 What i am looking to do is

 1. Someone rings the queue.

 2. It rings Agent A.. If Agent A is on the phone then put them on hold
 for 120 seconds, and if Agent A gets off the phone within those 120
 seconds, put the call to them.

 3. If 120 seconds expires, then call agent B, if B rings out, Call agent  
 C

 So all i need is for the call to wait 120 seconds for agent A to get off
 the phone. Then progress the call if they dont.

 Is this possible? If so, any pointers?

 Cheers
 - Kev

 



   


-- 
This message has been scanned for viruses and
dangerous content by Mail Call antivirus software, and is
believed to be clean.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait to numbers

2007-06-27 Thread Jared Smith
On 6/27/07, Josu Lazkano [EMAIL PROTECTED] wrote:
  There is an other command to wait 4 seconds and wait for numbers?

Use the WaitExten() application instead of Wait().

-Jared

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Wait to numbers

2007-06-27 Thread Josu Lazkano

Thankyou Jared, that it! it works!

2007/6/27, Jared Smith [EMAIL PROTECTED]:


On 6/27/07, Josu Lazkano [EMAIL PROTECTED] wrote:
  There is an other command to wait 4 seconds and wait for numbers?

Use the WaitExten() application instead of Wait().

-Jared

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] wait for rings, answer on outdial via SIP

2007-05-25 Thread Alex Balashov

On Fri, 25 May 2007, Barry Porch wrote:


I am using BackgroundDetect to wait for the greeting (hello, etc.)
following the answer.  I just don't know how to deal with the variable
number of rings.


  This problem or may not have a good solution, but if it does, it's
probably bound up in some subtle intricacy of the ISDN Q.931 signaling
and progress indication over the PRI from the PBX.  It is entirely 
possible that the PBX is sending back an ALERTING message (which means

that the far end is ringing) in a precise and timely fashion but
Asterisk is failing to appropriately recognise that for what it is.

  Another possibility, given what you said about how Asterisk perceives
the call to be immediately answered, is that the PBX answers the call
from an incoming internal trunk (from an ISDN standpoint) and then
cross-connects the media with the goings-on of another leg it builds out,
in such a way that immediate pickup is quite literally what's taking
place from the interior.

  I know of no way to detect ringing feedback acoustically in connection
with Asterisk

--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : +1-678-954-0670
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] WAIT FOR DIGIT not working

2007-02-13 Thread Camilo Echeverry

Hi .
I had the same problem but downloaded a test script and wait for digit
worked.
the only visible difference is that I wat nos using strict,

so I am rewriting the AGI with

use strict;

Hope this help.


On 9/14/06, Joel Lansden [EMAIL PROTECTED] wrote:


 Hello all,

I have been trying to solve this problem for days, with no luck.

When I run an AGI script from my extensions.conf, it seems no matter what
I do, the WAIT FOR DIGIT command will not work.  The system just flies
past it without waiting a single millisecond, and of course my script
crashes because it doesn't have the input it needs.  I have run 3 different
versions of Asterisk in the hopes of clearing this up, and presently am on
1.2.12.1.

My script is simple:


#!/usr/bin/perl

use POSIX;

$| = 1;

sub trim {
my @out = @_;
for (@out)
{
   s/^\s+//;
   s/\s+$//;
}
return wantarray ? @out : $out[0];
}

while(STDIN) {
chomp;
last unless length($_);
if (/^agi_(\w+)\:\s+(.*)$/) {
$AGI{$1} = $2;
}
}

print EXEC Ringing\n;
print EXEC Wait 1\n;
print EXEC Answer\n;
print EXEC Festival 'Please enter the extension you want to call'\n;
$target = ;

print WAIT FOR DIGIT 5000\n;
$target .= STDIN;
print WAIT FOR DIGIT 5000\n;
$target .= STDIN;
print WAIT FOR DIGIT 5000\n;
$target .= STDIN;

print STDERR Result was $target\n;


That's all there is to it, but it won't work.

Can anyone help?
Thanks!!!

~Joel


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





--
Camilo Echeverry

Your life would be very empty if you had nothing to regret.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] WAIT FOR DIGIT not working

2006-09-15 Thread Kai Ober

prints print really to stdout?,
flushed the output?



$target = ;

print WAIT FOR DIGIT 5000\n;
$target .= STDIN;
print WAIT FOR DIGIT 5000\n;
$target .= STDIN; 
print WAIT FOR DIGIT 5000\n;

$target .= STDIN;

  


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] WAIT FOR DIGIT not working

2006-09-14 Thread Pato Valarezo

Joel Lansden wrote:

Hello all,

I have been trying to solve this problem for days, with no luck.

When I run an AGI script from my extensions.conf, it seems no matter 
what I do, the WAIT FOR DIGIT command will not work.  The system just 
flies past it without waiting a single millisecond, and of course my 
script crashes because it doesn't have the input it needs.  I have run 3 
different versions of Asterisk in the hopes of clearing this up, and 
presently am on 1.2.12.1.


My script is simple:


#!/usr/bin/perl

use POSIX;

$| = 1;

sub trim {
my @out = @_;
for (@out)
{
   s/^\s+//;
   s/\s+$//;
}
return wantarray ? @out : $out[0];
}

while(STDIN) {
chomp;
last unless length($_);
if (/^agi_(\w+)\:\s+(.*)$/) {
$AGI{$1} = $2;
}
}

print EXEC Ringing\n;
print EXEC Wait 1\n;
print EXEC Answer\n;
print EXEC Festival 'Please enter the extension you want to call'\n;
$target = ;

print WAIT FOR DIGIT 5000\n;
$target .= STDIN;
print WAIT FOR DIGIT 5000\n;
$target .= STDIN;
print WAIT FOR DIGIT 5000\n;
$target .= STDIN;

print STDERR Result was $target\n;


That's all there is to it, but it won't work.

Can anyone help?
Thanks!!!

~Joel


Hi, are you using SIP? note that you NEED to answer before launch the AGI.



--
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
La práctica vale más que la gramática. 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] WAIT FOR DIGIT not working

2006-09-14 Thread Joel Lansden
I changed things so that the dialplan would answer, THEN launch the script, but 
this made no difference.  The script still won't wait for DTMF tones from the 
caller.

~Joel

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pato Valarezo
Sent: Thursday, September 14, 2006 11:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] WAIT FOR DIGIT not working

Joel Lansden wrote:
 Hello all,
 
 I have been trying to solve this problem for days, with no luck.
 
 When I run an AGI script from my extensions.conf, it seems no matter 
 what I do, the WAIT FOR DIGIT command will not work.  The system just 
 flies past it without waiting a single millisecond, and of course my 
 script crashes because it doesn't have the input it needs.  I have run 3 
 different versions of Asterisk in the hopes of clearing this up, and 
 presently am on 1.2.12.1.
 
 My script is simple:
 
 
 #!/usr/bin/perl
 
 use POSIX;
 
 $| = 1;
 
 sub trim {
 my @out = @_;
 for (@out)
 {
s/^\s+//;
s/\s+$//;
 }
 return wantarray ? @out : $out[0];
 }
 
 while(STDIN) {
 chomp;
 last unless length($_);
 if (/^agi_(\w+)\:\s+(.*)$/) {
 $AGI{$1} = $2;
 }
 }
 
 print EXEC Ringing\n;
 print EXEC Wait 1\n;
 print EXEC Answer\n;
 print EXEC Festival 'Please enter the extension you want to call'\n;
 $target = ;
 
 print WAIT FOR DIGIT 5000\n;
 $target .= STDIN;
 print WAIT FOR DIGIT 5000\n;
 $target .= STDIN;
 print WAIT FOR DIGIT 5000\n;
 $target .= STDIN;
 
 print STDERR Result was $target\n;
 
 
 That's all there is to it, but it won't work.
 
 Can anyone help?
 Thanks!!!
 
 ~Joel

Hi, are you using SIP? note that you NEED to answer before launch the AGI.



-- 
patoVala
Linux User#280504
Hablando en http://www.elprimoalcahuete.com
La práctica vale más que la gramática. 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Derek Whitten
Robert La Ferla wrote:
 How do I set up extensions.conf to wait for x rings (ringing all
 extensions) before answering?  I'm trying to mimic a regular answering
 machine on an multiple analog phone system.  Currently, Asterisk picks
 up after 1 ring and just tries to dial one extension.  I want all
 extensions to ring.
 
 [incoming]
 exten = s,1,Dial(SIP/myext,25,t,r)
 exten = s,2,Voicemail(myext)
 exten = s,3,Hangup()
 
 Also, I couldn't find documentation on the r option for Dial().
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[incoming]
exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
exten = s,2,Voicemail(myext)
exten = s,3,Hangup()
-- 
.


-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/GIT d-@ s+:+ a? C+++ BLHIS$ U+++ P+ L+++ !E W+++$ N++ o+ K w--
PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+ h r+++ y
 --END GEEK CODE BLOCK--


.


signature.asc
Description: OpenPGP digital signature
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Robert La Ferla

Derek Whitten wrote:

[incoming]
exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
exten = s,2,Voicemail(myext)
exten = s,3,Hangup()
  
Thanks.  This will call/ring multiple extensions but what about waiting 
for X rings before going to voicemail?  How do I do that?



___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Kerry Garrison
Create a ring group, put all the extensions into the ring group, set your
dialplan to go to the ring group first and then failover to a voicemail
extension.
-Kerry
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek Whitten
Sent: Friday, December 09, 2005 8:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Wait for X rings before answering?

Robert La Ferla wrote:
 How do I set up extensions.conf to wait for x rings (ringing all
 extensions) before answering?  I'm trying to mimic a regular answering 
 machine on an multiple analog phone system.  Currently, Asterisk picks 
 up after 1 ring and just tries to dial one extension.  I want all 
 extensions to ring.
 
 [incoming]
 exten = s,1,Dial(SIP/myext,25,t,r)
 exten = s,2,Voicemail(myext)
 exten = s,3,Hangup()
 
 Also, I couldn't find documentation on the r option for Dial().
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[incoming]
exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
exten = s,2,Voicemail(myext)
exten = s,3,Hangup()
--
.


-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/GIT d-@ s+:+ a? C+++ BLHIS$ U+++ P+ L+++ !E W+++$ N++ o+ K w--
PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+ h r+++ y
 --END GEEK CODE BLOCK--


.


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Dave Cotton
On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote:
 Derek Whitten wrote:
  [incoming]
  exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
  exten = s,2,Voicemail(myext)
  exten = s,3,Hangup()

 Thanks.  This will call/ring multiple extensions but what about waiting 
 for X rings before going to voicemail?  How do I do that?

What do you think the 25 does?

Maybe it's a time or something.

-- 
Dave Cotton [EMAIL PROTECTED]

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread José Luis Gómez
If you need more rings, increase 25 (that is in seconds, more or less).
Regards.

El vie, 09-12-2005 a las 11:41 -0500, Robert La Ferla escribió:
 Derek Whitten wrote:
  [incoming]
  exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
  exten = s,2,Voicemail(myext)
  exten = s,3,Hangup()

 Thanks.  This will call/ring multiple extensions but what about waiting 
 for X rings before going to voicemail?  How do I do that?
 
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 

José Luis Gómez
Qualis Information Technology
Av. Rivadavia 2553, PB Of. 43 EP
0342-4565684 int 102
Bs. As. 011-51990896
www.qualis.com.ar
Soporte 0810-8880022
Santa Fe - Argentina

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Robert La Ferla
I realize that it's a timeout but what's implicit in that is that 
Asterisk can't detect # of rings just the amount of time spent ringing?  
I have been looking at the reference manual on asteriskguru.com.  They 
say it's a timeout but they don't indicate the units.  Is it 
milliseconds, microseconds or seconds?



Dave Cotton wrote:

On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote:
  

Derek Whitten wrote:


[incoming]
exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
exten = s,2,Voicemail(myext)
exten = s,3,Hangup()
  
  
Thanks.  This will call/ring multiple extensions but what about waiting 
for X rings before going to voicemail?  How do I do that?



What do you think the 25 does?

Maybe it's a time or something.

  


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Derek Whitten
Robert La Ferla wrote:
 Derek Whitten wrote:
 
 [incoming]
 exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
 exten = s,2,Voicemail(myext)
 exten = s,3,Hangup()
   
 
 Thanks.  This will call/ring multiple extensions but what about waiting
 for X rings before going to voicemail?  How do I do that?
 
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

that's what the '25' is..

so currently your dialplan goes to VM after 25 sec..

you could also declare some variables too..

PHONE1=SIP/myext
PHONE2=SIP/myext1
PHONE3=SIP/myext2


;Timeout Variables
VERYSHORTTIMEOUT=10
SHORTTIMEOUT=20
DEFTIMEOUT=30
MEDTIMEOUT=40
LONGTIMEOUT=70

[incoming]
exten = s,1,Dial(SIP/${PHONE1}${PHONE2}${PHONE3},${MEDTIMEOUT},Ttr)
exten = s,2,Voicemail(u)
exten = s,102,Voicemail(b)

-- 
.


-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/GIT d-@ s+:+ a? C+++ BLHIS$ U+++ P+ L+++ !E W+++$ N++ o+ K w--
PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+ h r+++ y
 --END GEEK CODE BLOCK--


.


signature.asc
Description: OpenPGP digital signature
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Derek Whitten
Robert La Ferla wrote:
 Derek Whitten wrote:
 
 [incoming]
 exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
 exten = s,2,Voicemail(myext)
 exten = s,3,Hangup()
   
 
 Thanks.  This will call/ring multiple extensions but what about waiting
 for X rings before going to voicemail?  How do I do that?
 
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

that's what the '25' is..

so currently your dialplan goes to VM after 25 sec..

you could also declare some variables too..

PHONE1=SIP/myext
PHONE2=SIP/myext1
PHONE3=SIP/myext2


;Timeout Variables
VERYSHORTTIMEOUT=10
SHORTTIMEOUT=20
DEFTIMEOUT=30
MEDTIMEOUT=40
LONGTIMEOUT=70

[incoming]
exten = s,1,Dial(SIP/${PHONE1}${PHONE2}${PHONE3},${MEDTIMEOUT},Ttr)
exten = s,2,Voicemail(u)
exten = s,102,Voicemail(b)

-- 
.


-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/GIT d-@ s+:+ a? C+++ BLHIS$ U+++ P+ L+++ !E W+++$ N++ o+ K w--
PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+ h r+++ y
 --END GEEK CODE BLOCK--


.


signature.asc
Description: OpenPGP digital signature
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread burke
seconds

 I realize that it's a timeout but what's implicit in that is that
 Asterisk can't detect # of rings just the amount of time spent ringing?
 I have been looking at the reference manual on asteriskguru.com.  They
 say it's a timeout but they don't indicate the units.  Is it
 milliseconds, microseconds or seconds?


 Dave Cotton wrote:
 On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote:

 Derek Whitten wrote:

 [incoming]
 exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
 exten = s,2,Voicemail(myext)
 exten = s,3,Hangup()


 Thanks.  This will call/ring multiple extensions but what about waiting
 for X rings before going to voicemail?  How do I do that?


 What do you think the 25 does?

 Maybe it's a time or something.



 ___
 --Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Dave Cotton
On Fri, 2005-12-09 at 12:54 -0500, Robert La Ferla wrote:
 I realize that it's a timeout but what's implicit in that is that 
 Asterisk can't detect # of rings just the amount of time spent ringing?

Is there really a difference? 

 I have been looking at the reference manual on asteriskguru.com.  They 
 say it's a timeout but they don't indicate the units.  Is it 
 milliseconds, microseconds or seconds?

Please engage brain, milliseconds microseconds?

Ring the f.. extension and see what happens.

(Critch where are you?)
 
-- 
Dave Cotton [EMAIL PROTECTED]

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread C Stephens
That's seconds. To get a certain number of rings, just find out the total cycle time for the ring cadence you're using, then multiply by the number of rings you want.

For example, the US ring cadence is 2 on, 4 off[, repeat]. So the total time is 6 seconds per ring. For 4 rings, use 4x6=24.
On 12/9/05, Robert La Ferla [EMAIL PROTECTED] wrote:
I realize that it's a timeout but what's implicit in that is thatAsterisk can't detect # of rings just the amount of time spent ringing?
I have been looking at the reference manual on asteriskguru.com.Theysay it's a timeout but they don't indicate the units.Is itmilliseconds, microseconds or seconds?
Dave Cotton wrote: On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote: Derek Whitten wrote: [incoming] exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
 exten = s,2,Voicemail(myext) exten = s,3,Hangup() Thanks.This will call/ring multiple extensions but what about waiting for X rings before going to voicemail?How do I do that?
 What do you think the 25 does? Maybe it's a time or something.___--Bandwidth and Colocation provided by 
Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Time Bandit
  I have been looking at the reference manual on asteriskguru.com.  They
  say it's a timeout but they don't indicate the units.  Is it
  milliseconds, microseconds or seconds?
Just for the lazy one, here is the link to the DIAL command
http://www.voip-info.org/wiki-Asterisk+cmd+dial

and extracted from it about the timeout
The timeout parameter is optional. If not specifed, the Dial command
will wait indefinitely, exiting only when the originating channel
hangs up, or all the dialed channels return a busy or error condition.
Otherwise it specifies a maximum time, in seconds, that the Dial
command is to wait for a channel to answer.

 (Critch where are you?)
Yes !  I'm missing the great answers to people that don't bother
reading the fn manual.

Critch, we are really missing you, please come back ! :)
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Eric \ManxPower\ Wieling

Robert La Ferla wrote:

Derek Whitten wrote:

[incoming]
exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
exten = s,2,Voicemail(myext)
exten = s,3,Hangup()
  
Thanks.  This will call/ring multiple extensions but what about waiting 
for X rings before going to voicemail?  How do I do that?


NEVER EVER put commas between the dial opts.  Honestly, I don't trust 
anyone that puts r on the Dial line.


exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25)

The above will wait for 25 seconds before going to the next priority.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Eric \ManxPower\ Wieling
show application dial is your friend.  Love it, hold it, buy it 
flowers, but READ it.


Robert La Ferla wrote:
I realize that it's a timeout but what's implicit in that is that 
Asterisk can't detect # of rings just the amount of time spent ringing?  
I have been looking at the reference manual on asteriskguru.com.  They 
say it's a timeout but they don't indicate the units.  Is it 
milliseconds, microseconds or seconds?



Dave Cotton wrote:

On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote:
 

Derek Whitten wrote:
   

[incoming]
exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
exten = s,2,Voicemail(myext)
exten = s,3,Hangup()

Thanks.  This will call/ring multiple extensions but what about 
waiting for X rings before going to voicemail?  How do I do that?



What do you think the 25 does?

Maybe it's a time or something.

  


___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Eric \ManxPower\ Wieling
This information is outdated or wrong for some versions of Asterisk.  Be 
smart, read the output of show application dial in the asterisk server 
you are using and see what it tells you.


Time Bandit wrote:

I have been looking at the reference manual on asteriskguru.com.  They
say it's a timeout but they don't indicate the units.  Is it
milliseconds, microseconds or seconds?

Just for the lazy one, here is the link to the DIAL command
http://www.voip-info.org/wiki-Asterisk+cmd+dial

and extracted from it about the timeout
The timeout parameter is optional. If not specifed, the Dial command
will wait indefinitely, exiting only when the originating channel
hangs up, or all the dialed channels return a busy or error condition.
Otherwise it specifies a maximum time, in seconds, that the Dial
command is to wait for a channel to answer.


(Critch where are you?)

Yes !  I'm missing the great answers to people that don't bother
reading the fn manual.

Critch, we are really missing you, please come back ! :)
___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread pdhales

We found that different phones and even different rings on the same phone had 
different timimgs.

For example, one phone would ring every 2 seconds and another would ring every 
3.

PaulH 

 Robert La Ferla [EMAIL PROTECTED] wrote:
 
 I realize that it's a timeout but what's implicit in that is that 
 Asterisk can't detect # of rings just the amount of time spent ringing?  
 
 I have been looking at the reference manual on asteriskguru.com.  They 
 say it's a timeout but they don't indicate the units.  Is it 
 milliseconds, microseconds or seconds?
 
 
 Dave Cotton wrote:
  On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote:

  Derek Whitten wrote:
  
  [incoming]
  exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
  exten = s,2,Voicemail(myext)
  exten = s,3,Hangup()


  Thanks.  This will call/ring multiple extensions but what about 
 waiting 
  for X rings before going to voicemail?  How do I do that?
  
 
  What do you think the 25 does?
 
  Maybe it's a time or something.
 

 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: Re: [Asterisk-Users] Wait for X rings before answering?

2005-12-09 Thread Rich Adamson
Most telcos (and I assume this is true in AU as well) have a standard
right cycle in the CO. In the US, its something like 6 seconds.

What a telephone instrument does in terms of ringing has nothing to do
with it. It can play songs, show a video, or whatever.

If you have callerid configured, then asterisk will consume one ring
cycle looking for the callerid _before_ it jumps to extensions.conf
context. But, from a user perspective, they still hear ringback even
though you don't have any phones ringing as yet. Calculate accordingly.


 
 We found that different phones and even different rings on the same phone had 
different timimgs.
 
 For example, one phone would ring every 2 seconds and another would ring 
 every 3.
 
 PaulH 
 
  Robert La Ferla [EMAIL PROTECTED] wrote:
  
  I realize that it's a timeout but what's implicit in that is that 
  Asterisk can't detect # of rings just the amount of time spent ringing?  
  
  I have been looking at the reference manual on asteriskguru.com.  They 
  say it's a timeout but they don't indicate the units.  Is it 
  milliseconds, microseconds or seconds?
  
  
  Dave Cotton wrote:
   On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote:
 
   Derek Whitten wrote:
   
   [incoming]
   exten = s,1,Dial(SIP/myextSIP/myext1SIP/myext2,25,t,r)
   exten = s,2,Voicemail(myext)
   exten = s,3,Hangup()
 
 
   Thanks.  This will call/ring multiple extensions but what about 
  waiting 
   for X rings before going to voicemail?  How do I do that?
   
  
   What do you think the 25 does?
  
   Maybe it's a time or something.
  
 
  
  ___
  --Bandwidth and Colocation provided by Easynews.com --
  
  Asterisk-Users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 

---End of Original Message-


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [Asterisk-Users] wait before accepting the call

2005-09-27 Thread Innocent Evil

Why don't you write a couple of lines AGI scripts that will call asterisk 
command WAIT(5)

Thankx


 -Original Message-
 From: [EMAIL PROTECTED]
 Sent: Tue, 27 Sep 2005 13:42:31 +0200
 To: asterisk-users@lists.digium.com
 Subject: [Asterisk-Users] wait before accepting the call
 
 hello!
 
 i'm looking for a way to prolonge a pstn-call for 5 seconds before it
 enters the extensions.conf. this is for testing purposes, all numbers
 of a ddi should be received by asterisk before the call is walking
 through the extensions. how can i achive this? i've not seen a feature
 like this for zapata or zaptel, does anyone have an idea how this could
 be done?
 
 thx
 christian
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:

 http://lists.digium.com/mailman/listinfo/asterisk-users___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] wait before accepting the call

2005-09-27 Thread ChB
this doesn't work - as soon as the call is handled by an extension it is
'accepted' - but the call should be prolonged _before_ it is
'accepted'. the zap-channel should not connect a incoming call before a
given timeframe has elapsed. currently my asterisk configuration only
accepts ddi's in 'blocked' form, a phone has to send the whole ddi at
once, only then asterisk receives the whole number and i can process it
in my dialplan. in austria a official voip-numbers have 10 ciphers
(national format), e.g. 0720012345. when i dial a ddi, e.g.
0720012345999 from a standard simple pstn-phone, only the first 10
digits are received by asterisk, the attached direct dial 999 is not.
my telco told me to hold the call for 5 seconds before accepting, so
all numbers can be transmitted. of course this doesn't work if i only
add a wait-extension. btw: the telco says they can only configure a min
and a max number of ciphers they accept, i think this setting currently 
ranges from minimum 4 to maximum 15 ciphers.

i guess this should/could be configured at the zapata side of asterisk,
but i have no idea how and where. that's why i'm asking(and i hope i
described the issue comprehensible) ;-) 
all other proposals on how to receive ddi's are very welcome of course.
and yes, you can assume that i don't understand the pstn-concept ;-)

best regards
christian



On Tue, 27 Sep 2005 12:39:32 -0800
Innocent Evil [EMAIL PROTECTED] wrote:

 
 Why don't you write a couple of lines AGI scripts that will call asterisk 
 command WAIT(5)
 
 Thankx
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  Sent: Tue, 27 Sep 2005 13:42:31 +0200
  To: asterisk-users@lists.digium.com
  Subject: [Asterisk-Users] wait before accepting the call
  
  hello!
  
  i'm looking for a way to prolonge a pstn-call for 5 seconds before it
  enters the extensions.conf. this is for testing purposes, all numbers
  of a ddi should be received by asterisk before the call is walking
  through the extensions. how can i achive this? i've not seen a feature
  like this for zapata or zaptel, does anyone have an idea how this could
  be done?
  
  thx
  christian
  ___
  --Bandwidth and Colocation sponsored by Easynews.com --
  
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 
  http://lists.digium.com/mailman/listinfo/asterisk-users___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait for dialtone

2005-09-10 Thread Rich Adamson

 Is it possible after dialling a trunk prefix to wait for dialtone (or wait 2 
 seconds) before 
continuing to dial the outgoing number ?
  
 I need to hunt for one of several lines, and when one successfully provides 
 dialtone, to 
continue dialling.. 
  
 A simple NO will do, but if there's a workaround, I have not found it. 

I don't believe there is any dialtone detection support in * today.

You can add a w in the dial statement for analog zap ports to insert
a delay, but that delay does not involve listening for anything.

Each w adds about 1/4 second or so, something like this:

exten = _9XXX,1,Dial(Zap/4/ww${EXTEN}) 



___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait for dialtone

2005-09-10 Thread John Novack



Rich Adamson wrote:

Is it possible after dialling a trunk prefix to wait for dialtone (or wait 2 seconds) before 
   


continuing to dial the outgoing number ?
 

I need to hunt for one of several lines, and when one successfully provides dialtone, to continue dialling.. 
   



A simple NO will do, but if there's a workaround, I have not found it. 
   


I don't believe there is any dialtone detection support in * today.

You can add a w in the dial statement for analog zap ports to insert a delay, 
but that delay does not involve listening for anything.

Each w adds about 1/4 second or so, something like this:

exten = _9XXX,1,Dial(Zap/4/ww${EXTEN}) 
 


w doesn't work either when pulse dial=yes

Someone smarter than I about the source maintains that  some sort of 
tone detection is present , but not called.
I would assume from that , that either it WAS at some point and there 
was a problem, or they never turned it on and tested it.


One problem would be is the whole world doesn't use precise  350/440 
dialtone.


It is curious that really cheap modems have been able to do this now for 
years.


John Novack

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait before dialing ( was Pause during dialing to enter another number)

2005-08-24 Thread Eric Wieling aka ManxPower

John Novack wrote:
Started a new thread as my problem is somewhat different than the OP. 
Seems his somewhat different problem doesn't work as advertised either.


Eric Wieling wrote:
  I don't know what the problem is, but this is what I use and it works 
on my analog FXO port.


  exten = _9NXXNXX,1,Dial(${PSTN}/w${EXTEN:1})

So, I modified slightly to fit my dialplan:

exten = _8NXX,1,Dial(ZAP/g1/w${EXTEN:1})

and it MAY wait, but NOT off hook.
The problem still remains, Asterisk begins to dial before dial tone is 
returned from the CO

This was determined by monitoring the CO line with a buttset
Since this has been talked about on the list before, I have to wonder if 
is version dependent, or if it works at all.


Anyone KNOW that this works? And with what version of Asterisk?


Asterisk 1.0.9.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait in Dial String

2005-04-20 Thread Josiah Bryan
On Wednesday 20 April 2005 10:29 am, David Choo wrote:
 Dear All,

 My boss has placed a requirement for me to forward all our IDD calls
 through a partner's IDD service, which requires us to call a 8 digit
 number, wait for 1 sec, before we send in the foreign number we're trying
 to call.

 As I can't find anything on getting the PBX to wait, i'm only removing the
 1st 3 digits (900) and sending in an extra 1 to simulate the wait. It
 works, but not all the time. Is there anyway that I can place a wait
 command here? I'm tried placing w / p but both don't works. Would like to
 seek your kind assistance!

 exten = _9001.,1,Dial(Zap/g1/64919669,,D(${EXTEN:3}),)
 exten = _9001.,n,Hangup()


Try 'w',

E.g. for my old bridge to BizFon, I had to dial 9, wait, then the number:

exten = _NX,1,Dial(Zap/g1/9w${EXTEN})

Just put the 'w' between the numbers that you want it to 'wait' at.

-josiah

-- 
Josiah Bryan
IT Coordinator
Productive Concepts, Inc.
[EMAIL PROTECTED]
(765) 964-6009, ext. 224
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait in Dial String

2005-04-20 Thread Robert Keller
Try one w:

exten = _9001.,1,Dial(Zap/g1/64919669,,D(w${EXTEN:3}),) ***
exten = _9001.,n,Hangup()



Robert Andrew Keller
Ferndale School District #502
[EMAIL PROTECTED]
360-383-9228 PH.
360-383-9218 FAX
Paving the way for tomorrows genius.

 From: David Choo [EMAIL PROTECTED]
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Date: Wed, 20 Apr 2005 22:29:27 +0800
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Cc: James Lim [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Wait in Dial String
 
 
 Dear All,
 
 My boss has placed a requirement for me to forward all our IDD calls
 through a partner's IDD service, which requires us to call a 8 digit
 number, wait for 1 sec, before we send in the foreign number we're trying
 to call.
 
 As I can't find anything on getting the PBX to wait, i'm only removing the
 1st 3 digits (900) and sending in an extra 1 to simulate the wait. It
 works, but not all the time. Is there anyway that I can place a wait
 command here? I'm tried placing w / p but both don't works. Would like to
 seek your kind assistance!
 
 exten = _9001.,1,Dial(Zap/g1/64919669,,D(${EXTEN:3}),)
 exten = _9001.,n,Hangup()
 
 Best Regards,
 
 ==
 David Choo
 Systems Engineer
 Business  Technology Division
 Engineered for Changing Businesses
 Espore Corp Pte Ltd
 68 Kallang Pudding Rd
 #04-03 SYH Logistics Bldg
 Singapore 349327
 Tel: 65-68487806
 Fax : 65-6842 2724
 E-mail :[EMAIL PROTECTED]
 =
 
 Privileged/Confidential information may be contained in this message. If
 you are not the intended recipient, you must not copy it or use it for any
 purpose, nor deliver this message to anyone. Instead, please delete this
 message and destroy any other record of it immediately and kindly notify
 the sender by return email. Thank you for your co-operation.
 
 Internet communications cannot be guaranteed to be secure or error-free as
 information could be intercepted, corrupted, lost, arrive late, or contain
 viruses. The sender therefore does not accept liability for any errors or
 omissions in the context of this message nor can the sender guarantee that
 this message is virus free.
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait in Dial String

2005-04-20 Thread Robert Webb
On Wed, 20 Apr 2005 10:24:37 -0500
 Josiah Bryan [EMAIL PROTECTED] wrote:
On Wednesday 20 April 2005 10:29 am, David Choo wrote:
Dear All,
My boss has placed a requirement for me to forward all 
our IDD calls
through a partner's IDD service, which requires us to 
call a 8 digit
number, wait for 1 sec, before we send in the foreign 
number we're trying
to call.

As I can't find anything on getting the PBX to wait, i'm 
only removing the
1st 3 digits (900) and sending in an extra 1 to simulate 
the wait. It
works, but not all the time. Is there anyway that I can 
place a wait
command here? I'm tried placing w / p but both don't 
works. Would like to
seek your kind assistance!

exten = _9001.,1,Dial(Zap/g1/64919669,,D(${EXTEN:3}),)
exten = _9001.,n,Hangup()
Try 'w',
E.g. for my old bridge to BizFon, I had to dial 9, wait, 
then the number:

exten = _NX,1,Dial(Zap/g1/9w${EXTEN})
Just put the 'w' between the numbers that you want it to 
'wait' at.

-josiah

And as an added tidbit... If I remeber correctly, each w 
is about a 1/2 second. So to get a second pause you would 
need ww in the string.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait in Dial String

2005-04-20 Thread David Choo
Guys,

Thanks a mil. I'll try it out and see how!

Best Regards,

==
David Choo
Systems Engineer
Business  Technology Division
Engineered for Changing Businesses
Espore Corp Pte Ltd
68 Kallang Pudding Rd
#04-03 SYH Logistics Bldg
Singapore 349327
Tel: 65-68487806
Fax : 65-6842 2724
E-mail :[EMAIL PROTECTED]
=

Privileged/Confidential information may be contained in this message. If
you are not the intended recipient, you must not copy it or use it for any
purpose, nor deliver this message to anyone. Instead, please delete this
message and destroy any other record of it immediately and kindly notify
the sender by return email. Thank you for your co-operation.

Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, arrive late, or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the context of this message nor can the sender guarantee that
this message is virus free.


   
 Robert Webb 
 [EMAIL PROTECTED] 
 u.com To 
 Sent by:  asterisk-users@lists.digium.com,
 asterisk-users-bo  cc 
 [EMAIL PROTECTED] 
 m.com Subject 
   Re: [Asterisk-Users] Wait in Dial   
   String  
 20/04/2005 11:54  
 PM
   
   
 Please respond to 
  Asterisk Users   
  Mailing List -   
  Non-Commercial   
Discussion 
 [EMAIL PROTECTED] 
 ists.digium.com  
   
   





On Wed, 20 Apr 2005 10:24:37 -0500
  Josiah Bryan [EMAIL PROTECTED] wrote:
 On Wednesday 20 April 2005 10:29 am, David Choo wrote:
 Dear All,

 My boss has placed a requirement for me to forward all
our IDD calls
 through a partner's IDD service, which requires us to
call a 8 digit
 number, wait for 1 sec, before we send in the foreign
number we're trying
 to call.

 As I can't find anything on getting the PBX to wait, i'm
only removing the
 1st 3 digits (900) and sending in an extra 1 to simulate
the wait. It
 works, but not all the time. Is there anyway that I can
place a wait
 command here? I'm tried placing w / p but both don't
works. Would like to
 seek your kind assistance!

 exten = _9001.,1,Dial(Zap/g1/64919669,,D(${EXTEN:3}),)
 exten = _9001.,n,Hangup()


 Try 'w',

 E.g. for my old bridge to BizFon, I had to dial 9, wait,
then the number:

 exten = _NX,1,Dial(Zap/g1/9w${EXTEN})

 Just put the 'w' between the numbers that you want it to
'wait' at.

 -josiah



And as an added tidbit... If I remeber correctly, each w
is about a 1/2 second. So to get a second pause you would
need ww in the string.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait for Digits

2005-02-09 Thread Derek Whitten
try adding something like this to 'zap-in'

exten = i,1,Background(invalid)



On Wed, 2005-02-09 at 10:44, Liaan vd Merwe wrote:
 Hi all
 I'm being really stupid today.
 i simply want asterisk to answer a incomming call, then wait for
 digits dialed. and then dial that extenstions
 but i keep on getting: WARNING[3314]: pbx.c:2017 ast_pbx_run: Invalid
 extension '5', but no rule 'i' in context 'zap-in'
 my config:
  
 exten = 0,1,answer()
 exten = 0,2,digittimeout,5
 exten = 0,3,ResponseTimeout,10
 exten = 0,4,waitexten 
  
 any help appreciated.
  
 thanks 
 liaan
  
 
 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 __
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


signature.asc
Description: This is a digitally signed message part
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait(n) -v- Background(silence/n) ?

2005-01-17 Thread Sergey Kuznetsov
In my AGI script I made the next trick:
   $digit = $AGI-get_data(vm-enter-num-to-call-then-pound, 15000, 1);
   while ( $digit eq 0 or $digit )
   {
   $phoneNum .= $digit;
   $digit = $AGI-get_data(empty, 7000, 1);
   }
where file empty.gsm have 0 byte length.
It works like a charm for me.
All the Best!
Sergey.
Howard Lowndes wrote:
Will Wait(n) still listen for DTMF input from the caller after there has
been a Background(some-message) prompt, or do I need to use
Background(silence/n) to still listen for DTMF?
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait(n) -v- Background(silence/n) ?

2005-01-17 Thread Trevor Peirce
Howard Lowndes wrote:
Will Wait(n) still listen for DTMF input from the caller after there has
been a Background(some-message) prompt, or do I need to use
Background(silence/n) to still listen for DTMF?
 

WaitExten(n) will
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait(n) -v- Background(silence/n) ?

2005-01-17 Thread Eric Wieling
Howard Lowndes wrote:
Will Wait(n) still listen for DTMF input from the caller after there has
been a Background(some-message) prompt, or do I need to use
Background(silence/n) to still listen for DTMF?
The WaitExten and Read applications won't work for you?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait(n) -v- Background(silence/n) ?

2005-01-17 Thread Howard Lowndes
On Tue, 2005-01-18 at 13:18, Eric Wieling wrote:
 Howard Lowndes wrote:
 
  Will Wait(n) still listen for DTMF input from the caller after there has
  been a Background(some-message) prompt, or do I need to use
  Background(silence/n) to still listen for DTMF?
  
 
 The WaitExten and Read applications won't work for you?

Duh!

Ta!

 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait(n) -v- Background(silence/n) ?

2005-01-17 Thread Steven Critchfield
On Tue, 2005-01-18 at 10:44 +1100, Howard Lowndes wrote:
 Will Wait(n) still listen for DTMF input from the caller after there has
 been a Background(some-message) prompt, or do I need to use
 Background(silence/n) to still listen for DTMF?

You don't need anything but a proper gap. You need to program the
extensions like you do with a event loop. 

exten = s,1,Wait,0
exten = s,2,Answer
exten = s,3,DigitTimeout,5
exten = s,4,ResponseTimeout,10
exten = s,5,BackGround,demo-congrats

; This is a blank area that just waits to get DTMF for up to 10 
; seconds due to the ResponseTimeout

exten = t,1,Goto(somewhere-due-to-timeout)


-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait indefinitely?

2005-01-09 Thread Christian Gatti
Bonjour,

  what about a goto?

Christian Gatti
Visual Online S.A.

Sunday, January 9, 2005, 4:42:23 PM, you wrote:

 Hello,

 is it possible to wait indefinitely (i.e. until user hangs up) somewhere
 in the dialplan? I tried Wait(-1), but it doesn't work.


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

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] Wait()

2004-09-20 Thread Scott Stingel
That's strange - I'm using wait(10) as the first command for an extension
(followed by an answer) in my dialplan and it works fine.

But on this system, I have a CVS from June.

Maybe you've discovered a recently-introduced bug? 

regards

Scott M. Stingel
President,
Emerging Voice Technology, Inc.
Palo Alto California  London England
www.evtmedia.com 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 3:11 AM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Wait()

Hello List!

All i would like to do is to wait 15 seconds, and then pick up the call for
the voice box:
[test2]
exten = 39,1,Wait(15)
exten = 39,2,Answer()
exten = 39,3,Voicemail(99)
exten = 39,4,Hangup()


However, it does not pick up the call at all.
I played around a bit, and found out that if the seconds are  9, then it
wont pick it up anymore.Any idea why?
Wait(9) work without problems, Wait(10) doesnt! :/

Any idea?
Thanks, Mario


___
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 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] Wait()

2004-09-20 Thread asterisk
Hi,

 That's strange - I'm using wait(10) as the first command for an
 extension (followed by an answer) in my dialplan and it works fine.

 But on this system, I have a CVS from June.

Mine is about 6 Days old.


 Maybe you've discovered a recently-introduced bug?

I have not rtc compiled in my kernel. Might this be the reason?


___
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] Wait for Dialtone syntax in Dial cmd?

2004-09-06 Thread Eric Wieling
On Mon, 2004-09-06 at 19:18, Arick Davis wrote:
 Ive been searching the archives for the proper Wait for Dial tone
 command in the Dial(Zap/g1/18005551212)  dial sting. Does anyone
 have an example of its use?

There isn't one.  However there is a wait .5 second.  However it only
works on ANALOG Zap ports.

Dial(Zap/g1/w18005551212)


-- 
  Eric Wieling * BTEL Consulting * 504-899-1387 x2111
In a related story, the IRS has recently ruled that the cost of Windows
upgrades can NOT be deducted as a gambling loss.

___
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] Wait command in auto attendant causes sched.c error

2004-02-10 Thread Tilghman Lesher
On Tuesday 10 February 2004 14:36, Christopher J. Wolff wrote:
 Feb 10 13:19:36 NOTICE[17743913]: Request to schedule in the
 past?!?!

Your machine is heavily loaded.  A thread which was interrupted to
schedule another thread or process was not able to complete its task
in time.  Your solution is either to reduce the load on that machine
or get yourself a faster machine.  Low memory is another possible
culprit (i.e. your processes are swapping, which slows down context
switches).

-Tilghman

___
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] Wait command in auto attendant causes sched.c error

2004-02-10 Thread Greg Boehnlein
yOn Tue, 10 Feb 2004, Tilghman Lesher wrote:

 On Tuesday 10 February 2004 14:36, Christopher J. Wolff wrote:
  Feb 10 13:19:36 NOTICE[17743913]: Request to schedule in the
  past?!?!
 
 Your machine is heavily loaded.  A thread which was interrupted to
 schedule another thread or process was not able to complete its task
 in time.  Your solution is either to reduce the load on that machine
 or get yourself a faster machine.  Low memory is another possible
 culprit (i.e. your processes are swapping, which slows down context
 switches).

Hahahahaha.. I get this all the time on my P133/16 and that is exactly 
what I thought. :)

-- 
Vice President of N2Net, a New Age Consulting Service, Inc. Company
 http://www.n2net.net Where everything clicks into place!
 KP-216-121-ST



___
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] Wait command in auto attendant causes sched.c error

2004-02-10 Thread Tim Sailer
On Tue, Feb 10, 2004 at 03:04:41PM -0600, Tilghman Lesher wrote:
 On Tuesday 10 February 2004 14:36, Christopher J. Wolff wrote:
  Feb 10 13:19:36 NOTICE[17743913]: Request to schedule in the
  past?!?!
 
 Your machine is heavily loaded.  A thread which was interrupted to
 schedule another thread or process was not able to complete its task
 in time.  Your solution is either to reduce the load on that machine
 or get yourself a faster machine.  Low memory is another possible
 culprit (i.e. your processes are swapping, which slows down context
 switches).

I get this on my brand new machine, 2.4 GHz, 512M RAM, .01 load

Tim

-- 

 Tim Sailer Coastal Internet, Inc.  
 Network and Systems Operations PO Box 726  
 http://www.buoy.comMoriches, NY 11955  
 [EMAIL PROTECTED]   (631) 399-2910  (888) 924-3728  

___
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] Wait command in auto attendant causes sched.c error

2004-02-10 Thread Tilghman Lesher
On Tuesday 10 February 2004 20:49, Tim Sailer wrote:
 On Tue, Feb 10, 2004 at 03:04:41PM -0600, Tilghman Lesher wrote:
  On Tuesday 10 February 2004 14:36, Christopher J. Wolff wrote:
   Feb 10 13:19:36 NOTICE[17743913]: Request to schedule in the
   past?!?!
 
  Your machine is heavily loaded.  A thread which was interrupted to
  schedule another thread or process was not able to complete its
  task in time.  Your solution is either to reduce the load on that
  machine or get yourself a faster machine.  Low memory is another
  possible culprit (i.e. your processes are swapping, which slows
  down context switches).

 I get this on my brand new machine, 2.4 GHz, 512M RAM, .01 load

Uh, well, that's actually a worse problem, then.  You're experiencing
clock drift.  It could be something as simple as the NTP daemon syncing
time at a certain moment, but if you're getting more than one every
couple weeks, you probably have a serious hardware problem.  Could be
in the hardware clock, could be a faulty motherboard chipset.  Actually,
could be any of a number of problems.  I think you know what you have to
do at this point.

-Tilghman

___
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] wait and user input..

2003-07-11 Thread Iain Stevenson
Not all of the * wait commands respond to dtmf whilst playing back. 
Couldn't you use the Background application to play the music?  That does 
respond to dtmf whilst playback is in progress.

 Iain

--On Friday, July 11, 2003 10:52 am + WipeOut . 
[EMAIL PROTECTED] wrote:

Hi..

How do you accept user input while waiting or playing moh?

My Dialplan is as follows..

ring,ring,..
Hello thanks for calling blah blah...
Please enter the extention number blah blah...
WaitMusicOnHold(10)
If no input pass call to operator..
The problem is that the user has to input the extension while they are
being told what to do.. any input during Wait or WaitMusicOnHold is
ignored...
Thanks..
--
__
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr
Powered by Outblaze
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] wait and user input..

2003-07-11 Thread WipeOut .
Two issues with using Background..

1) Background plays GSM files while moh uses MP3..

2) Background will play the whole file before moving on so I would need to make a file 
that will play for the number of seconds that I want to wait for user input..where as 
WaitMusicOnHold has a configurable timeout..

Thanks anyway..

 
 Not all of the * wait commands respond to dtmf whilst playing back. 
 Couldn't you use the Background application to play the music?  That does 
 respond to dtmf whilst playback is in progress.
 
   Iain
 
 
 --On Friday, July 11, 2003 10:52 am + WipeOut . 
 [EMAIL PROTECTED] wrote:
 
  Hi..
 
  How do you accept user input while waiting or playing moh?
 
  My Dialplan is as follows..
 
  ring,ring,..
  Hello thanks for calling blah blah...
  Please enter the extention number blah blah...
  WaitMusicOnHold(10)
  If no input pass call to operator..
 
  The problem is that the user has to input the extension while they are
  being told what to do.. any input during Wait or WaitMusicOnHold is
  ignored...
 
  Thanks..
  --
  __
  http://www.linuxmail.org/
  Now with e-mail forwarding for only US$5.95/yr
 
  Powered by Outblaze
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
__
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users