BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
99 stars 79 forks source link

Issue receiving incoming Chat Messages #400

Closed brianomchugh closed 1 month ago

brianomchugh commented 1 month ago

I am following the BasicChat tutorial. I can create a ChatRoom and send messages to it, but when I receive an incoming message linphone-sdk automatically creates a ChatRoom using the local IP instead of the proxy IP:

Unable to find chat room in RAM: ConferenceId(peer=sip:remoteuser@18.9.8.7,local=sip:localuser@192.1.2.3:53241;transport=tcp).

When really I want it to just use the proxy IP since mCore.defaultAccount?.params?.identityAddress = "sip:localuser@18.9.8.7". Like this:

ConferenceId(peer=sip:remoteuser@18.9.8.7,local=sip:localuser@18.9.8.7).

I know I am missing something stupid here.... how can I make it work?