Re: [asterisk-users] Timeout for Queue

2009-03-13 Thread Lenz Emilitri
You should look at the queue() command invocation.

Thanks

l.



2009/3/12 Darrin Henshaw dhens...@ignition.bm

  Hello,



 We had an incident recently where a call was in queue for an extended
 period of time. We use queuemetrics for reporting, and it reports that the
 call was waiting for 20 minutes. The different thing about it is that the
 disconnect reason is stated as Timeout. Is there a set maximum time a call
 will wait in the queue before being automatically disconnected? I tried
 looking through the code directly, but I humbly admit my programming skills
 are lax.



 I’m running Asterisk 1.2.31 on CentOS 4.7. Thanks.





 Cheers,



 [image: logo]

 Darrin Henshaw |* *IT Administrator | MCTS: Exchange 2007 | MCSE 2003 |LPIC

 Ignition Support Center* *|* *www.ignition.bm

 Bermuda (441) 496-4319 | Cayman (345) 947-4357 | Halifax (902) 482-1288
 Atlanta | Bermuda | Cayman | Halifax



 --
 This email and its attachments may be confidential and are intended solely
 for the use of the individual or parties’ to whom it is addressed. All
 comments are solely those of the author and do not necessarily represent
 those of Ignition. If you are not the intended recipient of this email and
 its attachments, you must take no action based upon them, nor must you copy
 or show them to anyone. Please contact the sender if you believe you have
 received this email in error. Thanks for considering the environmental
 impact before printing this email.

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




-- 
Loway - home of QueueMetrics - http://queuemetrics.com
image001.jpg___
-- 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

[asterisk-users] Timeout for Queue

2009-03-12 Thread Darrin Henshaw
Hello,

We had an incident recently where a call was in queue for an extended period of 
time. We use queuemetrics for reporting, and it reports that the call was 
waiting for 20 minutes. The different thing about it is that the disconnect 
reason is stated as Timeout. Is there a set maximum time a call will wait in 
the queue before being automatically disconnected? I tried looking through the 
code directly, but I humbly admit my programming skills are lax.

I'm running Asterisk 1.2.31 on CentOS 4.7. Thanks.


Cheers,

[cid:image001.jpg@01C9A33E.72349BC0]
Darrin Henshaw | IT Administrator | MCTS: Exchange 2007 | MCSE 2003 | LPIC
Ignition Support Center | www.ignition.bmhttp://www.ignition.bm/
Bermuda (441) 496-4319 | Cayman (345) 947-4357 | Halifax (902) 482-1288
Atlanta | Bermuda | Cayman | Halifax



This email and its attachments may be confidential and are intended solely for 
the use of the individual or parties' to whom it is addressed. All comments are 
solely those of the author and do not necessarily represent those of Ignition. 
If you are not the intended recipient of this email and its attachments, you 
must take no action based upon them, nor must you copy or show them to anyone. 
Please contact the sender if you believe you have received this email in error. 
Thanks for considering the environmental impact before printing this email.
inline: image001.jpg___
-- 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] Timeout for Queue

2009-03-12 Thread Mark Michelson
Darrin Henshaw wrote:
 Hello,
 
  
 
 We had an incident recently where a call was in queue for an extended 
 period of time. We use queuemetrics for reporting, and it reports that 
 the call was waiting for 20 minutes. The different thing about it is 
 that the disconnect reason is stated as Timeout. Is there a set maximum 
 time a call will wait in the queue before being automatically 
 disconnected? I tried looking through the code directly, but I humbly 
 admit my programming skills are lax.
 
  
 
 I’m running Asterisk 1.2.31 on CentOS 4.7. Thanks.
 

A brief disclaimer: I admittedly don't have much experience with Asterisk 1.2, 
but I don't *think* this behavior is different between 1.2 and any later 
versions. What I'm stating below holds true for Asterisk 1.4.X and Asterisk 
1.6.X

The Queue application has no default timeout. A caller can stay in the queue 
forever if no timeout was given when calling the Queue application.

Mark Michelson

___
-- 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] timeout with queue SOLVED

2005-09-16 Thread Wolfgang Lumpp
In extensions.conf I have changed the queue command from:
exten = 1,1,Queue(itsupport|n|||50)
to:
exten = 1,1,Queue(itsupport|tT|||50)
Now it works as it should.

Regards
Wolfgang

