Hi,
on_call_media_state(pjsua_call_info) is called each time the SDP is modified. When you are remotely put on hold, the remote party send an invite with an updated SDP (a=sendonly), so on_call_media_state callback will be called. As explained just look at media status value.
on_call_media_state(pjsua_call
Thibault
2017-08-23 11:59 GMT+02:00 Tailor, Mayur <mayur.tailor@xxxxxxxxxx>:
HI,thanks for reply.on_call_media_state(pjsua_call_info) callback comes only first time when call is accepted by me. i needs callback on call hold from remote user. please correct me if i am wrong.ThanksMayurOn Wed, Aug 23, 2017 at 1:18 PM, qstn q <qstn@xxxxxxxxxxx> wrote:______________________________Hi,
You can use on_call_media_state(pjsua_
call_info) callback. If remote hold , call_info.media_status set to PJSUA_CALL_MEDIA_REMOTE_HOL D.
Gönderen: Tailor, Mayur <mayur.tailor@xxxxxxxxxx> adına pjsip <pjsip-bounces@xxxxxxxxxxxxxxx>
Gönderildi: 19 Ağustos 2017 Cumartesi 13:14:11
Kime: pjsip list
Konu: How to get remote hold event on local ?Hi all,
I am not able to get remote hold call event on local.
Please me how can i get remote hold event on local.
--
Regards,
Mayur Tailor
Software Engineer
Pratham Software Inc.
G1-265-266, RIICO Industrial Area, EPIP, Sitapura, Jaipur – 302002
Email: mayur.tailor@xxxxxxxxxx | Mob. : +91-7742850847 | Tel.: 0141-669 0000 Ext.: 1248 | Skype: mayur_ps
DISCLAIMER:This e-mail and any attachment(s) transmitted with it are intended solely for the use of the intended recipient(s) and may contain confidential and privileged information. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete it from your system. Any views or opinions expressed are solely those of the sender and do not necessarily represent those of Pratham Software or its affiliates or group companies, unless sender does so with due authority from Pratham Software. Electronic Correspondence cannot be guaranteed to be secure, timely or error free. This is subject to change without notice and is intended only for employees, Licensees and/or affiliates. We do not take responsibility for acting on time-sensitive instructions sent by email. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail and attachments, if any, and/or any action taken in reliance of this e-mail, without the prior written consent of the sender is strictly prohibited. The recipient should check this e-mail and attachment(s), if any, for the presence of viruses and/or defects. Pratham Software accepts no liability for any damage caused by any virus and/or defects transmitted by this email._________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip. org
--Regards,
Mayur Tailor
Software Engineer
Pratham Software Inc.
G1-265-266, RIICO Industrial Area, EPIP, Sitapura, Jaipur – 302002
Email: mayur.tailor@xxxxxxxxxx | Mob. : +91-7742850847 | Tel.: 0141-669 0000 Ext.: 1248 | Skype: mayur_ps
DISCLAIMER:This e-mail and any attachment(s) transmitted with it are intended solely for the use of the intended recipient(s) and may contain confidential and privileged information. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete it from your system. Any views or opinions expressed are solely those of the sender and do not necessarily represent those of Pratham Software or its affiliates or group companies, unless sender does so with due authority from Pratham Software. Electronic Correspondence cannot be guaranteed to be secure, timely or error free. This is subject to change without notice and is intended only for employees, Licensees and/or affiliates. We do not take responsibility for acting on time-sensitive instructions sent by email. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail and attachments, if any, and/or any action taken in reliance of this e-mail, without the prior written consent of the sender is strictly prohibited. The recipient should check this e-mail and attachment(s), if any, for the presence of viruses and/or defects. Pratham Software accepts no liability for any damage caused by any virus and/or defects transmitted by this email.
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists. pjsip.org
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org