Asterisk: 14.1.2
FreePbx: 13.0.190.2
I’m having a very strange “no audio” problem with asterisk.
I’ve set up a trunk and enabled the following codecs in this order: g722, alaw, ulaw, gsm
A confbridge is configured which plays music on hold when only 1 caller is in conference
The trunk is configured, to route all calls to this conference.
Now when an incoming call with g722 is received, the call is put to the conference (see this log):
[2016-11-17 20:37:45] VERBOSE[83623][C-00000024] pbx.c: Executing [STARTMEETME@ext-meetme:1] ExecIf("PJSIP/Telekom_8885855-0000001b", "1?Set(CONFBRIDGE(user,music_on_hold_class)=PopMusic)") in new stack
[2016-11-17 20:37:45] VERBOSE[83623][C-00000024] pbx.c: Executing [STARTMEETME@ext-meetme:2] ExecIf("PJSIP/Telekom_8885855-0000001b", "1?Set(CHANNEL(musicclass)=PopMusic)") in new stack
[2016-11-17 20:37:45] VERBOSE[83623][C-00000024] pbx.c: Executing [STARTMEETME@ext-meetme:3] Set("PJSIP/Telekom_8885855-0000001b", "GROUP(meetme)=995") in new stack
[2016-11-17 20:37:45] VERBOSE[83623][C-00000024] pbx.c: Executing [STARTMEETME@ext-meetme:4] GotoIf("PJSIP/Telekom_8885855-0000001b", "0?MEETMEFULL,1") in new stack
[2016-11-17 20:37:45] VERBOSE[83623][C-00000024] pbx.c: Executing [STARTMEETME@ext-meetme:5] ConfBridge("PJSIP/Telekom_8885855-0000001b", "995,,,") in new stack
[2016-11-17 20:37:45] VERBOSE[83633] bridge_channel.c: Channel CBAnn/995-00000018;2 joined 'softmix' base-bridge <67e74f9b-46a6-4624-85e7-8c1112466edb>
[2016-11-17 20:37:45] VERBOSE[83623][C-00000024] file.c: <PJSIP/Telekom_8885855-0000001b> Playing 'conf-onlyperson.g722' (language 'en')
[2016-11-17 20:37:48] VERBOSE[83623][C-00000024] res_musiconhold.c: Started music on hold, class 'PopMusic', on channel 'PJSIP/Telekom_8885855-0000001b'
[2016-11-17 20:37:48] VERBOSE[83623][C-00000024] bridge_channel.c: Channel PJSIP/Telekom_8885855-0000001b joined 'softmix' base-bridge <67e74f9b-46a6-4624-85e7-8c1112466edb>
[2016-11-17 20:37:48] VERBOSE[83632] file.c: <CBAnn/995-00000018;1> Playing 'confbridge-join.slin' (language 'en')
The strange thing is:
- The caller can hear the announcement ‘conf-onlyperson.g722’
- But the caller CANNOT hear the music on hold
OK. Now lets disable all codecs on the trunk and leave only the g722 enabled
Now when an incoming call with g722 is received, the call is also put to the conference. Log is the same as above, but:
- The caller can also hear the announcement ‘conf-onlyperson.g722’
- AND the caller can also hear the music on hold
Some things to mention:
- The problem is not only related to music on hold. Even if another party joins the conference, the caller can only hear the initial announcement from the confbridge
- Very strange, that the problem only occurs if alaw codec is enabled after g722 (even if it is not used)
I think is has something to do with transcoding, but cannot find out why.
Has someone a hint for me?