AppSuite:MSISDN: Difference between revisions
No edit summary |
(Move to https://documentation.open-xchange.com/) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="title">MSISDN Support</div> | <div class="title">MSISDN Support</div> | ||
'''Abstract.''' In this article, the support for MSISDN is described in detail. It allows sending emails to and receiving email from phone numbers. | |||
__TOC__ | |||
== Enabling MSISDN Support == | == Enabling MSISDN Support == | ||
MSISDN support is disabled by default. In order to enable this feature, you must define the capability '''msisdn'''. This is done by simply adding the word "msisdn" to the property "permissions" in '''/opt/openexchange/etc/permission.properties''': | MSISDN support is disabled by default. In order to enable this feature, you must define the capability '''msisdn'''. This is done by simply adding the word "msisdn" to the property "permissions" in '''/opt/openexchange/etc/permission.properties''': | ||
Line 6: | Line 8: | ||
<pre> | <pre> | ||
permissions=...,msisdn | permissions=...,msisdn | ||
</pre> | |||
== Server Settings == | |||
=== Default configuration === | |||
By default, cellular_telephone1 (551) and cellular_telephone2 (552) are used for the phone number lookup. This setting applies for both the sender and the recipient dialogs. It can by configured as follows: | |||
<pre class="language-javascript"> | |||
io.ox/contacts/msisdn/columns=['551', '552'] | |||
</pre> | |||
This hidden value is appened to sender and recipient telephone numbers (example: '+491615840292/TYPE=PLMN'). It's used internally as distinguishing mark and is not shown to the user. | |||
<pre class="language-javascript"> | |||
io.ox/contacts/msisdn/suffix='/TYPE=PLMN' | |||
</pre> | |||
=== Exemplary custom configuration === | |||
Adding another phone number is straight-forward. Just add it as follows, for example, telephone_other (553): | |||
<pre class="language-javascript"> | |||
io.ox/contacts/msisdn/columns=['551', '552', '553'] | |||
</pre> | |||
See [https://documentation.open-xchange.com/latest/middleware/http_api.html HTTP API (detailed contact data)] for all relevant columns. | |||
=== Setting default sender address === | |||
A phone number can also be configured as default sender address. This can be customized via the [[AppSuite:User_management#changeuser|changeuser]] interface. Relevant setting is ''defaultsenderaddress'': | |||
<pre class="language-javascript"> | |||
./changeuser ... --defaultsenderaddress <stringvalue> | |||
</pre> | </pre> |
Latest revision as of 07:52, 30 June 2016
Abstract. In this article, the support for MSISDN is described in detail. It allows sending emails to and receiving email from phone numbers.
Enabling MSISDN Support
MSISDN support is disabled by default. In order to enable this feature, you must define the capability msisdn. This is done by simply adding the word "msisdn" to the property "permissions" in /opt/openexchange/etc/permission.properties:
permissions=...,msisdn
Server Settings
Default configuration
By default, cellular_telephone1 (551) and cellular_telephone2 (552) are used for the phone number lookup. This setting applies for both the sender and the recipient dialogs. It can by configured as follows:
io.ox/contacts/msisdn/columns=['551', '552']
This hidden value is appened to sender and recipient telephone numbers (example: '+491615840292/TYPE=PLMN'). It's used internally as distinguishing mark and is not shown to the user.
io.ox/contacts/msisdn/suffix='/TYPE=PLMN'
Exemplary custom configuration
Adding another phone number is straight-forward. Just add it as follows, for example, telephone_other (553):
io.ox/contacts/msisdn/columns=['551', '552', '553']
See HTTP API (detailed contact data) for all relevant columns.
Setting default sender address
A phone number can also be configured as default sender address. This can be customized via the changeuser interface. Relevant setting is defaultsenderaddress:
./changeuser ... --defaultsenderaddress <stringvalue>