I used the sample where I transfer the channels from a Holding Bridge to a Mixing Bridge. Everything work, except that one of the channels has no sound (the other is fine).
After some tests, I found out that if I don`t start the Moh, everything works fine.
Can anyone help me? I`m fairly new to the asterisk world.
You’d need to provide more information. Where is each channel located? What is their configuration? Are they behind NAT? Are you behind NAT? Does calling between them outside of ARI work?
To be able to run it, you just need to change the pjsip.conf “external_media_address”/“external_signaling_address” to your local ip (couldn`t find a way to make it work without this step).
After some additional tests I have found out the following?
If I never enable Moh, everything works.
If I enable recording on the mixing_bridge, everything works (even with the Moh on).
Then you’d need to provide further information such as what I originally asked for, alongside a SIP trace (pjsip set logger on) and RTP trace (rtp set debug on).
You should really start outside of Docker though to eliminate its networking aspect initially.
I enabled them in separate attempts so the logs wouldn’t be mixed, but both cases represent a failed attempt (where the side that was on the holding bridge cannot hear the other).
I would assume Docker is NATting all of the source traffic, so the impact of which on your environment I have no idea. You could try enable rtp_symmetric on the endpointand see what happens otherwise I’m going to bow out of this conversation. Docker just complicates VoIP and adds extra work if you’re starting out.