incomming_chan = channel_obj.get('channel')
incomming_chan.answer()
# the channel id of the incoming call
chan_id = incomming_chan.id
client.on_channel_event(‘StasisStart’, on_start)
client.run(apps=app_name)
However every time I call it with my own cellphone, StasisEnd at 30 seconds itself. While using Linphone, it never ends itself.
Anyone knows why?
Is there any way to control StasisEnd while using my own cellphone? cause I want the channel holds there and I will play with it by using api.
Is the channel hanging up? Have you looked at the console to see what is happening and the SIP signaling? It may be because no audio would be getting played.