caruizdiaz / kamailio-ws

Kamailio scripts to call from websocket UA to classic UA, and vice versa.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kamailio-ws

Kamailio scripts to call from websocket UA to classic UA, and vice versa.

I will write a blog entry explaining how this works, but in a nutshell:

  • this script is configured to run behind NAT, port TCP 10080 and TCP/UDP 5090 are exposed to the Internet
  • you have to create valid users using, preferably, "kamctl add ..."
  • RTP ports should be open in range 30k-35k, inclusive
  • I used jssip as webrtc SIP UA: http://tryit.jssip.net/
  • Always disable video before placing a call from jssip UA (sometimes, it works)
  • Tested with Chrome, FF, and Opera
  • Remember to also change the record_route_preset() value
  • I tested calls between:
    • jssip to csipsimple
    • csipsimple to jssip
    • csipsimple to csipsimple

About

Kamailio scripts to call from websocket UA to classic UA, and vice versa.


Languages

Language:Shell 100.0%