i am trying to get if there is any current call status in dialplan (context) before making 2nd call. if yes than what is the duration,status,time, etc… of current call. i want to get this info for billing.
Thanks.
You can’t do that as far as I know. You can check if a SIP device already has an active call. And I think that for majority of cases this is more than enough.
hi there,
Not sure if there is any feature to achieve this.
you can work with bash script which will check the current call status by running asterisk command on asterisk CLI “core show channels verbose” and then run this script in your dialplan’s first priority.
Sohaib Khan