[Freeswitch-users] User who answer the bridge in a execute_answer

Albano Daniele Salvatore - Lavoro info at daccii.it
Tue Nov 24 01:15:45 PST 2009


Hi,

thanks for the suggestion! In the end i updated freeswitch using lastest 
source in the trunk and callee_id_number worked!


Best Regard,
Daniele

Michael Jerris ha scritto:
> Try running the info app there and see if the info is anywhere in that output .
> 
> Mike
> 
> On Nov 23, 2009, at 5:36 AM, Albano Daniele Salvatore - Lavoro wrote:
> 
>> Hi,
>>
>> i'm writing some dialplan parts that get executed on execute_on_answer. In this dialplan that get executed i need to make a directory to handle recordings for record_session and my folder structure is:
>> USER/YEAR/MONTH/HOUR-MINUTE-SECOND-CALLER_NUMBER.wav
>>
>> ------
>> <action application="system" data="mkdir -p $${base_dir}/recordings/${sip_from_user}/${strftime(%Y)}/${strftime(%m)}/" />
>> <action application="bind_meta_app" data="1 a s record_session::$${base_dir}/recordings/${sip_from_user}/${strftime(%Y)}/${strftime(%m)}/${strftime(%H_%M_%S)}-${caller_id_number}.wav" />
>> ------
>>
>> The call flow is:
>> Call from external -> IVR -> Transfer to Group -> Execute on Answer -> system/bind_meta_app
>>
>>
>> Pratically, i need the number (or better the user) that answered the call: what variable should i check?
>>
>> I tried with sip_from_user, callee_id_number and some other.
>>
>>
>> Thank for your help,
>>
>> Best Regards,
>> Daniele> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: info.vcf
Type: text/x-vcard
Size: 381 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091124/8a3593f2/attachment-0002.vcf 


More information about the FreeSWITCH-users mailing list