Am Donnerstag, 15. September 2005 08:21 schrieb Wolfgang Lumpp:
 Am Mittwoch, 14. September 2005 19:12 schrieb Sander:
  In queues.conf
 
 
   ; How long do we let the phone ring before we consider this a timeout...
  ;
  timeout = 15

 This is set in queues.conf

  But this is just the function how long the phones will ring you should
  not set this option to long or your phone will stop ringing if a timeout
  is set in your phone
 
  But when the line hangs up after timeout you have set an option at the
  queue like this below it will stay in queue for 15 seconds then hangs up
 
  exten = 121,2,Queue(121|tT|||15)

 Here I have tried with 30 up to 120
 Every time after the second Nobody picked up in 15000ms I get the
 Exiting on time-out cycle Stopped music on hold on CAPI/contr1/s-0
 So the 3rd Queue member isn't called.
 Below are the configs

  Hi,
 
  I've setup a queue with 3 sip members.
  I've tried with random and roundrobin and different timeout settings
  in musiconhold.conf Always after the second Nobody picked up in 15000ms
  I get Exiting on time-out cycle Stopped music on hold on
  CAPI/contr1/s-0
 
  Where can I increase this timeout?
  asterisk 1.0.9 on linux 2.6.11 SuSE 9.3

 queues.conf

 [general]

 [default]

 [itsupport]

 music = default

 strategy = roundrobin

 retry = 5

 maxlen = 5

 member = sip/980
 member = sip/981
 member = sip/982


 extensions.conf


 [general]

 static=yes

 writeprotect=yes

 [globals]

 OUTBOUND=CAPI/contr1/
 WOL=SIP/980
 JSK=SIP/981
 SGA=SIP/982
 EVERYONE=${WOL}${SGA}${JSK}

 [default]

 include = mainmenu

 [outbound]

 include = externalcalls
 include = international

 [inbound-from-local]
 exten = i,1,Playback(invalid)
 exten = i,2,Hangup
 include = internalextensions
 include = outbound

 [inbound-from-sip]

 include = default

 [international]

 exten = _00.,1,Congestion

 exten = _14100.,1,Congestion

 [externalcalls]

 exten = _0.,1,Dial(${OUTBOUND}/b0${EXTEN},40,tT)
 exten = _0.,2,Congestion
 exten = _XXX,1,Dial(${OUTBOUND}/b${EXTEN},40,tT)
 exten = _XXX.,2,Congestion

 [inbound-from-sip]

 include = default

 [internalextensions]

 exten = 980,1,Macro(stdexten,980,${WOL})
 exten = wol,1,Goto(980|1)
 exten = 981,1,Macro(stdexten,981,${JSK})
 exten = jsk,1,Goto(981|1)
 exten = 982,1,Macro(stdexten,982,${SGA})
 exten = sga,1,Goto(982|1)

 [macro-stdexten]
 exten = s,1,Playback(transfer)
 exten = s,2,Dial(${ARG2},25,m)
 exten = s,3,Hangup()


 [mainmenu]
 exten = s,1,Wait,1   ; Wait a second, just for fun
 exten = s,2,Answer   ; Answer the line
 exten = s,3,DigitTimeout,5   ; Set Digit Timeout to 5 seconds
 exten = s,4,ResponseTimeout,130  ; Set Response Timeout to 10 
 seconds
 exten = s,5,BackGround(fallsenglisch) ;
 exten = s,6,BackGround(willkommen) ;
 exten = s,7,BackGround(probleme) ;
 exten = s,8,BackGround(it-menu)
 exten = s,9,Goto(s,5)

 exten = 1,1,Queue(itsupport|n|||50)

 exten = 2,1,Goto(s,5)

 exten = 5,1,BackGround(willkommen-en)
 exten = 5,2,BackGround(probleme-en)
 exten = 5,3,BackGround(it-menu-en)
 exten = 5,4,Goto(5,1)
 ___
 --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] timeout with queue

2005-09-15 Thread Wolfgang Lumpp
Am Mittwoch, 14. September 2005 19:12 schrieb Sander:
 In queues.conf


  ; How long do we let the phone ring before we consider this a timeout...
 ;
 timeout = 15
This is set in queues.conf


 But this is just the function how long the phones will ring you should not
 set this option to long or your phone will stop ringing if a timeout is set
 in your phone

 But when the line hangs up after timeout you have set an option at the
 queue like this below it will stay in queue for 15 seconds then hangs up

 exten = 121,2,Queue(121|tT|||15)
