[Freeswitch-users] %{api} {api arg}

Tamas Cseke cstomi.levlist at gmail.com
Wed Dec 13 04:53:11 PST 2006


I would like to record  a call, with the date in the filename.
A read that in condition i can use api function, but i can't use the 
result of the function,
Is there any error in this extension? How could i solve this problem?

    <extension name="incoming">
        <condition field="source" expression="mod_sofia"/>
        <condition field="destination_number" expression="^668$"/>
        <condition field="%{strftime} {%Y%m%d%H%M%S}" expression="^(.*)$">
            <action application="set" data="datetime=$1"/>
            <action application="record_session" 
            <action application="bridge" data="portaudio"/>   


More information about the FreeSWITCH-users mailing list