one question is that when javascript is being called from dial plan, I get the session object already available, It is for A leg of channel, So when javascript is called after Bridge how can I get the session object for B leg also? Anthony Minessale-2 wrote:
the leg you are running the script on is not hungup, the other leg of the call is.
If it was hungup you would not be executing the script.
Asterisk and the h ext and the whole dead-agi thing are all poor design showing it's teeth. We do not support anything like it.
You can however try this: (see the link below)
http://www.nabble.com/Re:-Conference-javascript-and-hanuphooks-giving-me-hea...
On Mon, Feb 2, 2009 at 6:53 AM, shehzad p <pmhshz@gmail.com> wrote:
Is there any settings that when call hangup control can be transferred to another context and these CDR values can be accessible there? (just like in Asterisk, h extension)
shehzad p wrote:
Hi all,
I need to process some CDR variables in Dialplan, like call duration, Answered time etc. but when I place info application after bridge, it is not listing them properly as below: =========================================== Caller-Channel-Created-Time: [1233573341672157] Caller-Channel-Answered-Time: [1233573342712939] Caller-Channel-Hangup-Time: [0] ========================================== Here Hangup time is 0, So how can I find actual values?
--I know that we can use xml_cdr or cdr_csv, but my current need is to
get
those values from dialplan itself so that can be passed to some script...
thanks, msp
-- View this message in context: http://www.nabble.com/Call-Variable-not-available-when-call-hangup-tp2178855... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/Call-Variable-not-available-when-call-hangup-tp2178855... Sent from the Freeswitch-users mailing list archive at Nabble.com.