This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
configuration:telephony:dialplan [2019/06/06 13:05] – [Attendance out] acruz | configuration:telephony:dialplan [2024/04/09 17:47] – [Caller id rule] admin | ||
---|---|---|---|
Line 28: | Line 28: | ||
< | < | ||
${destination_number} => the destination number dialed by the user | ${destination_number} => the destination number dialed by the user | ||
- | ${caller_id_number} => the caller id number | + | ${caller_id_number} => the call caller id number |
+ | ${caller_id_name} => the call caller id name | ||
+ | ${origination_caller_id_number} => the call caller id number effective | ||
+ | ${origination_caller_id_name} => the call caller id name effective | ||
${val1}, ${val2}, ... => use the resulting match from the regular expression inside () | ${val1}, ${val2}, ... => use the resulting match from the regular expression inside () | ||
+ | ${domain_name} => the domain name | ||
+ | ${line_name} => the line name | ||
+ | ${account_name} => the account name | ||
+ | ${description} => the account description | ||
+ | ${accountcode} => the call accountcode | ||
+ | ${userfield} => the call userfield | ||
+ | ${uuid} => The call unique identifier | ||
+ | ${call_uuid} => The call uuid unique identifier | ||
+ | ${channel_name} => the channel name | ||
+ | ${channel_type} => the channel type | ||
+ | ${channel_type} => the channel type | ||
+ | ${context} => The dial-plan context name | ||
+ | ${extension} => The dial-plan extension name | ||
+ | ${billsec} => The call billsec time in seconds | ||
+ | ${bridge_hangup_cause} => The hangup cause for the bridge action | ||
+ | ${bridge_originate_disposition} => The originate cause for the bridge action | ||
+ | ${ivr_digits} => digits pressed inside the ivr | ||
+ | ${odbc_[\w-]+} => The odbc return variables | ||
+ | ${chan_[\w-]+} => The custom channel variable defined in action channel variable | ||
+ | ${sip_p_[\w-]+} => SIP optional P-Key-Flags headers variables | ||
+ | ${sip_x_[\w-]+} => SIP optional custom headers variables | ||
+ | ${sip_to_user} => SIP to user variable. | ||
</ | </ | ||
Line 42: | Line 67: | ||
</ | </ | ||
+ | =====Bridge local===== | ||
+ | This action allows you call to local accounts or local groups. | ||
+ | |||
+ | |||
+ | ====Bridge local - account==== | ||
+ | To call to a account. | ||
+ | |||
+ | * **Name**: call account | ||
+ | * **Priority**: | ||
+ | * **Conditions**: | ||
+ | * **Action**: x - //custom//: //Bridge Local//; //Type//: x - // | ||
+ | * click __Add__ | ||
+ | |||
+ | ====Bridge local - group==== | ||
+ | To call to a group. | ||
+ | |||
+ | * **Name**: call group | ||
+ | * **Priority**: | ||
+ | * **Conditions**: | ||
+ | * **Action**: x - //custom//: //Bridge Local//; //Type//: x - //group//; //Domain//: commsmundi.com; | ||
=====Bridge custom===== | =====Bridge custom===== | ||
Line 110: | Line 155: | ||
* **Name**: call local | * **Name**: call local | ||
* **Priority**: | * **Priority**: | ||
- | * **Conditions**: | + | * **Conditions**: |
- | * **Action**: x - //custom//: // | + | * x - // |
+ | * x - // | ||
+ | * **Action**: x - //custom//: // | ||
* // | * // | ||
* // | * // | ||
* // | * // | ||
+ | |||
+ | ====Bridge custom - single and list condition==== | ||
+ | To call to destination using list condition, use the following parameters: | ||
+ | |||
+ | - __add the list__ | ||
+ | * **Name**: list_calls | ||
+ | * **Mode**: Full match | ||
+ | * click __Add__ | ||
+ | |||
+ | - __add the values in list__ | ||
+ | |||
+ | * **Value**: 100 | ||
+ | * **Parameters**: | ||
+ | * click __Add__ | ||
+ | * .... | ||
+ | |||
+ | - __add rule action__ | ||
+ | * **Name**: call | ||
+ | * **Priority**: | ||
+ | * **Conditions**: | ||
+ | * **Action**: x - //custom//: //Bridge Custom//; //Type//: x - //Single//; // | ||
+ | * click __Add__ | ||
+ | |||
+ | ====Bridge custom - single and send dtmf ==== | ||
+ | To call to a landline (using Spain national numeration) and send dtmf use the following parameters: | ||
+ | |||
+ | * **Name**: call landline | ||
+ | * **Priority**: | ||
+ | * **Conditions**: | ||
+ | * **Action**: x - //custom//: //Bridge Custom//; //Type//: x - //Single//; // | ||
+ | * x - //DTMF//; | ||
+ | * x - // | ||
+ | * //Digits//: ${val2} // | ||
+ | * click __Add__ | ||
+ | |||
=====Callback===== | =====Callback===== | ||
The function callback allows to trigger an automatic call between a destination and an action. For example, you can use this function to build an automatic system where you can call and CM returns you the call and connects it to the application disa, so you can make calls as a normal company extension. | The function callback allows to trigger an automatic call between a destination and an action. For example, you can use this function to build an automatic system where you can call and CM returns you the call and connects it to the application disa, so you can make calls as a normal company extension. | ||
Line 474: | Line 556: | ||
* click __Add__ | * click __Add__ | ||
+ | |||
+ | |||
+ | |||
+ | =====Caller id===== | ||
+ | It's possible to set a caller id number and/or to group all the calls in one or multiple categories. | ||
+ | |||
+ | ====Caller | ||
+ | Add a new rule to identify international calls using the following parameters: | ||
+ | * **Name**: force Caller id number for international calls | ||
+ | * **Priority**: | ||
+ | * **Continue**: | ||
+ | * **Conditions**: | ||
+ | * **Action**: x - //custom//: //Caller id //; x - //Number//: 00${caller_id_number} | ||
+ | * click __Add__ | ||
+ | |||
+ | ====Accountcode inline rule==== | ||
+ | Force the Accountcode in an already created rule indentifying calls between registered users. | ||
+ | * **Name**: dial extension | ||
+ | * **Priority**: | ||
+ | * **Conditions**: | ||
+ | * **Action**: x - //custom//: //bridge local//; //Type//: x - // | ||
+ | * click __Add__ | ||
===== Voicemail ===== | ===== Voicemail ===== |