@Andy: thanks for your reply 1. What if the 2 messages/DTMFs come at the same time? How do I know who wants to talk? 2. What is the message/DTMF is lost, and he (the one sending the message/DTMF) talks, because he assumes his message/DTMF has reached the destinations 3. Do we need a center server for push to talk ? On Wed, Jun 5, 2013 at 6:42 PM, Andreas Wehrmann <andreas_wehrmann at yahoo.at>wrote: > On 06/05/2013 01:32 PM, Khoa Pham wrote: > >> How can we leverage pjsip to enable Push to talk function ? >> >> In a Push to talk, only one can talk at a time >> >> >> >> ______________________________**_________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/**mailman/listinfo/pjsip_lists.**pjsip.org<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> >> > I've implemented PTT in two different ways: > > PTT request via DTMF: > User sends a certain DTMF tone which the remote interprets as "I want to > talk". > Any other DTMF tone releases PTT. > If PTT is granted, the user hears a short beeptone (generated using the > tonegen facility in PJ) > so they know that they can talk. > This solution is good if you have to support third party SIP clients. > > SIP MESSAGE: > If you're connecting two SIP peers (both of which are under your control > (meaning you wrote them)) > you can implement your own protocol for signalling things like PTT, SQU > and so on > using SIP MESSAGE as a transport. > > Regards, > Andy > > > ______________________________**_________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/**mailman/listinfo/pjsip_lists.**pjsip.org<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> > -- Khoa Pham HCMC University of Science www.fantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130606/829256ba/attachment-0001.html>