I just noticed today that ring groups don’t seem to pass audio without answer supervision:
exten => 4444,1,Dial(Local/s@test1&Local/s@test2)
same => n,Hangup()
[test1]
exten => s,1,Progress()
same => n,MusicOnHold(ringback)
same => n,Wait(60)
same => n,Hangup()
[test2]
exten => s,1,Wait(60)
same => n,Hangup()
The only way to hear audio is to change test1,s,1 to Answer() instead of Progress().
However, this is contrary to the behavior if only a single peer is dialed. For example, if I do this, I do hear audio:
exten => 4444,1,Dial(Local/s@test1)
same => n,Hangup()
[test1]
exten => s,1,Progress()
same => n,MusicOnHold(ringback)
same => n,Wait(60)
same => n,Hangup()
Is this intentional - for Asterisk to not pass audio with ring groups unless something supervises? (Once something supes, audio passes fine). I’d been assuming dialing multiple peers would behave the same way as single peer dials, but this seems not to be the case. Is this intentional? If so, is there any way to pass audio through from a particular endpoint without supervising?