Asterisk 16.1.1 Using core show channels getting 1 leg

We are using Asterisk 16.1.1 and Using core show channels via php manager but does not showing 2 calls legs but when we run this command via asterisk CLI it shows both 2 legs of a call

below are the example in CLI
PJSIP/mytrunk_IN-00000081!Dial-OUT!1234567890!11!Up!Dial!PJSIP/99999999999@ACCOUNT-2099,50,g,1!2017373981!2099-1234567890!2099-1234567890!3!9!ad7bcc23-82d4-432c-9000-eea8c7d7c49c!1556171486.190
PJSIP/ACCOUNT-2099-00000082!Dial-OUT!!1!Up!AppDial!(Outgoing Line)!1234567890!2099-1234567890!2099-1234567890!3!8!ad7bcc23-82d4-432c-9000-eea8c7d7c49c!1556171487.191

below are the example in PHP via manager
PJSIP/ACCOUNT-2099-00000082!Dial-OUT!!1!Up!AppDial!(Outgoing Line)!1234567890!2099-1234567890!2099-1234567890!3!8!ad7bcc23-82d4-432c-9000-eea8c7d7c49c!1556171487.191

And in Asterisk 13 version both ways working shows two call legs

Can nayone shed some light on this?

I just tried a scenario using netcat and the current Asterisk 16 branch and I got 2 results/records (as it should have).

If you can try upgrading to the latest version of Asterisk and see if the problem still occurs.

It could also be a problem with the PHP manager client. Try using netcat or another AMI client and see if you get similar results.

Ok, so I tried with the traditional style using shell_exec with show channels and works always

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.