Summary:ASTERISK-15044: hint not updated correctly on outgoing SIP calls
Reporter:jstapleton (jstapleton)Labels:
Date Opened:2009-10-27 18:24:09Date Closed:2011-06-07 14:00:52
Versions:Frequency of
Environment:Attachments:( 0) extensions.conf
( 1) sip.conf
Description:During an outbound SIP call, "sip show inuse" shows jstapleton_6757i "In use"; however, "core show hints" shows idle.

Inbound SIP calls update hint to "InUse" correctly.  

Inbound and outbound IAX calls update hint to "InUse" correctly.


localhost*CLI> sip show inuse
* User name               In use          Limit
ckunkle_polycom           0               99
sleinberger_snom360       0               99
jstapleton_6757i          1               99
jstapleton_6730i          0               99
fbrumbaugh_6739i          0               99
ckunkle_eyebeam           0               99
jstapleton_eyebeam        0               99
* Peer name               In use          Limit
ckunkle_polycom           0/0             99
sleinberger_snom360       0/0             99
jstapleton_6757i          0/0             99
jstapleton_6730i          0/0             99
fbrumbaugh_6739i          0/0             99
ckunkle_eyebeam           0/0             99
jstapleton_eyebeam        0/0             99

localhost*CLI> core show hints
   -= Registered Asterisk Dial Plan Hints =-
                  1606@users               : SIP/ckunkle_polycom   State:Idle            Watchers  3
                  1604@users               : SIP/sleinberger_snom  State:Idle            Watchers  3
                  1602@users               : SIP/fbrumbaugh_6739i  State:Idle            Watchers  4
                  1601@users               : SIP/jstapleton_6757i  State:Idle            Watchers  3
Comments:By: Leif Madsen (lmadsen) 2009-10-28 09:04:07

This is likely a configuration issue, but just to be sure, please provide your sip.conf and extensions.conf related sections.

By: Leif Madsen (lmadsen) 2009-11-11 10:46:21.000-0600

Closed due to lack of response from the reporter.

By: Leif Madsen (lmadsen) 2009-11-20 11:57:15.000-0600

Reopening this issue as I hadn't noticed the requested information was submitted when I closed this.

By: Leif Madsen (lmadsen) 2009-11-20 12:57:38.000-0600

Try this option:

;limitonpeers = yes             ; Apply call limits on peers only. This will improve
                               ; status notification when you are using type=friend
                               ; Inbound calls, that really apply to the user part
                               ; of a friend will now be added to and compared with
                               ; the peer limit instead of applying two call limits,
                               ; one for the peer and one for the user.
                               ; "sip show inuse" will only show active calls on
                               ; the peer side of a "type=friend" object if this
                               ; setting is turned on.

By: Jared Smith (jsmith) 2009-11-20 13:08:34.000-0600


I had him try that option several weeks ago before asking him to open the bug report.


By: jstapleton (jstapleton) 2009-11-20 14:08:33.000-0600


As Jared said, we have already tried this.  It did not change anything.

By: Leif Madsen (lmadsen) 2009-11-23 19:54:04.000-0600

OK, I certainly couldn't have known that as I'm not as good at reading minds as I used to be in 1999.

By: Leif Madsen (lmadsen) 2009-11-23 19:54:44.000-0600

I'm going to ask for a sip debug with history and console output as this is happening so that we can further track down what might be the culprit here.

By: Leif Madsen (lmadsen) 2009-12-21 10:01:39.000-0600

Closing this as there are a couple other issues open which are duplicated of this.