<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tihomir Culjaga wrote:
<blockquote
cite="mid:AANLkTimMWUadGvAaL-sMUvVNTQxiF2AjbrNDGliu6MJU@mail.gmail.com"
type="cite"><br>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<div>
<div class="h5">
<blockquote type="cite">
<div class="gmail_quote">On Thu, May 13, 2010 at 4:39 PM, Anthony
Minessale <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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;">answer_stamp
is a regular channel variable not a caller profile variable
<div>${answer_stamp} is correct but its only set once the
channel
is hungup </div>
<div><br>
</div>
<div>billing is best done in a separate process from the
dialplan
on the backend via EVENTS or CDR</div>
<div><br>
</div>
</blockquote>
</div>
<br>
so, when/how do i set these variables to have them available in the CDR
?<br>
<br>
T.<br>
<pre> </pre>
</blockquote>
</div>
</div>
Dialplan<br>
<br>
<action application="export" data="billing_model_id=0"/><br>
<action application="export" data="country_name=UE"/><br>
<action application="export" data="area_name=918"/><br>
<action application="export" data="zone_name=blah"/><br>
<br>
</div>
</blockquote>
<div><br>
thanks, and when do i execute export ?<br>
come vars are being populated on hangup...<br>
<br>
</div>
</div>
</blockquote>
<extension name="global_extension" continue="true"><br>
<condition><br>
<b> <action application="export" data="zone_name=blah"/></b><br>
</condition><br>
</extension><br>
<extension name="Local_Extension_gw"><br>
<condition field="destination_number"
expression="^(00447262682030)$"><br>
<action application="bridge"
data="sofia/gateway/default/00447262682030"/><br>
</condition><br>
</extension><br>
</context><br>
<br>
<blockquote
cite="mid:AANLkTimMWUadGvAaL-sMUvVNTQxiF2AjbrNDGliu6MJU@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div><br>
</div>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">-- <br>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>