BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
144 stars 69 forks source link

Flexisip push #43

Closed l-maia closed 1 year ago

l-maia commented 6 years ago

Flexisip injects a 180-ringing when forking the call and waiting for a push to wakeup a device.

Per the RFC, the most correct method would be to inject either a 100-Trying or 182-Queued to indicate the endpoint that it should not be "ringing" while waiting to check if the device is online...

in module-pushnotification.cc: 156: mForkContext->sendResponse(SIP_180_RINGING); should be either mForkContext->sendResponse(SIP_100_TRYING); or mForkContext->sendResponse(SIP_182_QUEUED);

No sure what would be the best fit in this case.