Hello.
We need to accept incoming calls based on data received in push messages. For example, in a push notification, we receive data about the server, the user, their login, and the password for connecting to the SIP. We then pass this data to the AccountModel in the SDK. The SDK makes a Register request to the SIP server and waits for the specified time INVITE from server. The subsequent behavior is similar to accepting an incoming call.
Based on your example, we were unable to connect to the SIP server when receiving a push notification.
If such a scenario is possible, could you provide an example?
Hello.
We need to accept incoming calls based on data received in push messages. For example, in a push notification, we receive data about the server, the user, their login, and the password for connecting to the SIP. We then pass this data to the AccountModel in the SDK. The SDK makes a Register request to the SIP server and waits for the specified time INVITE from server. The subsequent behavior is similar to accepting an incoming call.
Based on your example, we were unable to connect to the SIP server when receiving a push notification.
If such a scenario is possible, could you provide an example?