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