[asterisk-users] Queue announcement issues

Phil Jordan asterisk at tmcinternet.com
Wed Jul 26 12:28:38 MST 2006


Thank you for replying, Dinesh.

Right, if all the cryptic comment I found just refers to the Zaptel  
stuff, that isn't a problem. Thank you for the clarification. To  
business:

My queue timeout is 240 seconds. My periodic announcement interval is  
30 seconds. Queue position announcements are disabled (and anyway they  
don't work either - which may be a clue).

After 90 plus seconds in the verbose log example to follow, the caller  
hangs up, having heard MoH for the duration and the agent's phone  
having been ringing just fine. Any insight about where to proceed next  
would be most welcome. Thanks.

This is my queue statement in extensions.conf:

exten => s,n,Queue(hasbean-sales,Hthn|||240)

This is my queues.conf:

[general]
persistentmembers = yes

[hasbean-sales]
strategy = ringall
maxlen=0
announce-holdtime = no
announce-frequency = 0
announce = hasbean/salescall
periodic-announce = hasbean/que
periodic-announce-frequency = 30
joinempty = strict
leavewhenempty = strict

..... and another queue which is identical in all but name.

This is the verbose log from the call:

Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Accepting  
AUTHENTICATED call from 193.111.200.135:
        > requested format = ulaw,
        > requested prefs = (),
        > actual format = alaw,
        > host prefs = (alaw|ilbc|gsm|ulaw),
        > priority = mine
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Executing  
Goto("IAX2/193.111.200.135:4569-4", "hasbean-incoming|s|1") in new stack
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Goto (hasbean-incoming,s,1)
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Executing  
Answer("IAX2/193.111.200.135:4569-4", "") in new stack
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Executing  
Set("IAX2/193.111.200.135:4569-4", "TIMEOUT(digit)=5") in new stack
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Digit timeout set to 5
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Executing  
Set("IAX2/193.111.200.135:4569-4", "TIMEOUT(response)=30") in new stack
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Response timeout set to 30
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Executing  
BackGround("IAX2/193.111.200.135:4569-4", "hasbean/initialmessage") in  
new stack
Jul 26 20:05:13 DEBUG[16371] channel.c: Scheduling timer at 160 sample  
intervals
Jul 26 20:05:13 VERBOSE[16371] logger.c:     -- Playing  
'hasbean/initialmessage' (language 'en')
Jul 26 20:05:13 DEBUG[16371] chan_iax2.c: Ooh, voice format changed to 8
Jul 26 20:05:17 DEBUG[16371] channel.c: Scheduling timer at 0 sample intervals
Jul 26 20:05:17 DEBUG[16371] pbx.c: Oooh, got something to jump out  
with ('1')!
Jul 26 20:05:22 VERBOSE[16371] logger.c:   == CDR updated on  
IAX2/193.111.200.135:4569-4
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Executing  
Goto("IAX2/193.111.200.135:4569-4", "hasbean-sales|s|1") in new stack
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Goto (hasbean-sales,s,1)
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Executing  
Set("IAX2/193.111.200.135:4569-4", "CALLERID(name)=Sales Queue") in  
new stack
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Executing  
Queue("IAX2/193.111.200.135:4569-4", "hasbean-sales|Hthn|||240") in  
new stack
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Started music on hold,  
class 'default', on IAX2/193.111.200.135:4569-4
Jul 26 20:05:22 DEBUG[16371] channel.c: Scheduling timer at 160 sample  
intervals
Jul 26 20:05:22 DEBUG[16371] channel.c: Avoiding initial deadlock for  
'IAX2/phil-5'
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Called IAX2/phil
Jul 26 20:05:22 DEBUG[16371] channel.c: Generator got voice, switching  
to phase locked mode
Jul 26 20:05:22 DEBUG[16371] channel.c: Scheduling timer at 0 sample intervals
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Call accepted by  
82.11.45.110 (format gsm)
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- Format for call is (gsm)
Jul 26 20:05:22 VERBOSE[16371] logger.c:     -- IAX2/phil-5 is ringing
Jul 26 20:05:56 DEBUG[16371] chan_sip.c: Stopping retransmission on  
'27f07bc51d4dd6ff615e0e606601f290 at 217.77.182.195' of Request 102:  
Match Found
Jul 26 20:06:03 DEBUG[16371] chan_sip.c: Auto destroying call  
'2817051966 at 192.168.1.103'
Jul 26 20:06:56 DEBUG[16371] chan_sip.c: Stopping retransmission on  
'508023940c9ff2d658ffc6130025370b at 217.77.182.195' of Request 102:  
Match Found
Jul 26 20:06:57 DEBUG[16371] chan_iax2.c: Immediately destroying 4,  
having received hangup
Jul 26 20:06:57 VERBOSE[16371] logger.c:     -- Stopped music on hold  
on IAX2/193.111.200.135:4569-4
Jul 26 20:06:57 DEBUG[16371] channel.c: Scheduling timer at 0 sample intervals
Jul 26 20:06:57 DEBUG[16371] chan_iax2.c: We're hanging up IAX2/phil-5 now...
Jul 26 20:06:57 VERBOSE[16371] logger.c:     -- Hungup 'IAX2/phil-5'
Jul 26 20:06:57 VERBOSE[16371] logger.c:   == Spawn extension  
(hasbean-sales, s, 2) exited non-zero on 'IAX2/193.111.200.135:4569-4'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '"Sales Queue"  
<07798614850>'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '07798614850'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is 's'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is 'hasbean-sales'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is  
'IAX2/193.111.200.135:4569-4'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '(null)'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is 'Queue'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is  
'hasbean-sales|Hthn|||240'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '2006-07-26 20:05:13'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '2006-07-26 20:05:13'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '2006-07-26 20:06:57'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '104'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '104'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is 'ANSWERED'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is 'DOCUMENTATION'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '(null)'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '1153940713.6'
Jul 26 20:06:57 DEBUG[16371] pbx.c: Function result is '(null)'
Jul 26 20:06:57 DEBUG[16371] chan_iax2.c: We're hanging up  
IAX2/193.111.200.135:4569-4 now...
Jul 26 20:06:57 DEBUG[16371] chan_iax2.c: Really destroying  
IAX2/193.111.200.135:4569-4 now...
Jul 26 20:06:57 VERBOSE[16371] logger.c:     -- Hungup  
'IAX2/193.111.200.135:4569-4'
Jul 26 20:07:00 DEBUG[16371] chan_sip.c: Auto destroying call  
'2817051966 at 192.168.1.103'
Jul 26 20:07:57 DEBUG[16371] chan_sip.c: Stopping retransmission on  
'3f56cca85b964a1467d996057e085786 at 217.77.182.195' of Request 102:  
Match Found
Jul 26 20:08:00 DEBUG[16371] chan_sip.c: Auto destroying call  
'2817051966 at 192.168.1.103'



Quoting Dinesh Nair <dinesh at alphaque.com>:

>
>
> On 07/26/06 14:58 Phil Jordan said the following:
>> Before I get round to posting my configs for critique, is this a   
>> BSD  port issue? I see stuff around on the net re the BSD port, to   
>> the
>
> no, it isn't a BSD port issue. many people run asterisk from ports with
> ACDs without any problems. in your situation, you'd probably need to
> provide more information (CLI verbose output, for starters) before
> someone can give you a more accurate solution.
>
>> effect that there are some issues with Asterisk applications which   
>> are related to timers. What exactly is meant by that please? Is   
>> that what
>
> the zaptel-bsd drivers have the ztdummy timer and they're in ports and
> subversion. look for zaptel-bsd in the wiki.
>
> -- 
> Regards,                           /\_/\   "All dogs go to heaven."
> dinesh at alphaque.com                (0 0)   http://www.openmalaysiablog.com/
> +==========================----oOO--(_)--OOo----==========================+
> | for a in past present future; do                                        |
> |   for b in clients employers associates relatives neighbours pets; do   |
> |   echo "The opinions here in no way reflect the opinions of my $a $b."  |
> | done; done                                                              |
> +=========================================================================+
> _______________________________________________
> --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








More information about the asterisk-users mailing list