Search code examples
webrtcasteriskvoipsipml

how can we create connection to Asterisk using SIPml5


I want to implement a WebRTC application to be able to make calls over VoIP. My client is running the SIPml5 and in the server side I have installed and confiured the asterisk.

Asterisk was tested with softphone.

Please help??


Solution

  • You will have to configure asterisk with SRTP support. The below guide will help you https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5

    Also in the function createSipStack(), place the value of realm, impu and websocket_proxy_url matching with the values.

    Let me know if you find any difficulty.

    Thanks Anil