-
Notifications
You must be signed in to change notification settings - Fork 84
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
Updated for 12.2.0 #7
base: master
Are you sure you want to change the base?
Conversation
Updated for 12.2.0, removed VP8 passthrough parts since this is already part of 12.2.0.
@Thulinma thanks for the update! I'll look into it as soon as I can, but rather than merge I think I'll make the patch available in parallel to the one we already have. I'll also try and prepare other patches for more problematic versions of Asterisk (as the one in issue #8) which should help users not have to force changes on uncompliant versions. |
I figured, yes. I wanted to make it available in parallel as well, but my connection had some issues and I had to use github's web interface to make the commits (yuck!). Hence the mention of feeling free to modify. :-) I did notice some others have created forks as well, and provided patches for other versions. You may want to look into those - though I suppose they haven't technically given you permission to copy their work... Yay copyright law, right? |
It would be great to have all patches in a single place so I'll definitely look into them, but if that won't be possible, no problem at all! I'm only glad that the work we started helped and motivated so many people so far, so just linking to other patches in the README will be ok as well. |
Good idea! |
I thought about .opus files as well, especially considering they basically are .ogg files with a different extension, and Asterisk already has .ogg support for vorbis packets, but then never went for it either. In case you decide to give it another try, you may want to have a look at what we already did for recording Opus stream to .opus files in our WebRTC gateway Janus: https://github.com/meetecho/janus-gateway/blob/master/plugins/janus_voicemail.c Opus playout is still missing but it will probably end up in the streaming plugin of the same project. As soon as both will be available, I'll also check if and how difficult integrating those in Asterisk might be. |
Yeah, that's what stopped me - Asterisk has support for ogg-vorbis, but this is very specifically only ogg-vorbis. The optimizer in me wanted to extend the existing ogg support to be ogg vorbis/opus... But it's quite tightly bound to vorbis at the moment :-( |
@lminiero good news about merging with cert version, any update about this? it would be really awesome to have opus unofficial support for asterisk cert-4 (most recent cert version) |
We started converting the patch to the latest 11 version, but this was 2014-08-20 14:54 GMT+02:00, SirLouen [email protected]:
|
@lminiero ok, this is awesome 👍 |
The patch will most definitely address the latest 11 version as it 2014-08-20 14:58 GMT+02:00, SirLouen [email protected]:
|
I'm actually "proxifying" thru rtpengine because Asterisk is failing misserably with webrtc DTLS support. So I prefer to use a stable version of Asterisk, than the latest for production. But I'm looking for opus support despite is unstable, so I will lookout the patch for 11.11 to try to fork it for 11.6-cert4, since the @alexfournier 11.10 patch did not work for me (adapting to 11.10). I will tryout @andrius fork soon (it says it has support for 11.11) |
Sure, http://sipjs-test.herokuapp.com It is asterisk 11.11.0 + opus + webrtc, client is sipjs.com. It works On Wed, Aug 20, 2014 at 3:21 PM, SirLouen [email protected] wrote:
|
You've got the wrong @alexfournier. I'm getting emails for this convo. |
I'm in the process of attempting to port this to Asterisk 13.0.1 and have the following notes so far :
Any advice would be appreciated :) |
@fira
As for the rest of your notes... I'm not sure. Would have to look at everything in more detail and I don't have the time for that right now. |
Our Grandstream phones support Opus and software phone App (CSipSimple). We run Asterisk on a Linux platfrom with the Opus codec installed. Can someone tell me what version of Asterisk is needed for these phones to get them to use the Opus codec? Do I need the custom build to let them talk to PCMA/G722 streams? |
@PieterDeBruijn This is not really the place to ask, I think... But in order for them to "work", any version should be fine. For the Opus codec to be usable, version 12+ is what you need. If you want all connections to be Opus (and nothing else to go from the server to the phones), you'll need a patched/custom build as encoding to opus is what is added here. |
Hey there! I went ahead and updated your patch for the latest release.
Feel free to copy/modify/blah/whatever.
No need to mention me anywhere, just trying to make it easier for folks to use Opus in the latest release. :-)