<br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 2:09 PM, Joseph L. Casale <span dir="ltr"><<a href="mailto:JCasale@activenetwerx.com">JCasale@activenetwerx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">>In this case, the $1 will only contain whatever is in the parens in your expression, i.e.<br>
><condition field="destination_number" expression="^(\d+)$"><br>
><br>
>What do you have for your expression?<br>
>-MC<br>
<br>
</div>Well, untested of course as I am busy with school:) But what I wrote up to try at<br>
Christmas (with your addition) was:<br>
<br>
<extension name="OutboundFax"><br>
<condition field="caller_id_number" expression="^204$"/><br>
<condition field="destination_number" expression="^(\d+)$"/><br>
<action application="answer"/><br>
<action application="playback" data="silence_stream://2000"/><br>
<action application="rxfax" data="/tmp/${uuid}.rxfax.tiff"/><br>
<div class="im"> <action application="system" data="/opt/freeswitch/scripts/emailfax.sh $<a href="mailto:1@fax.com">1@fax.com</a> /tmp/${uuid}.rxfax.tiff"/><br>
</div> <action application="hangup"/><br>
</condition><br>
</extension><br>
<br>
Am I correct in presuming that Freeswitch will answer a fax from a local zap based user<br>
just like it does from an FXO port connected to a POTS line? What I hope to do here is<br>
catch any call made from that extension (the zap based fax machine/user) and push its<br>
call into the fax module.<br></blockquote><div><br>Yes, when a device (phone/fax/modem/whatever) is plugged into the FXS it gets dialtone and dials. Whatever it dials is put into ${destination_number} just like any SIP phone that dials. This extension looks ok. Try it out and let us know how it goes.<br>
-MC<br></div></div><br>