<div dir="ltr">you use the variable execute_on_answer to cause the sched_hangup to be executed the instant the channel is answered.<br><br><br><div class="gmail_quote">On Thu, Sep 25, 2008 at 12:43 AM, Adeel Ansari <span dir="ltr">&lt;<a href="mailto:adeel.gnome@gmail.com">adeel.gnome@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Any inputs on this please.<br>Thanks.<br><br><div class="gmail_quote">On Fri, Sep 12, 2008 at 4:53 PM, Adeel Ansari <span dir="ltr">&lt;<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Or should I calculate it with the help of mod_socket? I mean when application received call pickup event, it calculates something like,<br>

<br><b>new total time for call = (call pick up time + session start) + total time for call</b><br>
<br>and execute the sched_hangup with the new value.<div><div></div><div><br><br><br><div class="gmail_quote">On Fri, Sep 12, 2008 at 3:35 PM, Adeel Ansari <span dir="ltr">&lt;<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi All,<br><br>I tried <i>sched_hangup</i>, 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?<br>



<br>Thanks.<br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>