Because we need to switch from Asterisk 11 to Asterisk 13, I updated also version of asterisk-java from 2.0.3 to 3.2.0. However, with newer Asterisk and newer library I'm not able to get list of already ongoing calls on Asterisk.
AsteriskServer returns list of respective AsteriskChannels (via getChannels method), but I'm completely missing the information on how to pair them - none of the channels has linkedChannel filled in, so it is not known, who is talking with whom.
Is there any other way on how to pair those channels? Or in general, any other way on how to get the list of calls already existing within Asterisk, so we can display them to the user?
Because we need to switch from Asterisk 11 to Asterisk 13, I updated also version of asterisk-java from 2.0.3 to 3.2.0. However, with newer Asterisk and newer library I'm not able to get list of already ongoing calls on Asterisk.
AsteriskServer returns list of respective AsteriskChannels (via getChannels method), but I'm completely missing the information on how to pair them - none of the channels has linkedChannel filled in, so it is not known, who is talking with whom.
Is there any other way on how to pair those channels? Or in general, any other way on how to get the list of calls already existing within Asterisk, so we can display them to the user?