[Home]

Summary:ASTERISK-08909: In use status not correct for sip queue members
Reporter:Tim Ferguson (crashhd)Labels:
Date Opened:2007-02-28 12:28:02.000-0600Date Closed:2007-06-30 09:20:08
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In use status is not being reported correctly for SIP members of a queue:

http://www.pastebin.ca/375860
http://www.pastebin.ca/375864



****** ADDITIONAL INFORMATION ******

sip.conf partial:

[general]
allowguest      = no
bindport        = 5060
bindaddr        = **************

tos_sip         = cs3
tos_audio       = ef
tos_video       = af41
maxexpiry       = 3600
defaultexpiry   = 120
checkmwi        = 10
videosupport    = yes
recordhistory   = yes
language        = en
rtptimeout      = 60
progressinband  = never
useragent       = TeamICS.net
subscribecontext = DEFAULT
notifyringing   = yes
relaxdtmf       = yes
dtmfmode        = rfc2833
canreinvite     = no
context         = INBOUND
qualify         = yes
limitonpeer     = yes

;VIDEO
videosupport    = yes
maxcallbitrate  = 384

;;CODEC
disallow        = all
allow           = g729
allow           = gsm

;JB
jbenable        = yes
jbforce         = no
jbmaxsize       = 200
jbresyncthreshold = 1000
jbimpl          = fixed
jblog           = no

queues.conf:

[general]
persistentmembers = yes
autofill = yes
monitor-type = MixMonitor

[one]
;musicclass = default
;announce = queue-markq
strategy = ringall
;servicelevel = 60
;context = qoutcon
timeout = 60
retry = 10
;weight=0
wrapuptime=0
autopause=no
maxlen = 0
setinterfacevar=no
announce-frequency = 0
periodic-announce-frequency=60
announce-holdtime = no ;(yes|no|once)
announce-round-seconds = 0
;
                       ;       ("You are now first in line.")
;queue-youarenext = queue-youarenext
                       ;       ("There are")
;queue-thereare = queue-thereare
                       ;       ("calls waiting.")
;queue-callswaiting = queue-callswaiting
                       ;       ("The current est. holdtime is")
;queue-holdtime = queue-holdtime
                       ;       ("minutes.")
;queue-minutes = queue-minutes
                       ;       ("seconds.")
;queue-seconds = queue-seconds
                       ;       ("Thank you for your patience.")
;queue-thankyou = queue-thankyou
                       ;       ("less than")
;queue-lessthan = queue-less-than
                       ;       ("Hold time")
;queue-reporthold = queue-reporthold
                       ;       ("All reps busy / wait for next")
periodic-announce = queue-periodic-announce

; monitor-format = gsm|wav|wav49
; monitor-join = yes
joinempty = no
leavewhenempty = strict
eventwhencalled = yes ;(yes|no|vars)
eventmemberstatus = no
reportholdtime = no
ringinuse = no
memberdelay = 0
;timeoutrestart = no


member => SIP/101
member => SIP/102
member => SIP/104
member => SIP/105
member => SIP/106
member => SIP/107
member => SIP/108
member => SIP/109
member => SIP/112
member => SIP/113
member => SIP/114
member => SIP/115
member => SIP/116
member => SIP/118
member => SIP/119
Comments:By: Tim Ferguson (crashhd) 2007-02-28 12:29:52.000-0600

Here is a sample device entry from the sip.conf:

[101]
type            = friend
context         = LONGDISTANCE
callerid        = Jason Crader <101>
host            = dynamic
nat             = yes
qualify         = yes
secret          = ******************
mailbox         = 101
call-limit      = 100

By: Tim Ferguson (crashhd) 2007-02-28 12:31:39.000-0600

Here is CLI from sip show channels:

