<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I'm trying to send a fax to a one leg call.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>for example a registered user wants to send a fax to another
registered user</FONT></DIV>
<DIV><FONT size=2>so I have this in my default dialplan</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><STRONG>
<extension
name="internal_fax"><BR>
<condition field="${sip_to_uri}"
expression="^(\+)(\d{10})@$${domain}$"><BR>
<action
application="ring_ready"/><BR>
<action application="set" data="execute_on_media=tone_detect fax 1100 r +5000
transfer 'receivefax XML features' 2"
/><BR>
<action application="sleep"
data="2000"/><BR>
<action
application="answer"/><BR>
<action application="voicemail" data="default ${domain_name}
${sip_to_user}"/><BR>
</condition><BR>
</extension><BR></STRONG></FONT></DIV>
<DIV><FONT size=2>for now I have no other way to send the fax from CLI like
this:</FONT></DIV>
<DIV><STRONG>fs_cli -x "uuid_broadcast <uuid> <I>execute_extension::'
sendfax XML features' <aleg=timeout??> <bleg=no
bleg??>"</I></STRONG></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>thanks</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Franck</DIV></FONT></BODY></HTML>