[Freeswitch-users] send fax in one leg call

Madovsky infos at madovsky.org
Fri Feb 25 19:36:31 MSK 2011


I'm trying to send a fax to a one leg call.

for example a registered user wants to send a fax to another registered user
so I have this in my default dialplan

         <extension name="internal_fax">
                <condition field="${sip_to_uri}" expression="^(\+)(\d{10})@$${domain}$">
                        <action application="ring_ready"/>
                        <action application="set" data="execute_on_media=tone_detect fax 1100 r +5000 transfer 'receivefax XML features' 2" />
                        <action application="sleep" data="2000"/>
                        <action application="answer"/>
                        <action application="voicemail" data="default ${domain_name} ${sip_to_user}"/>
                </condition>
        </extension>

for now I have no other way to send the fax from CLI like this:
fs_cli -x "uuid_broadcast <uuid> execute_extension::' sendfax XML features'  <aleg=timeout??> <bleg=no bleg??>"

thanks

Franck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110225/29781ec6/attachment.html 


More information about the FreeSWITCH-users mailing list