[Freeswitch-users] ORIGINATE_DISPOSITION

Michael Collins msc at freeswitch.org
Tue Aug 16 04:30:55 MSD 2011


On Mon, Aug 15, 2011 at 5:05 PM, Sam <lakersman2006 at yahoo.com> wrote:

> I am using perl's $session->get_variable("originate_disposition");
>
Are you looking at the b-leg's session?


>
> Also, how come the "hangup_time" shows zero on answered calls?
>
Because hangup_time refers to the point in time at which the call was hung
up. Since you are in the middle of a call (using the $session object) you
will never see the hangup_time because the object ceases to exist once the
call leg is disconnected.

I get the impression that you may be using the wrong tool for this
particular job, but I'm not sure without seeing it. If you don't mind
dropping it on pastebin we'll have a look and give you some suggestions.

-MC


> ------------------------------
> *From:* Michael Collins <msc at freeswitch.org>
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Sent:* Monday, August 15, 2011 4:58 PM
>
> *Subject:* Re: [Freeswitch-users] ORIGINATE_DISPOSITION
>
> And how are you checking the variable? Do you have an event socket open or
> ... ?
> -MC
>
> On Mon, Aug 15, 2011 at 4:57 PM, Sam <lakersman2006 at yahoo.com> wrote:
>
> It is being generated with a bridge.
>
> ------------------------------
> *From:* Michael Collins <msc at freeswitch.org>
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Sent:* Monday, August 15, 2011 4:54 PM
>
> *Subject:* Re: [Freeswitch-users] ORIGINATE_DISPOSITION
>
> And how is it being generated? WIth a bridge or originate or ... ?
> -MC
>
> On Mon, Aug 15, 2011 at 4:49 PM, Sam <lakersman2006 at yahoo.com> wrote:
>
> I want to know the B-leg status of the call.
>
> ------------------------------
> *From:* Michael Collins <msc at freeswitch.org>
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Sent:* Monday, August 15, 2011 4:31 PM
> *Subject:* Re: [Freeswitch-users] ORIGINATE_DISPOSITION
>
> I think you may be wanting "endpoint_disposition" depending on exactly what
> you're looking at.
>
> -MC
>
> On Mon, Aug 15, 2011 at 3:35 PM, Sam <lakersman2006 at yahoo.com> wrote:
>
> For the ORIGINATE_DISPOSITION channel variable, does "SUCCESS" mean the
> call was ANSWERED?
>
>
> 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
>
>
>
>
> 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
>
>
>
>
> 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
>
>
>
>
> 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
>
>
>
>
> 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
>
>
>
>
> 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
>
>
>
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110815/313dee42/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list