This dialplan is meant to not record any calls any feature code calls. This means all calls starting with a * prefix. However if you set the call to record all on the extension wouldn't you expect it to record all calls? Including when picking up a call. Or when intercepting call? or when un-parking a call. Had a someone call that had used a * prefix on an outbound route because they did that this condition prevented the call from being recorded which they didn't expect when the extension was set to record all calls. Tempted to remove it entirely but have instead disabled it by default for now.
* Add extension_effective_caller_id_name and extension_effective_caller_id_number
Adds 2 new variables to the user_exists dialplan:
* extension_caller_id_name
* extension_caller_id_number
This allows us to access these channel variables from the event socket and get the caller id name and number of the dialed extension when an inbound call comes in to that extension.
* Update 010_user_exists.xml
---------
Co-authored-by: FusionPBX <markjcrane@gmail.com>
When logging into call center from phone, index.lua
only supports identity with agent_id. We allow passing
agent_name as well to assist with BLF configuration.
Update local_extension fail_on_single_reject to handle stale registrations and other failures. Previously any failure mode would cause the call to drop to all registrations.
With set to false the callers original outbound caller ID information is used.
Keep original callers caller ID is now set as the default.
With these enabled to true the caller ID is picked from the extension being called.
- Original kickall had an extra set command and was missing the domain name.
- Shouldn't be needed because conference is set to end when moderator leaves
- For this reason disabled by default.
- Additional kickall with sched_api is a time limit for the call
When the caller is a local extension to another location extension the caller ID in the follow-me-destinations dialplan sets the caller ID to the local extension number and then the VoIP provider doesn't accept the call. As long as the local extension has Outbound Caller ID set on their extension then the information is already correct.
* [user_record] move back to session_record
use RECORD_ANSWER_REQ variable to start recording after answer
* Use record_session but leave api_on_answer as an disabled option.
Co-authored-by: FusionPBX <markjcrane@gmail.com>
Some people were used to *72 original behavior then at some point someone added *72 followed by 2 - 20 digits. However to make everyone happy both of these can co-exist.
Using ${sip_authorized} is not effective since the inbound
call often has authorization to call into the PBX, either via
ACL or registration. Instead, use ${from_user_exists} to test
if this user exists on the system.
We also fix a condition that the local user types *1 and the
remote user receives the dial tone.
* [click_to_call] fix Call-Info header set on bleg and move dialplan order before outbound route
* Update and rename 530_click_to_call_auto_answer.xml to 25_click_to_call_auto_answer.xml
- Used api_on_answer so that the recording only starts when the call is answered. Should save diskspace and prevent the need for using action: ringback.
- Added 'both,self' to the end of the bind_digit_action to fix inbound call mask.
This is a dialplan approach to fix the feature key sync loop/race with yealink phones. This aproach may also need to be extended to the Call Forward dialplans as well. It limits the number of simultaneous calls for a particular user to change their DND/Forwarding status to a single call at a time. This prevents the infinite loops that the yealinks can get into if the user presses the DND button too quickly with feature key sync enabled.
I am also reverting the lua fix because it was not reliable and can still easily allow the loop to occur.
This variable should be optional as it can be defined in other places as well. It should not be assumed that this is the only place it could be set for those that need it.
Parking lots are no longer directly prefixed with *. But for backwards compatibility can be called that way still.
Parking lot name changed from `park` to `5900` to allow monitoring the whole parking lot with a BLF if desired.
Fix regex from matching 5900 to allow this dialplan to work with the valet_park_auto if enabled.
If the Referred-By header is set call the normal `auto in` code. If it isn't set that means someone called it directly, call `auto out` ato attempt to pop the calls in the lot in FIFO order.
This also changes the parking lot name from `park` to `5900` this allows phones to monitor `park+5900` to get the status of the whole parking lot. Before you would have to monitor `park+park` to get this functionality.
By default custom caller ID names will get clobbered by this diaplan if no number is set. This is potentially problematic if you just want a custom caller ID name set for multiple extensions using the default caller ID number.