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

Sip Express Media Server (1.7-dev-90-g97d29b0 (x86_64/linux)) - SBC cannot transcode #44

Open
linhtn121 opened this issue Oct 14, 2016 · 10 comments

Comments

@linhtn121
Copy link

[Hi you, we want to use SEMS to transcode but it's not working -

Caller understands only PCMA codec, callee: understands only PCMU codec:

my.sbcprofile.conf:

enable_rtprelay=yes
enable_transcoder=always
transcoder_codecs=pcmu,pcma
prefer_existing_codecs=yes
codec_preference=pcma/8000,pcmu/8000
sdp_filter=whitelist
sdpfilter_list=pcma

The sip signaling is ok, but the media is not working....

The log: http://pastebin.com/6swu0hfG

What's wrong in my config? Please help us!

Thank you!

@nghiacua
Copy link

Dear linhtn121
Please check plugin wav.so? It's loaded or not?

@linhtn121
Copy link
Author

Dear nghiacua
It's loaded!
I have a debug log when the SEMS loaded: http://pastebin.com/ttCp9Q5b

@nghiacua
Copy link

nghiacua commented Oct 18, 2016

Everything's seemly OK!
Did you add "my.sbcprofile.conf" into /usr/local/etc/sems/etc/sbc.conf file?

@linhtn121
Copy link
Author

No, my.sbcprofile.conf config is different sbc.conf file, It is just same location

@nghiacua
Copy link

What is the error in Sip app when you using with and without your config?
When you remove your config, please check the log file to confirm the transcoder is disabled.

@linhtn121
Copy link
Author

Server side: there are not any error when I using with and without my config.
Client side:
When using with my config:(Caller using PCMA, callee using PCMU)

  • Linphone IOS - crash app. Lingphone Desktop: upload ok, download = 0kb;
    Using without myconfig:
    -client show: "not acceptable here'

Could you show me a sample for transcode?

@nghiacua
Copy link

If you use linephone desktop + without your config + same codecs(PCMA): It is ok, right?
I use to use zoiper app to make call. Could you please try it?

@linhtn121
Copy link
Author

If caller and callee using the same codecs (PCMA or PCMU) : everything is OK!

@nghiacua
Copy link

Oh, I have not found any wrong in your configs?
Please try to use wireshark (or tcpdump) to check media stream in sems server?
"Lingphone Desktop: upload ok, download = 0kb"? Do you know "upload" and "download" mean?
Upload: meadia stream from linephone -> sems
Download: media stream from sems -> linephone, right?

@linhtn121
Copy link
Author

"Lingphone Desktop: upload ok, download = 0kb"? Do you know "upload" and "download" mean? Upload: meadia stream from linephone -> sems Download: media stream from sems -> linephone, right?

  • yes!

Do you have any simple config for transcoding?

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

No branches or pull requests

2 participants