Difference between revisions of "Provider Rules"
Line 46: | Line 46: | ||
== CallerID overwrite for Provider == | == CallerID overwrite for Provider == | ||
Sometimes Providers only accept calls with CallerID. | Sometimes Providers only accept calls with CallerID. | ||
Line 60: | Line 58: | ||
<br><br> | <br><br> | ||
== Destination same as received == | == Destination same as received == | ||
Revision as of 10:16, 16 June 2012
Provider Rules transforms an E.164-compatible number to any number format the Provider requires.
Description
Different providers expect different number formats from you. You can send them whatever they want using Provider Rules.
Provider Rules can be reached by clicking the icon next to a provider in the Providers window:
We see a similar window as the one in Localization. The rules to manage Provider Rules are identical to those for Localization management, which are covered here.
Let's say our provider expects to get a number with the technical prefix 89765#. We can do this in following way:
That's it – very simple. Now every number that is sent to this provider will be transformed by adding our created tech. prefix.
For example, if 37063042438 should be sent to this provider, this rule will be activated and the number 89765#37063042438 will be sent to provider.
REMINDER: You can check whether Provider Rules are applied correctly in Call Tracing
Special cases
Cut everything till Hash
This option is available starting from MOR 9.
With rule Cut: *# it is possible to cut everything till # (# included) in the dialed destination:
For example:
- Dialed number: 999#37063042439.
- After Localization: 37063042439.
This function can be used in fancy MNP (Mobile Number Portability) schemes and perhaps elsewhere.
NOTE: Add value still can be used to add any value after Cut is used on the Destination.
CallerID overwrite for Provider
Sometimes Providers only accept calls with CallerID.
It is possible to overwrite any CallerID before sending a call to such a Provider.
In Provider Rules (for this Provider) set up the Rule:
In this example, all calls going to this Provider will have CallerID = 9999999999
Destination same as received
(This functionality is active from app_mor.so v0.7.50).
If you want to send a number to a Provider exactly as it was received, set Cut = '-' (minus sign as shown in the screenshot).
That way, the same number that comes to MOR also leaves MOR: