Summary:ASTERISK-09183: Hints problems with SLA
Reporter:Francesco Romano (francesco_r)Labels:
Date Opened:2007-04-04 08:16:28Date Closed:2007-07-09 21:20:44
Versions:Frequency of
Environment:Attachments:( 0) debugsla.txt
( 1) debugsla2.txt
Description:I have configured SLA (see other issue 9204 for sla.conf) but i have problems with hints not properly updated. I have attached a full debug for example doing the following simple procedure:
- Extension 201 call through SLATrunk line4
- 201 put the answered call on hold
- the remote party hangup
- the channel is closed but the blf of my phone (Grandstream GXP2000) it's still red.

In the console with the command "core show hints" i can see
station2_line4@sla_stations        : SLA:station2_line4    State:Hold
station1_line4@sla_stations        : SLA:station1_line4    State:Hold

I must restart asterisk to reset the state of line4.
Comments:By: Russell Bryant (russell) 2007-04-04 11:27:21

This issue should be fixed in the 1.4 branch and trunk in revisions 60069 and 60070.  Thank you for the very well done report!

By: Francesco Romano (francesco_r) 2007-04-05 11:44:12

I have reopened this issue because i have still problems with the status of sla trunks.
For example:
- Extension 201 call through SLATrunk line4
- 201 put the answered call on hold
- 202 press BLF line4 (station2_line4) and take the call from on hold
- 202 hangup the phone
So the trunks must be hangup but in the console i can see:

station2_line4@sla_stations        : SLA:station2_line4    State:Hold            Watchers  1
station1_line4@sla_stations        : SLA:station1_line4    State:Hold            Watchers  1

The channel is close only if the remote party hangup.
I have attached a new log file.

While i am at it, i ask Russel a few questions...
In traditional key systems, the user can take the call from SLA only if it's on hold, so i setup barge=no. But with this option, i can't reconnect to the trunk from any phones. The documentation says "If this option is set to "no", then no station will be allowed to join a call that is in progress" but when a call is on hold?

Why the remote party hear silence and no music when on hold?

How can i transfer from SLA to another extension not defined in sla.conf?

How can i pickup a ringing SLA from a station not ringing but defined in sla.conf with a long ringdelay?

Thank you!

By: Russell Bryant (russell) 2007-04-06 14:02:51

I have committed a few more fixes to 1.4 and trunk in revisions 60521 and 60522.  I'll try to address each of your questions:

1)  The "barge=no" option was not supposed to affect calls on hold.  This has been fixed.

2) This was something I forgot to implement, but it is done now.  When a trunk is on hold, it should now get music on hold.

3) There is no concept of a transfer in an SLA setup.  The traditional way to do this would be to put a call on hold and ask the other person to pick up that line.

4) You should be able to pick up a trunk that is ringing, even if your phone has a long ring delay, if you just press the correct line button on your phone.  The phone should dial the correct extension to connect you to that line.