-
Notifications
You must be signed in to change notification settings - Fork 15
Description
This is a big problem with the coding of parking
The normal setting for the Parking is 700 by default.
If it happen to be setup for 700 with slots 701-703. It will save the info into the extensions_additional.conf and res_parking_additional.conf
res_parking_additional.conf
parkext=700
parkpos=701-703
context=parkedcalls
parkext_exclusive=no
parkingtime=150
comebacktoorigin=no
parkedplay=both
courtesytone=beep
parkedcalltransfers=caller
parkedcallreparking=caller
parkedmusicclass=default
findslot=first
Now if we do a command feature show. We happen to see this.
Call parking (Parking lot: default)
Parking extension : 700
Parking context : parkedcalls
Parked call extensions: 701-750
Parkingtime : 45000 ms
Comeback to origin : yes
Comeback context : parkedcallstimeout (comebacktoorigin=yes, not used)
Comeback dial time : 30
MusicOnHold class : default
Enabled : Yes
how if you look at the Parked call extensions line. You will see the system say that the slots aer from 701-750. When it show be 701-703
How this is where the problem come in.
If change the lot to 800 with slots 801-803. And saved
We can see in the file res_parking_additional.conf it has been update.
parkext=800
parkpos=801-803
context=parkedcalls
parkext_exclusive=no
parkingtime=150
comebacktoorigin=no
parkedplay=both
courtesytone=beep
parkedcalltransfers=caller
parkedcallreparking=caller
parkedmusicclass=default
findslot=first
If we run a feature show command again. We will see this.
Call parking (Parking lot: default)
Parking extension : 700
Parking context : parkedcalls
Parked call extensions: 701-750
Parkingtime : 45000 ms
Comeback to origin : yes
Comeback context : parkedcallstimeout (comebacktoorigin=yes, not used)
Comeback dial time : 30
MusicOnHold class : default
Enabled : Yes
Also if try to park into 800 now it will recall the call back to the ext without even parking.
If you take what is in the res_parking_additional.conf into the features_general_additional.conf
Do a reload and it will show the right parking info.
So all in all it looks like the system isn't loading any info in the res_parking_additional.conf file. So this is messing up the parking system if the lot has been changed.