answer_stamp is a regular channel variable not a caller profile variable 
${answer_stamp} is correct but its only set once the channel is hungup 

billing is best done in a separate process from the dialplan on the backend via EVENTS or CDR


On Thu, May 13, 2010 at 4:36 AM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
hello,

i need to fetch a caller profile variable (e.g. answer_stamp) from a dialplan, can anyone help?


i tried with:

<action application="set" data="TEST=answer_stamp"/>
<action inline="true" application="set" data="TEST=answer_stamp"/>
<action inline="true" application="set" data="TEST=${answer_stamp}"/>


but it doesn't help...





_______________________________________________
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/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900