[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] dtmf_received callback bug?

From: Max A. Kiselev
Subject: Re: [Linphone-developers] dtmf_received callback bug?
Date: Mon, 31 Mar 2014 19:02:37 +0400



I found the source of this behavior and fixed it. The patch is attached with

the message (file 0003-Fix-LinphoneCoreVTable-dtmf_received-callback-receiv).

Please note that the patch was formatted with my previous patches applied (see

my previous message). I attached the previous patches to this message as well

for convenience.



Max A. Kiselev


From: Max A. Kiselev [mailto:address@hidden
Sent: Thursday, March 27, 2014 7:29 PM
To: address@hidden
Subject: dtmf_received callback bug?




I think the LinphoneCoreVTable->dtmf_received callback is called with invalid

LinphoneCall pointer.


How to reproduce:

1. Make first call (call A) with linphone_core_invite_with_params.

2. Make second call (call B) with linphone_core_invite_with_params.

3. Send a DTMF from the receiver of call A.


Expected: LinphoneCoreVTable->dtmf_received callback is called with 'call'

parameter pointing to the call A.


Actual: LinphoneCoreVTable->dtmf_received callback is called with 'call'

parameter pointing to the call B.


Linphone version: custom build from git tag 3.7.0 built with MinGW

OS: Windows Server 2008 R2

Both call receivers are phone numbers ('tel:' URI schema)

SIP provider:


My custom build uses my own patches to support playing a file to a specific

call but it should not affect DTMF functionality. The patches (made with git

format-patch) are included in attachments.



Max A. Kiselev

Attachment: 0001-Implement-playing-audio-from-a-file-on-a-specific-ca.patch
Description: Binary data

Attachment: 0002-Add-support-to-replaying-sound-from-file-for-a-speci.patch
Description: Binary data

Attachment: 0003-Fix-LinphoneCoreVTable-dtmf_received-callback-receiv.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]