linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] problem with send rfc2833 dtmf


From: francesco francesco
Subject: [Linphone-users] problem with send rfc2833 dtmf
Date: Thu, 4 Sep 2008 13:35:02 +0200

I'm solved my problem and i want share with you my solution.

 send rfc2833 dtmf() use the the function   rtp_session_send_with_ts()   for sending rtp packet.
One thread is used for send rfc2833 dtmf() and nother one for  rtp_session_send_with_ts()  for audio traffic.
unfortunately rtp_session_send_with_ts() is not thread safe and this cause the stop of sending  rtp audio traffic.
A critical section is solution.

thank's a lot 

best regards


On Mon, Sep 1, 2008 at 6:01 PM, <address@hidden> wrote:
Send Linphone-users mailing list submissions to
       address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.nongnu.org/mailman/listinfo/linphone-users
or, via email, send a message with subject or body 'help' to
       address@hidden

You can reach the person managing the list at
       address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linphone-users digest..."


Today's Topics:

  1.  problem with send rfc2833 dtmf (francesco francesco)


----------------------------------------------------------------------

Message: 1
Date: Mon, 1 Sep 2008 09:21:32 +0200
From: "francesco francesco" <address@hidden>
Subject: [Linphone-users] problem with send rfc2833 dtmf
To: address@hidden
Message-ID:
       <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
i'm using ortp stack  and it works fine when data is audio PCM.
When i try to  send dtmf rfc2833 with function
*rtp_session_send_dtmf(..)*the stack is blocked and no more rtp packet
are sent.
*rtp_session_send_dtmf (..) *is blocking???

this is snip of code

...............................
...............................
rtp_session_set_scheduling_mode(session, 1); //  BLOCKING MODE
rtp_session_set_blocking_mode(session, 1);
rtp_session_enable_adaptive_jitter_compensation(session, TRUE);

...............................
...............................

nRet = rtp_session_send_dtmf(rsession, (char)nDTMF, user_ts_snd);
user_ts_snd += 480;


..................................

If no send dtmf rfc 2833 nothing is  blocked and audio flow is regularly
sent?

Can anyone help me?
anyone have the same problem ?
thank's in advance for your help.
best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/linphone-users/attachments/20080901/229fa069/attachment.html

------------------------------

_______________________________________________
Linphone-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-users


End of Linphone-users Digest, Vol 70, Issue 1
*********************************************


reply via email to

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