|Summary:||ASTERISK-12478: "State:Idle" when placing outgoing calls|
|Reporter:||Helmut Celina (rzuw)||Labels:|
|Date Opened:||2008-07-29 07:27:47||Date Closed:||2011-06-07 14:07:55|
|Environment:||Attachments:||( 0) state_idle|
|Description:||The state information for a particular phone is updated correctly on incoming calls ("core show hints" results in "State:Ringing" and "State:InUse" as it should) but not on outgoing calls (when the user on the phone calls a different number the state information remains "State:Idle").|
|Comments:||By: Tilghman Lesher (tilghman) 2008-07-29 09:00:24|
There have been a ton of changes since beta9 relating to device states. Could you please update to the latest 1.6.0 SVN and try again?
By: Helmut Celina (rzuw) 2008-07-29 10:04:44
We have now tried SVN-branch-1.6.0-r134164-/trunk.
The same problem still exists.
By: Tilghman Lesher (tilghman) 2008-07-29 11:02:40
Okay, we'll need to see the actual output, first of 'core show hints', and then the console output while a call is being placed.
By: Helmut Celina (rzuw) 2008-07-30 04:38:04
I have attached a file with debug output and "core show hints" for a call from extension 3013 to extension 3190. Extension 3013 is shown as "State:Idle" before, during (ringing and in use) and after the call.
By: Tilghman Lesher (tilghman) 2008-09-11 17:54:48
rzuw: do you have a call-limit set on these peers? There doesn't need to be any particular limit; you could the value to 500, for example.
By: Helmut Celina (rzuw) 2008-09-17 04:43:54
Of course we have set a call-limit, otherwise we could not get the status info in the core show hints -output. Our limit is set to 5.
By the way, our problem is not with the status of the called number, but rather with the status of the calling number.
The problem still exists with version 1.6.0-rc6.
By: Mark Michelson (mmichelson) 2008-09-17 09:32:06
Is the SIP peer with the problem a "peer" or "friend" type in sip.conf? Do you have limitonpeers=yes set in sip.conf?
By: Helmut Celina (rzuw) 2008-09-17 09:46:11
> Is the SIP peer with the problem a "peer" or "friend" type in sip.conf?
> Do you have limitonpeers=yes set in sip.conf?
We don't have this line (and the default seems to be "no").
By: Mark Michelson (mmichelson) 2008-09-17 13:52:42
Sorry about asking open-ended questions like that without explaining why I was asking them.
I have found (through experience, not through development) that SIP peers defined as type=peer work properly for showing their state on outgoing calls, and that SIP peers defined as type=friend will mostly work for showing their state on outgoing calls IF limitonpeers=yes is set. Essentially, the limitonpeers setting is supposed to allow for "friends" to have the call-limit applied on their outgoing calls too. Please give either of these options a try and see if they work properly. Thanks!
By: Helmut Celina (rzuw) 2008-09-19 06:49:33
Yes, it works now.
(it seems as if this was not necessary with the 1.4 version)
Thanks for the help.
By: Mark Michelson (mmichelson) 2008-09-19 12:29:37
All right, great to hear! I'll just go ahead and close this report then.