Holding call

359 views
Skip to first unread message

Petro Kurinnyi

unread,
Dec 18, 2020, 10:33:49 AM12/18/20
to SIP.js
Hello!
I am using UserAgent in 0.17.1 of sip.js library. I want add holding calls feature to my app. But I cant find that functionality. Help me please :(( 

Thank you for your answer!
Petro.

Ghanshyam Katriya

unread,
Dec 22, 2020, 10:31:56 AM12/22/20
to SIP.js
Hello Petro,

Please find below code snippets which might can help you.

hold : 
const options = {
sessionDescriptionHandlerModifiers: [Web.holdModifier]
}
_session.invite(options);

unhold :
const options = {
sessionDescriptionHandlerModifiers: []
}
_session.invite(options);

Petro Kurinnyi

unread,
Dec 25, 2020, 8:22:26 AM12/25/20
to SIP.js
It's perfect! Thank you very much!
Reply all
Reply to author
Forward
0 new messages