Asterisk MJ outbound inbound channels.
Moderators: Bill Smith, Pilot
Asterisk MJ outbound inbound channels.
Is it OK to use 2 channels for inbound and outbound with asterisk or any PBX system? If you use 3way feature, Does it counts as using 2 outbound channels? :evil:
You must use the Set Group and Group Count functions to limit the number of simultaneous channels used by each MJ. Put these lines in both your outbound and inbound contexts for each MJ line you have programmed into Asterisk. This will limit your combined number of talk paths, both inbound and outbound, to the two talk paths possible using the MJ softphone. I use this code for all of my VoIP services that are constrained in this way, not just MJ.
Code: Select all
[call-mj-1234]
.
.
exten => _1NXXNXXXXXX,3,Set(GROUP()=MJ1234)
exten => _1NXXNXXXXXX,4,GotoIf($[ ${GROUP_COUNT()} < 3 ]?5:105)
.
.