[asterisk-bugs] [Asterisk 0013238]: Flase state in core show hints

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 5 08:48:51 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13238 
====================================================================== 
Reported By:                kowalma
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13238
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta9 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-05 07:45 CDT
Last Modified:              2008-08-05 08:48 CDT
====================================================================== 
Summary:                    Flase state in core show hints
Description: 
core show hint shows false value of dev state:

asterisk-IBM*CLI> core show hint 1231
                   1231 at hints               : SIP/1231             
State:InUse           Watchers  0
1 hint matching extension 1231


asterisk-IBM:/usr/src# rasterisk -x "core show channels" | grep 1231
asterisk-IBM:/usr/src#

asterisk-IBM:/usr/src# rasterisk -x "sip show channels" | grep 1231

SIP/1231 is asterisk 1.4.19, asterisk IBM (where I do core show hints) is
1.6.beta9

Restarting asterisk on 1231 does not solve the problem. 
====================================================================== 

---------------------------------------------------------------------- 
 (0091083) kowalma (reporter) - 2008-08-05 08:48
 http://bugs.digium.com/view.php?id=13238#c91083 
---------------------------------------------------------------------- 
It happens very random and I don't know how to reproduce it yet. I have
incomming queue and I use hint's to detect if agent is busy or not.
I use following settings in sip.conf 

[general]
limitonpeers=yes
rtptimeout = 600
session-timers=accept
session-expires=120
session-minse=90
session-refresher=uas
rtptimeout=600
notifyringing = yes
notifyhold = yes
callcounter = yes
allowsubscribe=yes
subscribecontext = hints

[1231]
type=friend
secret=XXXXX
host=dynamic
qualify=20
nat=no
allow=all
allow=ulaw
context=form-cc
usereqphone=yes
callerid=1231
subscribecontext=hints

[hints] contains:

exten =>1231,hint,SIP/1231

Incomming calls to queues looks like that:
[one]
musicclass = one
joinempty = yes
strategy = leastrecent
retry = 10
maxlen = 100
announce-holdtime = no
wrapuptime=5
memberdelay = 5
memberdelay = 0
periodic-announce-frequency=30
periodic-announce = pls_wait

dialplan to route calls to queue one

exten => 116,1,Ringing()
exten => 116,n,wait(6)
exten => 116,n,Set(CHANNEL(musicclass)=one)
exten => 116,n,GotoIfTime(7:00-21:00,mon-sat,*,*?open)
exten => 116,n,GotoIfTime(9:00-20:00,sun,*,*?open)
exten => 116,n,goto(closed)
exten => 116,n(open),Set(QUEUE_PRIO=15)
exten => 116,n,SipAddHeader(queue: ${EXTEN})
exten => 116,n,answer()
exten => 116,n,wait(1)
exten => 116,n,playback(welcome)
exten => 116,n,Queue(one)
exten => 116,n,hangup(16)
exten => 116,n(closed),answer()
exten => 116,n,wait(1)
exten => 116,n,playback(closed)
exten => 116,n,Voicemail(119 at queue-vm,s)
exten => 116,n,hangup(16) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-05 08:48 kowalma        Note Added: 0091083                          
======================================================================




More information about the asterisk-bugs mailing list