Hi,
I defined a gosub(same with AGI too) in a Queue to find BRIDGEPEER on a connected Queue call but as you see it is empty.
it seem Asterisk fire Gosub,AGI before assigning BRIDGEPEER value?
if there any way to find BRIDGEPEER (member) for a channel ?
[Test]
…
exten => 10,n,Queue(test,sh)
[sh]
exten => s,1,NoOp(${BRIDGEPEER})
CLI output:
– Called 105
– SIP/105-00000007 is ringing
– Local/105@Test-d600;1 is ringing
– SIP/105-00000007 answered Local/105@Test-d600;2
– Local/105@Test-d600;1 answered SIP/104-00000006
– Stopped music on hold on SIP/104-00000006
– Executing [s@sh:1] NoOp(“Local/105@Test-d600;1”, “”) in new stack
– Auto fallthrough, channel ‘Local/105@Test-d600;1’ status is ‘UNKNOWN’
– Locally bridging SIP/104-00000006 and SIP/105-00000007