[Freeswitch-users] Unanswered pstn outbound call via gateway detection
Md,Mehedi Hasan Kabir(Tanim)
tanim at surroundapps.com
Fri Nov 15 18:42:38 UTC 2019
Thanks 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
On Fri, Nov 15, 2019, 10:24 PM Ciprian Dosoftei <ciprian.dosoftei at gmail.com>
> 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
> 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 at surroundapps.com> wrote:
>> 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?
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> Build your next product on our scalable cloud platform.
>> Join our online community to chat in real time
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> Official FreeSWITCH Sites
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
> 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
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users