[Freeswitch-users] Getting FreeTDM originate status
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"
On Wed, Apr 3, 2013 at 12:38 AM, Ashish gautam <ashish at nms.co.in> wrote:
> 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.
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
Michael S Collins
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users