Difference between revisions of "AppSuite:MSISDN"

(Settings)
(Move to https://documentation.open-xchange.com/)
 
(7 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
</pre>
 
</pre>
  
== Settings ==
+
== Server Settings ==
  
Specifies the used contact columns which can be selected as mail sender or recipient
+
=== 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">
 
<pre class="language-javascript">
io.ox/contacts/msisdn/columns=
+
io.ox/contacts/msisdn/columns=['551', '552']
 
</pre>
 
</pre>
  
=== Default ===
+
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.
If the setting is not defined these two columns are used: cellular_telephone1 (551) and cellular_telephone2 (552)
 
  
=== Example ===
+
<pre class="language-javascript">
Changing setting to cellular_telephone1 (551), cellular_telephone2 (552) and telephone_other (553)
+
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">
 
<pre class="language-javascript">
 
io.ox/contacts/msisdn/columns=['551', '552', '553']
 
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

MSISDN Support

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>