Peer             User/ANR    Call ID      Seq (Tx/Rx)  Form  Hold     Last Message  
10.0.6.226       (None)      8239aaef313  00101/1870679927  unkn  No       Rx: REGISTER              
10.0.6.240       (None)      71daf17418f  00101/1092467083  unkn  No       Rx: REGISTER              
10.0.6.214       (None)      db221b56769  00101/1066256890  unkn  No       Rx: REGISTER              
10.0.6.215       (None)      4cacfb0c439  00101/1252457025  unkn  No       Rx: REGISTER              
10.0.6.210       (None)      af1a6881c07  00101/1802690494  unkn  No       Rx: REGISTER              
10.0.6.223       (None)      07c36ef19fd  00101/21495741  unkn  No       Rx: REGISTER              
10.0.6.204       (None)      9712683997e  00101/1459014694  unkn  No       Rx: REGISTER              
10.0.6.209       109         1cd3c1f3219  00102/00000  g729  No       Tx: ACK                  
10.0.6.205       105         105596725f9  00102/00000  unkn  No       Tx: ACK                  
10.0.6.239       (None)      4afda0367c1  00101/1200236150  unkn  No       Rx: REGISTER              
70.103.254.2     (None)      332bbcce6e6  00101/00102  unkn  No       Rx: OPTIONS              
70.103.254.2     voip7       067ebd63760  00141/00000  unkn  No                                
10.0.6.225       (None)      421a3596175  00101/1851726952  unkn  No       Rx: REGISTER              
10.0.6.211       (None)      e0aecd99413  00101/318732690  unkn  No       Rx: REGISTER              
70.103.254.2     voip7       5645d37f2fa  00101/00102  ulaw  No       Rx: ACK                  
10.0.6.229       116         1bfdf9a1770  00102/00000  g729  No       Tx: ACK                  
70.103.254.2     voip7       5858f15d7c0  00101/00102  ulaw  No       Rx: ACK                  
10.0.6.214       107         59c4ce27522  00102/00000  unkn  No       Tx: ACK                  
10.0.6.226       115         068caf34217  00102/00000  unkn  No       Tx: ACK                  
10.0.6.226       115         074453174b1  00102/00000  unkn  No       Tx: ACK                  
10.0.6.209       109         3c7b201e424  00102/00000  unkn  No       Tx: ACK                  
10.0.6.237       119         6d99cbc1769  00102/00000  unkn  No       Tx: ACK                  
10.0.6.238       118         3b6214aa2e3  00102/00000  unkn  No       Tx: ACK                  
10.0.6.229       116         3cdf7b23343  00102/00000  unkn  No       Tx: ACK                  
10.0.6.226       115         2264aa4074b  00102/00000  unkn  No       Tx: ACK                  
10.0.6.209       109         54400d0a042  00102/00000  unkn  No       Tx: ACK                  
10.0.6.215       108         310068fa299  00102/00000  unkn  No       Tx: ACK                  
10.0.6.214       107         16b7d7ea548  00102/00000  unkn  No       Tx: ACK                  
10.0.6.225       106         2bdb7c903b4  00102/00000  unkn  No       Tx: ACK                  
10.0.6.205       105         08bf16f70fe  00102/00000  unkn  No       Tx: ACK                  
10.0.6.206       104         6c35a792639  00102/00000  unkn  No       Tx: ACK                  
10.0.6.204       102         6607a385230  00102/00000  unkn  No       Tx: ACK                  
10.0.6.219       101         386341757cd  00102/00000  unkn  No       Tx: ACK                  
10.0.6.237       119         266a723851b  00102/00000  unkn  No       Tx: ACK                  
10.0.6.238       118         6589778a5db  00102/00000  unkn  No       Tx: ACK                  
10.0.6.229       116         275501591f3  00102/00000  unkn  No       Tx: ACK                  
10.0.6.215       108         260804df195  00102/00000  unkn  No       Tx: ACK                  
10.0.6.214       107         289168885ea  00102/00000  unkn  No       Tx: ACK                  
10.0.6.225       106         44666ba431a  00102/00000  unkn  No       Tx: ACK                  
10.0.6.205       105         7d8bcb09211  00102/00000  unkn  No       Tx: ACK                  
10.0.6.206       104         1e9f030b438  00102/00000  unkn  No       Tx: ACK                  
10.0.6.204       102         077cc23b064  00102/00000  unkn  No       Tx: ACK                  
10.0.6.219       101         3fe0b9793a2  00102/00000  unkn  No       Tx: ACK                  
10.0.6.237       119         5fc7d81f38f  00102/00000  unkn  No       Tx: ACK                  
10.0.6.238       118         30ab5103384  00102/00000  unkn  No       Tx: ACK                  
10.0.6.229       116         42a5dac4109  00102/00000  unkn  No       Tx: ACK                  
10.0.6.226       115         6b162b25622  00102/00000  unkn  No       Tx: ACK                  
10.0.6.208       112         47dc80ef5a3  00102/00000  unkn  No       Tx: ACK                  
10.0.6.209       109         3a3bcfae239  00102/00000  unkn  No       Tx: ACK                  
10.0.6.214       107         5f77483c5b0  00102/00000  unkn  No       Tx: ACK                  
10.0.6.225       106         1c3c860e076  00102/00000  unkn  No       Tx: ACK                  
10.0.6.205       105         157266dc344  00102/00000  unkn  No       Tx: ACK                  
10.0.6.206       104         2a9f02300bf  00102/00000  unkn  No       Tx: ACK                  
10.0.6.204       102         1858fcca00a  00102/00000  unkn  No       Tx: ACK                  
10.0.6.219       101         774d3a276c7  00102/00000  unkn  No       Tx: ACK                  
10.0.6.237       119         57388fba6c4  00102/00000  unkn  No       Tx: ACK                  
10.0.6.238       118         167ac0e7260  00102/00000  unkn  No       Tx: ACK                  
10.0.6.229       116         4ed21a284aa  00102/00000  unkn  No       Tx: ACK                  
10.0.6.226       115         319a77eb26b  00102/00000  unkn  No       Tx: ACK                  
10.0.6.208       112         22b604234eb  00102/00000  unkn  No       Tx: ACK                  
10.0.6.209       109         201d32226b8  00102/00000  unkn  No       Tx: ACK                  
10.0.6.214       107         79b3950b56d  00102/00000  unkn  No       Tx: ACK                  
10.0.6.225       106         6faf970c1dd  00102/00000  unkn  No       Tx: ACK                  
10.0.6.205       105         5c40e05f235  00102/00000  unkn  No       Tx: ACK                  
10.0.6.206       104         126e96b02e6  00102/00000  unkn  No       Tx: ACK                  
10.0.6.204       102         74a406980ba  00102/00000  unkn  No       Tx: ACK                  
10.0.6.219       101         2d080c0b264  00102/00000  unkn  No       Tx: ACK

