Howto:Restricted trunk access via 2-stage dialling: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(gpa - Artikel "Howto trunk access via waiting queue and 2stage dialling" erstellt)
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This article describes how to give restricted extensions the possibility to make external calls through the innovaphone operator.
This article describes how to give restricted extensions the possibility to make external calls through the innovaphone operator and the waiting queue object.


==Applies To==
==Applies To==
Line 7: Line 7:
Build 5967 and later.  
Build 5967 and later.  
* all innovaphone telephones and gateways
* all innovaphone telephones and gateways
Build V6 SR2HF1 and later
Build v5.01 and later


==More Information==
==More Information==
=== Problem ===
===Problem===
Direct access to the trunk line is forbidden for normal ip-clients by internal policy.
Direct access to the trunk line is forbidden by internal policy for normal extensions.
Direct access to the trunk line is possible via permitted ip-clients such as an operator is.
Direct access to the trunk line is possible via permitted extensions such as an operator is.
The operators are allowed to grant trunk line access to extensions (ip-clients), which aren’t authorized to call external numbers.


=== Solution ===
The solution is based on the waiting queue object, which gives restricted ip-clients access to the trunk line for outgoing calls. The restricted ip-clients will be transferred to this object by a permitted ip-client (operator). After that, dialling via DTMF is possible.


* The internals will request for a trunk line by making a call to the operator.
===Solution===
* The operator will transfer the call to the waiting queue object – giving away the responsibility about that call.
The operators are allowed to grant trunk line access to extensions, which aren’t authorized to call external numbers.
* Restrict access to the waiting queue object by filter. Only the operator should be able to call the waiting queue.
The solution is based on the 2-stage dialling concept:


* At first call the operator. The operator will transfer the call to the waiting queue object, which is allowed by filter to access the trunk line.
* Then dial the trunk line prefix (e.g. 0 or 9) and right after that the wanted external number


===Szenario===
 
===Scenario===
This solution is taking following is-state:
This solution is taking following is-state:
* It exists an operator '''88:Operator'''
* It exists an operator '''88:Operator'''
* It exists a trunk object '''0:Trunk'''
* It exists a trunk object '''0:Trunk'''
* It exists an user object '''100:Hans'''
* It exists an user object '''100:Hans'''
===Configuration===
* Create a waiting queue object '''99:WQ''', needed for the 2-stage dialling
* Deny access to the waiting queue ('''99:WQ''') by filter to all extensions (e.g. '''100:Hans''')
* Deny access to the trunk line ('''0:Trunk''') by filter to all extensions (e.g. '''100:Hans''')
* Permit access to the operator ('''88:OP''') by filter to all extensions (e.g. '''100:Hans''')
* Permit access to the trunk line ('''0:Trunk''') for the operator ('''88:OP''')




===Administration===
===Administration===
* Create a waiting queue object '''99:WQ''', needed for the 2-stage dialling
Create the waiting queue object under "''Administration/PBX/Objects''".
* Deny access to the waiting queue ('''99:WQ''') by filter to all ip-clients (e.g. '''100:Hans''')
* Enter '''WQ''' as ''Name'' and ''Long Name''. Enter '''99''' as ''Number''
* Deny access to the trunk line ('''0:Trunk''') by filter to all ip-clients (e.g. '''100:Hans''')
* Enter '''TONE?tone=ringback''' as 1st announcement
* Permit access to the operator ('''88:OP''') by filter to all ip-clients (e.g. '''100:Hans''')
* Enter '''0''' as ''Alert Timeout''.
Doing this by extending the '''''normal''''' filter with '''0 -> nok''', '''99 -> nok''' and '''88 -> ok'''
* Enter the trunkline prefix '''0''' as ''DTMF Number''. Enter '''00''' as ''Dest. No''.
* Permit access to the trunk line ('''0:Trunk''') by filter to the ip-client operator (e.g. '''88:OP''') by creating a new filter '''''operator''''' '''0 -> ok''' and assigning this filter to the operator (e.g. '''88:OP''').




===Configuration ===
Extend the existing filter '''''normal''''' under "''Administration/PBX/Filter''".
Extend the existing filter '''''normal''''' under "Administration/PBX/Filter". Note: The '''''normal''''' filter is the default filter of all pbx-objects, so the restriction of all user-objects is given within the '''''normal''''' filter.
'''Note:''' The '''''normal''''' filter is the default filter of all pbx-objects,
so the restriction of all user-objects is given within the '''''normal''''' filter.
* A filter to deny the dial of the '''0:Trunk''' directly
* A filter to deny the dial of the '''0:Trunk''' directly
* A filter to deny the dial of the '''99:WQ''' directly
* A filter to deny the dial of the '''99:WQ''' directly
Line 46: Line 54:




