If you receive an "-ERR" message from the originate command then you know the originate itself was not successful and you'll get some feedback, like "congestion" or whatnot. If you get a +OK message then you know the originate was successful. What it doesn't tell you is what, exactly, you connected to, so you'll need to analyze the early media for something other than a ring signal to determine what ultimately happened to the call.

-MC



On Wed, Jul 10, 2013 at 11:39 PM, Ashish gautam <ashish@nms.co.in> wrote:
I am generating outgoing calls to PSTN network through event socket originate action. I want to get the status that the call was generated successfully or not i.e. if the call was failed, what was the reason for that (Network failure, user busy, out of reach etc).

How can I get that. Please help.


--
Ashish 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.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
http://www.freeswitch.org




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org