Answer the question
In order to leave comments, you need to log in
How to add dial tone on outgoing call in Sip.js?
Hello. I use the sip.js library (sipjs.com) to make calls from the site. I made a dialing of the number when clicking on it in this way:
$('.callNumber').on('click', function() {
session = userAgent.invite('sip:' + $(this).text() + '@mylink', options);
});
Answer the question
In order to leave comments, you need to log in
Party B should notify that the phone is ringing and it's time to play the CPV by sending a sip packet 180 or 183.
Maybe there are no these packets?
In order to receive CPV in WebRTC, you need to enable PRACK response support on the server (option 100rel). The requirement for this option must also be specified when creating a session in the sip.js client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question