Comment 3 for bug 2044135

Revision history for this message
Bram Diederik (bram-diederik) wrote :

sure thing.
I'm coming from debian so if it worked in previous ubuntu version im not 100% sure. But the package did exist.

If all is set correctly `core show translation paths opus` will show the translation
` opus:48000 To ulaw:8000 : (opus@48000)->(slin@48000)->(slin@8000)->(ulaw@8000)`

Just install the module packages allows you to make opus 2 opus calls but no translation. (due to the missing of codec_opus.so or not correctly using the so files in the module package)

to reproduce the issue you need 2 pjsip accounts. One to allow ulaw and the other opus.
Connect them both to some softphone and let one call the other.

pjsip.conf
```
[101]
type=endpoint
context=users
disallow=all
allow=ulaw
auth=101
aors=101

[101]
type=auth
auth_type=userpass
password=ubuntu
username=101

[101]
type=aor
max_contacts=1
remove_existing=1

[102]
type=endpoint
context=users
disallow=all
allow=opus
auth=102
aors=102

[102]
type=auth
auth_type=userpass
password=ubuntu
username=102

[102]
type=aor
max_contacts=1
remove_existing=1
```

extentions.conf

;call 101
exten => 101,1,Dial(PJSIP/101)
exten => 101,n,Hangup()

;call 102
exten => 102,1,Dial(PJSIP/102)
exten => 102,n,Hangup()