Each user has a separate addressbook in Ozeki NG SMS Gateway
This guide demonstrates how users in Ozeki NG SMS Gateway can receive incoming
messages with the name of the sender instead of the phone number of the sender.
This solution is necessary because it can occur that some users receive
incoming messages with the sender's name, while others receive messages from the
same sender with its phone number only.
If only the sender's phone number appears in the Inbox folder of some users, it
makes hard to identify the sender, especially in cases when there are thousands
of contacts. Please find an example on this
page that provides a solution for this issue.
Since in Ozeki NG SMS Gateway each user has a separate
addressbook, if you want that incoming messages appear to all users with the
name of the sender you need to add the respective phone number as a contact
to each of the addressbooks. Then incoming messages from that contact will
appear in the Inbox folders of users under the same contact name making
identification easier.
In our example there are two users in Ozeki NG SMS Gateway:
user admin and user john (Figure 1). The Inbound route table is configured to
forward incoming messages to both of the users (Copy mode is selected).
Figure 1 - Two users
Figure 2 demonstrates that edward smith is added as a contact
to user admin's addressbook with its name and phone number.
Figure 2 - Contact properties of user admin
Due to the fact that edward smith has been added to user
admin's addressbook, in case of incoming messages the phone number will be
paired with the contact name (in this case edward smith)
in the Inbox folder of user admin (Figure 3).
Figure 3 - Inbox folder of user admin
Since the contact has not been added to user john's addressbook,
incoming messages from that contact appears only with the phone number and not
with the contact name in the Inbox folder of user john (Figure 4).
Figure 4 - Inbox folder of user john
Solution
To avoid that messages appears in Inbox folder only with phone
numbers (as it is hard to identify senders) you need to add the respective
contact to all of the users you want to receive incoming messages from that
sender.
In this example I defined a password for user john and log into Ozeki NG SMS
Gateway with user john's account (Figure 5).
Figure 5 - Login with john's password
Now I create a new contact in user john's addressbook with the
name of edward smith (Figure 6).
Figure 6 - Specify the contact properties of user john
As you can see on Figure 7 user john also receives the messages
from that contact with the name of edward smith and not only the phone number
appears but the contact name as in the case of user admin.