Hello everyone,
I’m facing an issue with the parking extension in Asterisk and I need help to achieve a specific functionality.
Problem:
In my Asterisk configuration, I’m using res_parking.conf
to park calls and later pick them up using a parking extension (e.g., 799
). However, when I call the parking extension (799
), the parking number (i.e., “7 9 9”) is automatically announced, and I want to prevent that.
This means that when retrieving the parked call (i.e., when someone calls the parking number), the extension number “7 9 9” is played by default. I’d like to avoid this announcement.
Current Configuration:
res_parking.conf
[LocationA-parking]
context => LocationA-parking-lot
parkext => 799 ; Parking Extension
parkpos => 800-809 ; Parking Positions
courtesytone = none ; No default announcement before parking
parkedplay = caller ; Play the caller’s music
comebacktoorigin = no ; Do not return to the original position
parkedmusicclass = default ; Music class for parked calls
parkext_exclusive = yes ; Ensure parking extension is used exclusively
parkinghints = yes ; Parking hints enabled
parkingtime = 99999999 ; Very long parking time
What have I tried so far?
- The
courtesytone = none
setting in theres_parking.conf
to prevent a standard announcement when parking the call. However, this has no effect on the issue where the parking extension still announces its number when dialed. - Adjusting the dialplan to intercept the parking number and play a custom announcement or silence, which hasn’t led to the desired outcome.
What I want to achieve:
I want to prevent the parking extension number (e.g., 799
) from being automatically announced when I directly dial the parking extension. Instead, I would like to either have no announcement or a custom announcement.
Currently, the only solution I see is to delete the audio files from the “digits” directory, but I don’t consider that a practical solution.
Has anyone encountered this before or can suggest a solution to suppress the parking extension number announcement without changing the overall parking behavior?
I look forward to any help or suggestions!
Thanks in advance!