[Freeswitch-users] collect dtmf and store in channel variable

Avi Marcus avi at avimarcus.net
Thu Aug 11 23:07:16 MSD 2011


So some sort of bind_digit_action to collect and use that to set a hangup
hook. I then execute_extension from the action will be the easiest way to do
it, because you have several actions to accomplish.
However, doing this while the other person is on the hook.. sounds like a
bad idea.
-Avi


On Thu, Aug 11, 2011 at 9:13 PM, vip killa <vipkilla at gmail.com> wrote:

> thanks but i'm not interested in paying someone to do this. but yes i
> simply want to collect the digits during the call from the B leg then store
> them in a variable which will rename the file accordingly from the hangup
> hook
>
>
> On Thu, Aug 11, 2011 at 2:07 PM, Avi Marcus <avi at avimarcus.net> wrote:
>
>> Oh, you don't want the info in the CDR, you want the info in the
>> recording. Does it have to be in the name, or is an audio tag enough? I'm
>> not sure if tags can work once the recording started...
>> OK, so you can set a hangup hook to rename the file and add the variable
>> with the account code to the end.
>>
>> Whatever you use to capture the DTMF - bind_digit_action or
>> playandgetdigits or anything can set a variable.
>> -Avi Marcus
>>
>> p.s. If you want me to... actually do it for you, I'm available for
>> consulting.. email me offlist.
>>
>>
>> On Thu, Aug 11, 2011 at 8:52 PM, vip killa <vipkilla at gmail.com> wrote:
>>
>>> I apologize but the caller would not know the account number, it would be
>>> for internal use only. how could xml_cdrs and mod_cdr_csv be used to stamp a
>>> recording? how do you store the DTMF in a channel variable?
>>>
>>>
>>> On Thu, Aug 11, 2011 at 12:41 PM, Avi Marcus <avi at avimarcus.net> wrote:
>>>
>>>> You can set any channel variable from the dialplan or from a lua script.
>>>> I'd reccommend a standalone lua script before the agent gets on the
>>>> phone, which can verify their account number and then present it to the
>>>> agent even. But yes, you can do anything with the dtmf including setting a
>>>> variable which can be saved from the xml_cdrs or mod_cdr_csv or whatever
>>>> other cdr system you use.
>>>>
>>>> -Avi
>>>>
>>>>
>>>> On Thu, Aug 11, 2011 at 7:30 PM, vip killa <vipkilla at gmail.com> wrote:
>>>>
>>>>> indeed it may be easier but this is what the client is asking for.... i
>>>>> know it has to be possible... i just need some direction.
>>>>>
>>>>>
>>>>> On Thu, Aug 11, 2011 at 12:22 PM, <covici at ccs.covici.com> wrote:
>>>>>
>>>>>> Could not the agent just type it on a screen -- it would seem to be
>>>>>> much
>>>>>> easier.
>>>>>>
>>>>>> vip killa <vipkilla at gmail.com> wrote:
>>>>>>
>>>>>> > Hi everyone,
>>>>>> > I'm trying to collect DTMF digits and store them in a channel
>>>>>> variable so
>>>>>> > when the channel hangs up it uses those digits to "mark" (or rename)
>>>>>> the
>>>>>> > recording of the call. The DTMF will be entered by the called party
>>>>>> (i think
>>>>>> > that would be the B-leg?). I've been experimenting with
>>>>>> "bind_meta_app" and
>>>>>> > "bind_digit_action", it seems like "bind_digit_action" may be the
>>>>>> one i need
>>>>>> > to use but im not sure. I'll explain the scenario to make things
>>>>>> more
>>>>>> > clear...we are trying to install this in a call center type
>>>>>> environment
>>>>>> > where all calls are being recorded. A caller gets an agent, the
>>>>>> caller gives
>>>>>> > the agent the account number of their case, the agent uses DTMF to
>>>>>> mark the
>>>>>> > recording of the call with the account number of the caller's case.
>>>>>> Does
>>>>>> > that make sense? Please let me know if this is possible, thanks.
>>>>>> >
>>>>>> > ----------------------------------------------------
>>>>>> > Alternatives:
>>>>>> >
>>>>>> > ----------------------------------------------------
>>>>>> > _______________________________________________
>>>>>> > Join us at ClueCon 2011, Aug 9-11, Chicago
>>>>>> > http://www.cluecon.com 877-7-4ACLUE
>>>>>> >
>>>>>> > FreeSWITCH-users mailing list
>>>>>> > FreeSWITCH-users at lists.freeswitch.org
>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> > UNSUBSCRIBE:
>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>> > http://www.freeswitch.org
>>>>>>
>>>>>> --
>>>>>> Your life is like a penny.  You're going to lose it.  The question is:
>>>>>> How do
>>>>>> you spend it?
>>>>>>
>>>>>>         John Covici
>>>>>>         covici at ccs.covici.com
>>>>>>
>>>>>> _______________________________________________
>>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>>>>> http://www.cluecon.com 877-7-4ACLUE
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:
>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>>>> http://www.cluecon.com 877-7-4ACLUE
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>>> http://www.cluecon.com 877-7-4ACLUE
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>> http://www.cluecon.com 877-7-4ACLUE
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>> _______________________________________________
>> Join us at ClueCon 2011, Aug 9-11, Chicago
>> http://www.cluecon.com 877-7-4ACLUE
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110811/4db8c387/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list