Hi All, I tried *sched_hangup*, its working fine. But its working with session. I mean to say, it hangs the call no matter if anybody picks the call up or not, if its time out the call is gonna be hanged. My intention is to start the timer once the call is picked up. So, in my case it would be merely talk time, not the session time. Do we have any other parameter for this? Thanks. -- Best, Adeel Ansari http://www.linkedin.com/in/adeelansari
Or should I calculate it with the help of mod_socket? I mean when application received call pickup event, it calculates something like, *new total time for call = (call pick up time + session start) + total time for call* and execute the sched_hangup with the new value. On Fri, Sep 12, 2008 at 3:35 PM, Adeel Ansari <adeel.gnome@gmail.com> wrote:
Hi All,
I tried *sched_hangup*, its working fine. But its working with session. I mean to say, it hangs the call no matter if anybody picks the call up or not, if its time out the call is gonna be hanged. My intention is to start the timer once the call is picked up. So, in my case it would be merely talk time, not the session time. Do we have any other parameter for this?
Thanks.
-- Best, Adeel Ansari
-- Best, Adeel Ansari http://www.linkedin.com/in/adeelansari
Any inputs on this please. Thanks. On Fri, Sep 12, 2008 at 4:53 PM, Adeel Ansari <adeel.gnome@gmail.com> wrote:
Or should I calculate it with the help of mod_socket? I mean when application received call pickup event, it calculates something like,
*new total time for call = (call pick up time + session start) + total time for call*
and execute the sched_hangup with the new value.
On Fri, Sep 12, 2008 at 3:35 PM, Adeel Ansari <adeel.gnome@gmail.com>wrote:
Hi All,
I tried *sched_hangup*, its working fine. But its working with session. I mean to say, it hangs the call no matter if anybody picks the call up or not, if its time out the call is gonna be hanged. My intention is to start the timer once the call is picked up. So, in my case it would be merely talk time, not the session time. Do we have any other parameter for this?
Thanks.
-- Best, Adeel Ansari
-- Best, Adeel Ansari
-- Best, Adeel Ansari http://www.linkedin.com/in/adeelansari
you use the variable execute_on_answer to cause the sched_hangup to be executed the instant the channel is answered. On Thu, Sep 25, 2008 at 12:43 AM, Adeel Ansari <adeel.gnome@gmail.com>wrote:
Any inputs on this please. Thanks.
On Fri, Sep 12, 2008 at 4:53 PM, Adeel Ansari <adeel.gnome@gmail.com>wrote:
Or should I calculate it with the help of mod_socket? I mean when application received call pickup event, it calculates something like,
*new total time for call = (call pick up time + session start) + total time for call*
and execute the sched_hangup with the new value.
On Fri, Sep 12, 2008 at 3:35 PM, Adeel Ansari <adeel.gnome@gmail.com>wrote:
Hi All,
I tried *sched_hangup*, its working fine. But its working with session. I mean to say, it hangs the call no matter if anybody picks the call up or not, if its time out the call is gonna be hanged. My intention is to start the timer once the call is picked up. So, in my case it would be merely talk time, not the session time. Do we have any other parameter for this?
Thanks.
-- Best, Adeel Ansari
-- Best, Adeel Ansari
-- Best, Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Thanks, Anthony. Its working. On Thu, Sep 25, 2008 at 10:47 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
you use the variable execute_on_answer to cause the sched_hangup to be executed the instant the channel is answered.
On Thu, Sep 25, 2008 at 12:43 AM, Adeel Ansari <adeel.gnome@gmail.com>wrote:
Any inputs on this please. Thanks.
On Fri, Sep 12, 2008 at 4:53 PM, Adeel Ansari <adeel.gnome@gmail.com>wrote:
Or should I calculate it with the help of mod_socket? I mean when application received call pickup event, it calculates something like,
*new total time for call = (call pick up time + session start) + total time for call*
and execute the sched_hangup with the new value.
On Fri, Sep 12, 2008 at 3:35 PM, Adeel Ansari <adeel.gnome@gmail.com>wrote:
Hi All,
I tried *sched_hangup*, its working fine. But its working with session. I mean to say, it hangs the call no matter if anybody picks the call up or not, if its time out the call is gonna be hanged. My intention is to start the timer once the call is picked up. So, in my case it would be merely talk time, not the session time. Do we have any other parameter for this?
Thanks.
-- Best, Adeel Ansari
-- Best, Adeel Ansari
-- Best, Adeel Ansari
http://www.linkedin.com/in/adeelansari
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
-- Best, Adeel Ansari http://www.linkedin.com/in/adeelansari
participants (2)
-
Adeel Ansari
-
Anthony Minessale