If you activate the processing of text messages passing through the gateway account (by default, the gateway only processes calls), then the callback mode becomes available.
When making calls via Callback, the number of the required subscriber on the PBX side is written by the user in the chat to the gateway account, this number is processed in accordance with the number conversion rules, it is determined which SIP accounts will receive this incoming call, then the user immediately receives an incoming call from the gateway account to which he you need to answer to start a conversation.
By default, text message processing is disabled. It is turned on by pressing the “Reverse” button. message." in the gateway settings. Then the “Callback” button will appear, on which you need to check the box.
Learn more about using number translation rules