Facing the Apocalypse

Famed psychiatrist Irv Yalom’s book, Staring at the Sun, asks us to look at life’s most difficult aspects, especially our death. While we may be aware of near-term threats like getting run over by a…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Subscribe FreeSWITCH event from external python script using ESL

Suppose we want to know when a specific call is answered or hangup from the python app. We can do it by subscribing to FreeSWITCH events and continuously monitoring events. We can subscribe to all FreeSWITCH events or specific events.

Subscribe to all events

‘’’

events.py — subscribe to all events and print them to stdout

‘’’

To get the event type

To get event Unique-ID

Subscribe to specific events

Add a comment

Related posts:

Why is Organic Search Important?

Organic search can improve visibility in search results. But what exactly is it, and why is it so important?

Candy Cane

Candy canes are a common sight seen during Christmas. They are not only popular as sweets but are also used as a piece of decoration during this festive season. Initially, when the tradition of…

Should home buyers beware from another housing bubble?

The Federal Reserve bailed out Bear Stearns on March 14,2008 nine years ago. What has the Fed learned from that mistake? Not enough, perhaps. Today, the Fed is again ignoring the GSEs and their…