lol, nevermind, i missed the variable! thanks for everyone's help, consider this issue resolved!<br><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 1:12 PM, vip killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com">vipkilla@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I've been informed that i need to use xml_cdr to log the B-leg. But i dont see a way to log the digits_dialed variable using xml_cdr. with cdr_csv you use templates. is there something similar with xml_cdr? Thanks for everyones help so far.<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Fri, Aug 12, 2011 at 8:23 AM, vip killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I apologize, I got that to work by adding ${<span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">digits_dialed} to cdr_csv.conf.xml</span><div><font face="arial, sans-serif">Still, it only records the digits from the A leg, anyway to make it record digits from the B leg?<br>
</font><div><div></div><div><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 8:16 AM, vip killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just looked at the CDR CSVs, I don't see the digits dialed in there... there is nothing in wiki on how to use this either. How can I see the <span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">digits_dialed variable in the CDR?</span><div>
<div></div><div><br>
<br><div class="gmail_quote">On Thu, Aug 11, 2011 at 6:32 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
digits_dialed variable available in the cdr will contain any digits<br>
dialed the whole call duration.<br>
<div><div></div><div><br>
<br>
On Thu, Aug 11, 2011 at 3:15 PM, Avi Marcus <<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>> wrote:<br>
> According to the wiki, apparently, you can't capture digits from<br>
> bind_digit_action. So you'll have to use that to trigger<br>
> a Dialplan_Tools_play_and_get_digits which automatically sets a variable, or<br>
> getdigits within lua/js (only?) and then save it.<br>
><br>
> -Avi<br>
><br>
><br>
> On Thu, Aug 11, 2011 at 10:18 PM, vip killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>> wrote:<br>
>><br>
>> I can't seem to figure out how to store what is collected<br>
>> from bind_digit_action into a channel variable... any ideas?<br>
>><br>
>> On Thu, Aug 11, 2011 at 3:07 PM, Avi Marcus <<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>> wrote:<br>
>>><br>
>>> So some sort of bind_digit_action to collect and use that to set a hangup<br>
>>> hook. I then execute_extension from the action will be the easiest way to do<br>
>>> it, because you have several actions to accomplish.<br>
>>> However, doing this while the other person is on the hook.. sounds like a<br>
>>> bad idea.<br>
>>> -Avi<br>
>>><br>
>>> On Thu, Aug 11, 2011 at 9:13 PM, vip killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>> wrote:<br>
>>>><br>
>>>> thanks but i'm not interested in paying someone to do this. but yes i<br>
>>>> simply want to collect the digits during the call from the B leg then store<br>
>>>> them in a variable which will rename the file accordingly from the hangup<br>
>>>> hook<br>
>>>><br>
>>>> On Thu, Aug 11, 2011 at 2:07 PM, Avi Marcus <<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>> wrote:<br>
>>>>><br>
>>>>> Oh, you don't want the info in the CDR, you want the info in the<br>
>>>>> recording. Does it have to be in the name, or is an audio tag enough? I'm<br>
>>>>> not sure if tags can work once the recording started...<br>
>>>>> OK, so you can set a hangup hook to rename the file and add the<br>
>>>>> variable with the account code to the end.<br>
>>>>> Whatever you use to capture the DTMF - bind_digit_action or<br>
>>>>> playandgetdigits or anything can set a variable.<br>
>>>>> -Avi Marcus<br>
>>>>><br>
>>>>> p.s. If you want me to... actually do it for you, I'm available for<br>
>>>>> consulting.. email me offlist.<br>
>>>>><br>
>>>>> On Thu, Aug 11, 2011 at 8:52 PM, vip killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>> wrote:<br>
>>>>>><br>
>>>>>> I apologize but the caller would not know the account number, it would<br>
>>>>>> be for internal use only. how could xml_cdrs and mod_cdr_csv be used to<br>
>>>>>> stamp a recording? how do you store the DTMF in a channel variable?<br>
>>>>>><br>
>>>>>> On Thu, Aug 11, 2011 at 12:41 PM, Avi Marcus <<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>><br>
>>>>>> wrote:<br>
>>>>>>><br>
>>>>>>> You can set any channel variable from the dialplan or from a lua<br>
>>>>>>> script.<br>
>>>>>>> I'd reccommend a standalone lua script before the agent gets on the<br>
>>>>>>> phone, which can verify their account number and then present it to the<br>
>>>>>>> agent even. But yes, you can do anything with the dtmf including setting a<br>
>>>>>>> variable which can be saved from the xml_cdrs or mod_cdr_csv or whatever<br>
>>>>>>> other cdr system you use.<br>
>>>>>>> -Avi<br>
>>>>>>><br>
>>>>>>> On Thu, Aug 11, 2011 at 7:30 PM, vip killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>><br>
>>>>>>> wrote:<br>
>>>>>>>><br>
>>>>>>>> indeed it may be easier but this is what the client is asking<br>
>>>>>>>> for.... i know it has to be possible... i just need some direction.<br>
>>>>>>>><br>
>>>>>>>> On Thu, Aug 11, 2011 at 12:22 PM, <<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a>> wrote:<br>
>>>>>>>>><br>
>>>>>>>>> Could not the agent just type it on a screen -- it would seem to be<br>
>>>>>>>>> much<br>
>>>>>>>>> easier.<br>
>>>>>>>>><br>
>>>>>>>>> vip killa <<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>> wrote:<br>
>>>>>>>>><br>
>>>>>>>>> > Hi everyone,<br>
>>>>>>>>> > I'm trying to collect DTMF digits and store them in a channel<br>
>>>>>>>>> > variable so<br>
>>>>>>>>> > when the channel hangs up it uses those digits to "mark" (or<br>
>>>>>>>>> > rename) the<br>
>>>>>>>>> > recording of the call. The DTMF will be entered by the called<br>
>>>>>>>>> > party (i think<br>
>>>>>>>>> > that would be the B-leg?). I've been experimenting with<br>
>>>>>>>>> > "bind_meta_app" and<br>
>>>>>>>>> > "bind_digit_action", it seems like "bind_digit_action" may be the<br>
>>>>>>>>> > one i need<br>
>>>>>>>>> > to use but im not sure. I'll explain the scenario to make things<br>
>>>>>>>>> > more<br>
>>>>>>>>> > clear...we are trying to install this in a call center type<br>
>>>>>>>>> > environment<br>
>>>>>>>>> > where all calls are being recorded. A caller gets an agent, the<br>
>>>>>>>>> > caller gives<br>
>>>>>>>>> > the agent the account number of their case, the agent uses DTMF<br>
>>>>>>>>> > to mark the<br>
>>>>>>>>> > recording of the call with the account number of the caller's<br>
>>>>>>>>> > case. Does<br>
>>>>>>>>> > that make sense? Please let me know if this is possible, thanks.<br>
>>>>>>>>> ><br>
>>>>>>>>> > ----------------------------------------------------<br>
>>>>>>>>> > Alternatives:<br>
>>>>>>>>> ><br>
>>>>>>>>> > ----------------------------------------------------<br>
>>>>>>>>> > _______________________________________________<br>
>>>>>>>>> > Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>>>>>>>> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>>>>>>>> ><br>
>>>>>>>>> > FreeSWITCH-users mailing list<br>
>>>>>>>>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>>>>>>>>> ><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>
>>>>>>>>> --<br>
>>>>>>>>> Your life is like a penny. You're going to lose it. The question<br>
>>>>>>>>> is:<br>
>>>>>>>>> How do<br>
>>>>>>>>> you spend it?<br>
>>>>>>>>><br>
>>>>>>>>> John Covici<br>
>>>>>>>>> <a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a><br>
>>>>>>>>><br>
>>>>>>>>> _______________________________________________<br>
>>>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>>>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>>>>>>>><br>
>>>>>>>>> FreeSWITCH-users mailing list<br>
>>>>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>>>>>>>>><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>
>>>>>>>><br>
>>>>>>>> _______________________________________________<br>
>>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>>>>>>><br>
>>>>>>>> FreeSWITCH-users mailing list<br>
>>>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>>>>>>>><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>
>>>>>>><br>
>>>>>>><br>
>>>>>>> _______________________________________________<br>
>>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>>>>>><br>
>>>>>>> FreeSWITCH-users mailing list<br>
>>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>>>>>>><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>
>>>>>><br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>>>>><br>
>>>>>> FreeSWITCH-users mailing list<br>
>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>>>>>><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>
>>>>><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>>>><br>
>>>>> FreeSWITCH-users mailing list<br>
>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>>>>><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>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>>><br>
>>>> FreeSWITCH-users mailing list<br>
>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
>><br>
>><br>
>> _______________________________________________<br>
>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
><br>
><br>
> _______________________________________________<br>
> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
><br>
<br>
<br>
<br>
--<br>
</div></div>Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
<div><div></div><div><br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br>