Create a new filter '''''operator''''' under "Administration/PBX/Filter". Note: The '''''operator''''' filter is the filter for the operator object. It will remove the restriction for the operator to access the waiting queue, so he’s the only one who can access the waiting queue.
Create a new filter '''''operator''''' under "''Administration/PBX/Filter''".
'''Note:''' The '''''operator''''' filter is the filter for the operator object.
It will remove the restriction for the operator to access the waiting queue,
so he’s the only one who can access the waiting queue.
* A filter to permit the dial of the waiting queue '''99:WQ''' directly (only for the Operator)
* A filter to permit the dial of the waiting queue '''99:WQ''' directly (only for the Operator)




Assign the '''''operator''''' filter under "Administration/PBX/Objects"
Assign the '''''operator''''' filter under "''Administration/PBX/Objects''"
* Open up the object '''88:OP'''
* Open up the object '''88:OP'''
* As filter select '''''operator'''''
* As filter select '''''operator'''''
Create the WQ object under "Administration/PBX/Objects".
* Enter '''WQ''' as Name and Long Name. Enter '''99''' as Number
* Enter '''0''' as Alert Timeout.
* Enter '''0''' or '''9''' as DTMF Number. Enter '''0''' as Dest. No.


==Test==
==Test==
Line 65: Line 69:
* '''100:Hans''' is dialling '''88:Operator''' requesting for a trunk line
* '''100:Hans''' is dialling '''88:Operator''' requesting for a trunk line
*  '''88:Operator''' accepts the call and transfer it to '''99:WQ'''
*  '''88:Operator''' accepts the call and transfer it to '''99:WQ'''
* '''100:Hans''' is now able to dial his wanted number (e.g. 07031-12345) via DTMF, initialized by the DTMF Number '''0''' or '''9'''  
* '''100:Hans''' is allowed to dial his wanted number (e.g. 07031-12345) via DTMF now, initialized by the DTMF Number '''0''' or '''9''' (so it is  007031-12345)
* '''CDRs''' will be generated with '''Hans:100''' as origination (..src_cgpn=100&src_name=Hans..). Such that '''Hans''' is going to be charged.


===Negative===
===Negative===

Latest revision as of 15:06, 22 May 2017

This article describes how to give restricted extensions the possibility to make external calls through the innovaphone operator and the waiting queue object.

Applies To

This information applies to

  • innovaphone operator

Build 5967 and later.

  • all innovaphone telephones and gateways

Build v5.01 and later

More Information

Problem

Direct access to the trunk line is forbidden by internal policy for normal extensions. Direct access to the trunk line is possible via permitted extensions such as an operator is.


Solution

The operators are allowed to grant trunk line access to extensions, which aren’t authorized to call external numbers. The solution is based on the 2-stage dialling concept:

  • At first call the operator. The operator will transfer the call to the waiting queue object, which is allowed by filter to access the trunk line.
  • Then dial the trunk line prefix (e.g. 0 or 9) and right after that the wanted external number


Scenario

This solution is taking following is-state:

  • It exists an operator 88:Operator
  • It exists a trunk object 0:Trunk
  • It exists an user object 100:Hans


Configuration

  • Create a waiting queue object 99:WQ, needed for the 2-stage dialling
  • Deny access to the waiting queue (99:WQ) by filter to all extensions (e.g. 100:Hans)
  • Deny access to the trunk line (0:Trunk) by filter to all extensions (e.g. 100:Hans)
  • Permit access to the operator (88:OP) by filter to all extensions (e.g. 100:Hans)
  • Permit access to the trunk line (0:Trunk) for the operator (88:OP)


Administration

Create the waiting queue object under "Administration/PBX/Objects".

  • Enter WQ as Name and Long Name. Enter 99 as Number
  • Enter TONE?tone=ringback as 1st announcement
  • Enter 0 as Alert Timeout.
  • Enter the trunkline prefix 0 as DTMF Number. Enter 00 as Dest. No.


Extend the existing filter normal under "Administration/PBX/Filter".

Note: The normal filter is the default filter of all pbx-objects,
so the restriction of all user-objects is given within the normal filter.
  • A filter to deny the dial of the 0:Trunk directly
  • A filter to deny the dial of the 99:WQ directly
  • A filter to permit the dial of the 88:OP directly


Create a new filter operator under "Administration/PBX/Filter".

Note: The operator filter is the filter for the operator object.
It will remove the restriction for the operator to access the waiting queue,
so he’s the only one who can access the waiting queue.
  • A filter to permit the dial of the waiting queue 99:WQ directly (only for the Operator)


Assign the operator filter under "Administration/PBX/Objects"

  • Open up the object 88:OP
  • As filter select operator

Test

Positiv

  • 100:Hans is dialling 88:Operator requesting for a trunk line
  • 88:Operator accepts the call and transfer it to 99:WQ
  • 100:Hans is allowed to dial his wanted number (e.g. 07031-12345) via DTMF now, initialized by the DTMF Number 0 or 9 (so it is 007031-12345)
  • CDRs will be generated with Hans:100 as origination (..src_cgpn=100&src_name=Hans..). Such that Hans is going to be charged.

Negative

  • 100:Hans dials 0:Trunk directly -> call is getting rejected
  • 100:Hans dials 99:WQ directly -> call is getting rejected