This should go a long way--On Fri, 15 Nov 2019 at 19:01, Md,Mehedi Hasan Kabir(Tanim) <tanim@surroundapps.com> wrote:Hi CiprianThanks for your prompt response. As i am new to freeswitch,can you give some guideline/sample about how i can monitor status of the originated outbound channel?Thanks_________________________________________________________________________TanimOn Fri, Nov 15, 2019, 10:24 PM Ciprian Dosoftei <ciprian.dosoftei@gmail.com> wrote:Tanim --Since you are using ESL, you should monitor the status of the outbound channel you've originated -- you should do that by channel ID, either the generated one or you could preset it via the origination_uuid variable.During the channel's execution you will see a bunch of CHANNEL_* events streamed via ESL; the relevant event for your question is CHANNEL_HANGUP. You can extract the reason behind the hangup from the Hangup-Cause header (could be CALL_REJECTED, USER_BUSY etc. here's a comprehensive list https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table).Conversely, if the call is picked up, you will see a CHANNEL_ANSWER event coming through.On Fri, 15 Nov 2019 at 10:59, Md,Mehedi Hasan Kabir(Tanim) <tanim@surroundapps.com> wrote:Hi_________________________________________________________________________I have originated outbound call to pstn number using gateway provider flowroute with originate command. I am using python ESL to achieve this.If the call is not answered by pstn user, then i need to post status to my webserver .Can anyone suggests me how i can detect whether the pstn call is answered or not?ThanksTanim
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com--Best Regards,_________________________________________________________________________
Ciprian Dosoftei
The information transmitted is intended only for the addressee and may contain privileged and/or confidential material. If you are not the intended recipient, kindly contact the sender and delete the message.
Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com