GithubHelp home page GithubHelp logo

Enable PJSIP about asterisk-hass-addons HOT 7 CLOSED

TECH7Fox avatar TECH7Fox commented on June 9, 2024
Enable PJSIP

from asterisk-hass-addons.

Comments (7)

TECH7Fox avatar TECH7Fox commented on June 9, 2024 3

I agree, will test pjsip with wss when I get a chance.

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on June 9, 2024

Ref: https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on June 9, 2024

I think this is becoming more and more important, every time I search internet about an error found, it's mentioned "why are you using chan_ship instead of pjsip? blah blah blah".

from asterisk-hass-addons.

nanosonde avatar nanosonde commented on June 9, 2024

Is anybody working on this?

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on June 9, 2024

I don't think so... feel free to start if you want. It would be super appreciated. :)

from asterisk-hass-addons.

nanosonde avatar nanosonde commented on June 9, 2024

ok.

I already had an asterisk running with WebRTC running as a Proxmox VM.
Only used pjsip for this.

Sample endpoint config for a webrtc capable endpoint:


[transport-wss]
type=transport
protocol=wss
bind=0.0.0.0

[199]
type=aor
max_contacts=5
remove_existing=yes
  
[199]
type=auth
auth_type=userpass
username=199
password=somepassword

[199]
type=endpoint
aors=199
auth=199
dtls_auto_generate_cert=yes
webrtc=yes
; Setting webrtc=yes is a shortcut for setting the following options:
; use_avpf=yes
; media_encryption=dtls
; dtls_verify=fingerprint
; dtls_setup=actpass
; ice_support=yes
; media_use_received_transport=yes
; rtcp_mux=yes
context=from-internal
disallow=all
allow=ulaw
allow=alaw
allow=opus

from asterisk-hass-addons.

TECH7Fox avatar TECH7Fox commented on June 9, 2024

Awesome work! :)

from asterisk-hass-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.