Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable PJSIP #17

Closed
TECH7Fox opened this issue Jan 4, 2022 · 7 comments
Closed

Enable PJSIP #17

TECH7Fox opened this issue Jan 4, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@TECH7Fox
Copy link
Owner

TECH7Fox commented Jan 4, 2022

Load the pjsip module, test and resolve issues with chan_sip.

And maybe even migrate the websocket extensions (from auto_add) to pjsip?

@TECH7Fox TECH7Fox added the enhancement New feature or request label Jan 4, 2022
@felipecrs
Copy link
Collaborator

@felipecrs
Copy link
Collaborator

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".

@TECH7Fox
Copy link
Owner Author

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

@nanosonde
Copy link
Contributor

Is anybody working on this?

@felipecrs
Copy link
Collaborator

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

@nanosonde
Copy link
Contributor

nanosonde commented Mar 7, 2022

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

@TECH7Fox
Copy link
Owner Author

Awesome work! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants