[Freeswitch-users] Getting FreeTDM originate status
Michael Collins
msc at freeswitch.org
Wed Apr 3 20:47:11 MSD 2013
If you know the uuid of the call you can get any piece of information with
uuid_getvar. You can also use uuid_dump to get the complete picture. I
believe you can check several vars for information. I'd look at things like
endpoint_disposition and DIALSTATUS vars specifically, although I recommend
uuid_dump on an existing channel in various scenarios so that you can get a
clear picture of what's happening.
Of course, if the originate failed then you'll get that as the result of
the originate command instead of a "+OK"
-MC
On Wed, Apr 3, 2013 at 12:38 AM, Ashish gautam <ashish at nms.co.in> wrote:
> Hi,
>
> I have connected a PRI line to FreeSWITCH working with mod_freetdm
> enabled. Calls are going properly. Now, what I want is to get the originate
> status of each call i.e. whether the call was connected, failed, user busy
> or whatever the status is. How can I get this status from FreeSWTICH or
> FreeTDM? I am generating outgoing calls through event socket which receives
> originate request from a Perl script running on the same server.
>
> Please help and throw some light on this.
>
> --
> Regards,
> Ashish
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130403/9483c727/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list