In above context, Once a conference is started,why lines after it not getting executed. I understood that once the conference is started it is halted over there till the conference end. But how to execute the next sentence after the conference ends?
But I have to cancel/terminate the conference when End-point who initiated the conference send CANCEL(button on application to leave conference) to the asterisk server
Why do you expect the conference to end if you aren’t doing anything to end it. If the initiator hangs up, the dialplan will not continue (but the conference might).
In SIP client I have a button to exit from the conference.
I found that Hangup handlers can do that, when User exit from conference.
I tried one hangup handlers and Able to do something when the user exit from the conference.