We are running asterisk certified-asterisk-22-8-cert4.
What we had with asterisk 1.8
1.8> call comes into sla line, answered on 102, put on hold, call drops off of 102 and shows busy on sla key on all phones, pressing sla key on 104 connects you back to the outside call, hold puts it back to the sla line as busy, pressing it on 104 when 102 is active on the call connects both 102 and 104 to the outside party
What asterisk 22 does.
a22 > call comes into sla line, answered on 104, placed on hold on 104, call stays on 104 as on-hold, pressing sla key on 105 connects you to that outside line, hanging up the call on 105 leaves the call up on 104, unhold on 104 connects you back to the outside line again.
What I want to know is how do we get ext 104 when it puts the call on hold to leave the bridge. So that when ext 105 picks up the sla line and hangs up the inbound channel hangs up properly.
Is this some configuration that needs to be done to allow this behavior?
sudo asterisk -rx “sla show trunks”
=============================================================
=== Configured SLA Trunks ===================================
===
=== ---------------------------------------------------------
=== Trunk Name: B064777T4192
=== ==> Device: Local/trunk-4192@vatupullmeow/n
=== ==> AutoContext: (none)
=== ==> RingTimeout: 30 Seconds
=== ==> BargeAllowed: Yes
=== ==> HoldAccess: Open
=== ==> Stations …
=== ==> Station name: B064777D00002L4192
=== ---------------------------------------------------------
=== ---------------------------------------------------------
=== Trunk Name: B064777T4761
=== ==> Device: Local/trunk-4761@vatupullmeow/n
=== ==> AutoContext: (none)
=== ==> RingTimeout: 30 Seconds
=== ==> BargeAllowed: Yes
=== ==> HoldAccess: Open
=== ==> Stations …
=== ==> Station name: B064777D00004L4761
=== ==> Station name: B064777D00005L4761
=== ---------------------------------------------------------
=============================================================
sudo asterisk -rx “sla show stations”
=============================================================
=== Configured SLA Stations =================================
===
=== ---------------------------------------------------------
=== Station Name: B064777D00002L4192
=== ==> Device: PJSIP/sip101_vatupullmeow
=== ==> AutoContext: (none)
=== ==> RingTimeout: (none)
=== ==> RingDelay: (none)
=== ==> HoldAccess: Open
=== ==> Trunks …
=== ==> Trunk Name: B064777T4192
=== ==> State: SLA_TRUNK_STATE_IDLE
=== ==> RingTimeout: (none)
=== ==> RingDelay: (none)
=== ---------------------------------------------------------
=== ---------------------------------------------------------
=== Station Name: B064777D00004L4761
=== ==> Device: PJSIP/sip104_vatupullmeow
=== ==> AutoContext: (none)
=== ==> RingTimeout: (none)
=== ==> RingDelay: (none)
=== ==> HoldAccess: Open
=== ==> Trunks …
=== ==> Trunk Name: B064777T4761
=== ==> State: SLA_TRUNK_STATE_IDLE
=== ==> RingTimeout: (none)
=== ==> RingDelay: (none)
=== ---------------------------------------------------------
=== ---------------------------------------------------------
=== Station Name: B064777D00005L4761
=== ==> Device: PJSIP/sip105_vatupullmeow
=== ==> AutoContext: (none)
=== ==> RingTimeout: (none)
=== ==> RingDelay: (none)
=== ==> HoldAccess: Open
=== ==> Trunks …
=== ==> Trunk Name: B064777T4761
=== ==> State: SLA_TRUNK_STATE_IDLE
=== ==> RingTimeout: (none)
=== ==> RingDelay: (none)
=== ---------------------------------------------------------
============================================================