Difference between revisions of "Provider Rules"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
<br><br>
<br><br>
<big><big><big>'''Provider Rules transforms E.164 compatible number to any number format Provider requires.'''</big></big></big>
<big><big><big>'''Provider Rules transforms an E.164-compatible number to any number format the Provider requires.'''</big></big></big>
<br><br>
<br><br>


Line 7: Line 7:
Different providers expect different number formats from you. You can send them whatever they want using Provider Rules.
Different providers expect different number formats from you. You can send them whatever they want using Provider Rules.


They can be reached pressing [[Image:rules.png]] icon next to some provider in Providers window:
Provider Rules can be reached by clicking the [[Image:rules.png]] icon next to a provider in the Providers window:


[[Image:provrules1.png]]
[[Image:provrules1.png]]


We see similar window as with Localization. The rules to manage Provider Rules are identical to Localization management which are covered [[Number Manipulation | here]].
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 [[Number Manipulation | here]].


Let's say our provider expects to get number with technical prefix 89765#. We can do this in following way:
Let's say our provider expects to get a number with the technical prefix 89765#. We can do this in following way:


[[Image:provrules2.png]]
[[Image:provrules2.png]]


That's it – very simple. Now every number which will be sent to this provider will be transformed adding our created tech. prefix.
That's it – very simple. Now every number that is sent to this provider will be transformed by adding our created tech. prefix.


Example: 37063042438 should be sent to this provider, so this rule will be activated and number 89765#37063042438 will be sent to provider.
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 if Provider Rules are applied correctly in [[Call Tracing]]
'''REMINDER''': You can check whether Provider Rules are applied correctly in [[Call Tracing]]


= Special cases =  
= Special cases =  
Line 27: Line 27:
== Cut everything till Hash ==
== Cut everything till Hash ==


''This option is available starting from [[MOR_9_documentation | MOR 9]]''
''This option is available starting from [[MOR_9_documentation | MOR 9]]''.


With rule '''Cut: *#''' it is possible to cut everything till # (# included) in the dialed destination:
With rule '''Cut: *#''' it is possible to cut everything till # (# included) in the dialed destination:
Line 33: Line 33:
[[Image:provider_rules_cuttillhash.png]]
[[Image:provider_rules_cuttillhash.png]]


Example:
For example:


* Dialed number:  999#37063042439
* Dialed number:  999#37063042439.
* After Localization: 37063042439
* After Localization: 37063042439.


This function can be used in fancy MNP (Mobile Number Portability) schemes and maybe elsewhere.
This function can be used in fancy MNP (Mobile Number Portability) schemes and perhaps elsewhere.


<br>
<br>
Line 47: Line 47:
== CallerID overwrite for Provider ==
== CallerID overwrite for Provider ==


''(This functionality active from app_mor.so v0.7.41)''
''(This functionality is active from app_mor.so v0.7.41)''.


Sometimes Providers only accepts calls only with some CallerID.
Sometimes Providers only accept calls with CallerID.


It is possible to overwrite any CallerID before sending call to such Provider.
It is possible to overwrite any CallerID before sending a call to such a Provider.


In [[Provider Rules]] (for this Provider) setup such Rule:
In [[Provider Rules]] (for this Provider) set up the Rule:


[[Image:callerid_overwrite_rule_for_provider.png]]
[[Image:callerid_overwrite_rule_for_provider.png]]


In this example all calls going to this Provider will have CallerID = 9999999999
In this example, all calls going to this Provider will have CallerID = 9999999999


<br><br>
<br><br>
== Destination same as received ==
== Destination same as received ==


''(This functionality active from app_mor.so v0.7.50)''
''(This functionality is active from app_mor.so v0.7.50)''.


If you want to send exact number to Provider as received, set Cut = '-' (minus sign as shown in screenshot).
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 same number which comes to MOR leaves MOR:
That way, the same number that comes to MOR also leaves MOR:


[[Image:prov_rules_dst_as_received.png]]
[[Image:prov_rules_dst_as_received.png]]

Revision as of 23:31, 2 May 2010



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 Rules.png icon next to a provider in the Providers window:

Provrules1.png

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:

Provrules2.png

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:

Provider rules cuttillhash.png

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

(This functionality is active from app_mor.so v0.7.41).

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:

Callerid overwrite rule for provider.png

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:

Prov rules dst as received.png




See also