DID
The exact number coming from the context in Asterisk. We recommend you to always use the E164 format. Also you can create intervals. Example 13605040001-13605040009. In this example will be created the DIDs 13605040001 until 13605040009.
Country
Country associated with the DID, used to identify and organize the number.
Record call
Record calls for this DID. Recorded regardless of destination.
Status
Only active numbers can receive calls.
Callerid name
Use this field to set a CallerID name or leave it blank to use the received CallerID from the DID provider.
Setup price
Activation cost. This value will be deducted from the client the moment that the DID is associated with the user.
Monthly price
Monthly price. This value will be deducted automatically every month from the user’s balance. If the client doesn’t have enough credit the DID will be cancelled automatically.
Connection charge
This is the value that will be charged for each call. Simply by picking up the call, this value will be deducted.
Minimum time to charge
Minimum call duration charged by the provider for this DID.
Buy price initblock
Initial billing block used to calculate the provider cost for inbound calls on this DID.
Buy price increment
Billing increment used after the initial block to calculate the provider cost for this DID.
Minimum time to charge
Minimum time to tariff the DID. If you set it to 3 any call that with lower duration will not be charged for.
Initial block
Minimum time in seconds to buy. If you set it to 30 and the call duration is 10, the call will be billed as 30.
Billing block
This defines the block in which the call billing time will be incremented, in seconds. If set to 6 and call duration is 32, the call will be billed as 36.
Charge who
The user that will be charged for the DID cost.
Channel limit
Maximum simultaneous calls for this DID.
Server
Server that will receive and process calls for this DID.
Description
Set here the destination!
Regular expression
This is a regular expression to tariff the DID depending on who is calling it.
Lets analyze a real example:
Suppose we want to charge 0.10 when we receive a call from a landline, charge 0.20 when it is a mobile phone, and block any other format.
In this example we will create rules to identify the CallerID in the format 0 + area code + number, area code + number, or 55 + area code + number.
Take a look at the following image on what the result would look like:
.. image:: ../../img/did_regex.png
:scale: 100%
Regular expression for mobile
^[1-9][0-9]9\d{8}$|^0[1-9][0-9]9\d{8}$|^55[1-9][0-9]9\d{8}$
Regular expression for landline
^[1-9][0-9]\d{8}$|^0[1-9][0-9]\d{8}$|^55[1-9][0-9]\d{8}$
Buy price per min
Provider buy price per minute for the first inbound billing interval of this DID.
Sell price per min
Price per minute if the number matches the above regular expression.
Block calls from this expression
Set to yes to block calls that matches with the above regular expression.
Send the call to callback
Send this call to CallBack if it matches with the above regular expression.
Regular expression
Same as the first expression. You can see more details at the link https://wiki.magnusbilling.org/en/source/modules/did/did.html#did-expression-1..
Buy price per min
Provider buy price per minute for the second inbound billing interval of this DID.
Sell price per min
Price per minute if the number matches the above regular expression.
Block calls from this expression
Set to yes to block calls that matches with the above regular expression.
Send the call to callback
Send this call to CallBack if it matches with the above regular expression.
Regular expression
Same as the first expression. You can see more details at the link https://wiki.magnusbilling.org/en/source/modules/did/did.html#did-expression-1..
Buy price per min
Provider buy price per minute for the third inbound billing interval of this DID.
Sell price per min
Price per minute if the number matches the above regular expression.
Block calls from this expression
Set to yes to block calls that matches with the above regular expression.
Send the call to callback
Send this call to CallBack if it matches with the above regular expression.
CallBack pro
Enables CallBack Pro.
Use audio
Execute an audio.
Maximum trying
How many times will the system try to return the call?
Interval between trying
Time interval between each try, in minutes.
Early media
Execute an audio before the call is answered. Your DID provider needs to allow early media.
Mon-Fri
Example: if your company only callbacks to the callee if the call was placed in between 09:00-12:00 and 14:00-18:00 MON-FRY, between this time interval the workaudio is going to be played and then callback to the callee. You can use multiple time intervals separated by |.
Sat
The same but for Saturday.
Sun
The same but for Sunday.
Work audio
Audio that will be executed when a call is received at the time interval.
Out work audio
Audio that will be executed when a call is received out of the time interval.
Sell price per min
Sell price per minute charged to the reseller client for the second inbound billing interval of this DID.
Sell price per min
Sell price per minute charged to the reseller client for the third inbound billing interval of this DID.
Sell price per min
Sell price per minute charged to the reseller client for the first inbound billing interval of this DID.