[Asterisk-Users] timeout with queue SOLVED

Wolfgang Lumpp wol at msc-ge.com
Fri Sep 16 02:26:32 MST 2005


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



More information about the asterisk-users mailing list