Here I have tried with 30 up to 120
Every time after the second Nobody picked up in 15000ms I get the
Exiting on time-out cycle Stopped music on hold on CAPI/contr1/s-0
So the 3rd Queue member isn't called.
Below are the configs

 Hi,

 I've setup a queue with 3 sip members.
 I've tried with random and roundrobin and different timeout settings in
 musiconhold.conf Always after the second Nobody picked up in 15000ms I
 get Exiting on time-out cycle Stopped music on hold on CAPI/contr1/s-0

 Where can I increase this timeout?
 asterisk 1.0.9 on linux 2.6.11 SuSE 9.3

queues.conf

[general]

[default]

[itsupport]

music = default

strategy = roundrobin

retry = 5

maxlen = 5

member = sip/980
member = sip/981
member = sip/982


extensions.conf


[general]

static=yes

writeprotect=yes

[globals]

OUTBOUND=CAPI/contr1/
WOL=SIP/980
JSK=SIP/981
SGA=SIP/982
EVERYONE=${WOL}${SGA}${JSK}

[default]

include = mainmenu

[outbound]

include = externalcalls
include = international

[inbound-from-local]
exten = i,1,Playback(invalid)
exten = i,2,Hangup
include = internalextensions
include = outbound

[inbound-from-sip]

include = default

[international]

exten = _00.,1,Congestion

exten = _14100.,1,Congestion

[externalcalls]

exten = _0.,1,Dial(${OUTBOUND}/b0${EXTEN},40,tT)
exten = _0.,2,Congestion
exten = _XXX,1,Dial(${OUTBOUND}/b${EXTEN},40,tT)
exten = _XXX.,2,Congestion

[inbound-from-sip]

include = default

[internalextensions]

exten = 980,1,Macro(stdexten,980,${WOL})
exten = wol,1,Goto(980|1)
exten = 981,1,Macro(stdexten,981,${JSK})
exten = jsk,1,Goto(981|1)
exten = 982,1,Macro(stdexten,982,${SGA})
exten = sga,1,Goto(982|1)

[macro-stdexten]
exten = s,1,Playback(transfer)
exten = s,2,Dial(${ARG2},25,m) 
exten = s,3,Hangup()


[mainmenu]
exten = s,1,Wait,1 ; Wait a second, just for fun
exten = s,2,Answer ; Answer the line
exten = s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds
exten = s,4,ResponseTimeout,130; Set Response Timeout to 10 
seconds
exten = s,5,BackGround(fallsenglisch) ;
exten = s,6,BackGround(willkommen) ;
exten = s,7,BackGround(probleme)   ;
exten = s,8,BackGround(it-menu)
exten = s,9,Goto(s,5)

exten = 1,1,Queue(itsupport|n|||50)

exten = 2,1,Goto(s,5)

exten = 5,1,BackGround(willkommen-en)
exten = 5,2,BackGround(probleme-en)
exten = 5,3,BackGround(it-menu-en)
exten = 5,4,Goto(5,1)
___
--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


[Asterisk-Users] timeout with queue

2005-09-14 Thread Wolfgang Lumpp
Hi,

I've setup a queue with 3 sip members.
I've tried with random and roundrobin and different timeout settings in 
musiconhold.conf
Always after the second Nobody picked up in 15000ms I get
Exiting on time-out cycle
Stopped music on hold on CAPI/contr1/s-0

Where can I increase this timeout?
asterisk 1.0.9 on linux 2.6.11 SuSE 9.3

Thanks a lot
Regards
Wolfgang
___
--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] timeout with queue

2005-09-14 Thread Sander



In queues.conf 


 ; How long do we let the phone ring before we consider this a timeout...
;
timeout = 15

But this is just the function how long the phones will ring you should not
set this option to long or your phone will stop ringing if a timeout is set
in your phone

But when the line hangs up after timeout you have set an option at the queue
like this below it will stay in queue for 15 seconds then hangs up

exten = 121,2,Queue(121|tT|||15)
Exten = 121,3,Hangup



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Wolfgang Lumpp
Verzonden: woensdag 14 september 2005 16:25
Aan: asterisk-users@lists.digium.com
Onderwerp: [Asterisk-Users] timeout with queue

Hi,

I've setup a queue with 3 sip members.
I've tried with random and roundrobin and different timeout settings in
musiconhold.conf Always after the second Nobody picked up in 15000ms I get
Exiting on time-out cycle Stopped music on hold on CAPI/contr1/s-0

Where can I increase this timeout?
asterisk 1.0.9 on linux 2.6.11 SuSE 9.3

Thanks a lot
Regards
Wolfgang
___
--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