By: Serge Vecher (serge-v) 2007-02-28 13:21:11.000-0600

please test with a more recent revision of 1.4 ( > 57K)

By: Richard Wilkinson (rickead2000) 2007-03-07 17:29:05.000-0600

This issue is still present in 1.4.1

By: Serge Vecher (serge-v) 2007-03-08 08:21:55.000-0600

then we need to see a sip debug as per:

1) Prepare test environment (reduce the amount of unrelated traffic on the server);
2) Make sure your logger.conf has the following line:
  console => notice,warning,error,debug
3) restart Asterisk with the following command:
  'asterisk -Tvvvvvdddddngc | tee /tmp/verbosedebug.txt'
4) Enable SIP transaction logging with the following CLI commands (1.4/trunk commands in parenthesis):
set debug 4 (core set debug 4)
set verbose 4 (core set verbose 4)
sip debug (sip set debug)
5) Reproduce the problem
6) Trim startup information and attach verbosedebug.txt to the issue.



By: Russell Bryant (russell) 2007-03-14 14:20:22

You have a typo in your configuration.  It was "limitonpeers" and not "limitonpeer".  However, I just updated the code to support both.  Give it another try.

By: Olle Johansson (oej) 2007-05-15 11:48:25

Any updates? Please test with latest 1.4 svn version, since we have changed quite a lot of stuff in regards to states.

By: BJ Weschke (bweschke) 2007-05-23 11:59:15

Going to close this since no response from the original poster after the code change to accommodate both situations of the config verbs.