[Freeswitch-users] Sending and Receiving faxes - freeswitch
Ravi
sravi123 at yahoo.com
Sun Sep 8 21:53:47 MSD 2013
Hello Everyone,
I am trying to send and receive faxes. I have assigned the number 4302050 for receiving faxes, and the use configuration is given below:
<include>
<user id="1050">
<params>
<param name="password" value="$${default_password}"/>
<param name="vm-password" value="1050"/>
</params>
<variables>
<variable name="toll_allow" value="domestic,international,local"/>
<variable name="accountcode" value="1050"/>
<variable name="user_context" value="default"/>
<variable name="effective_caller_id_name" value="Extension 1050"/>
<variable name="effective_caller_id_number" value="1050"/>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
<variable name="callgroup" value="techsupport"/>
</variables>
</user>
</include>
The dial plan that I have in place to receive faxes is given below:
<extension name="fax_receive">
<condition field="destination_number" expression="^(050$)">
<action application="set" data="ignore_early_media=true"/>
<action application="answer" />
<action application="playback" data="silence_stream://2000"/>
<action application="rxfax" data="$${base_dir}/faxes/${caller_id_number}.tif"/>
<action application="hangup"/>
</condition>
</extension>
When this fax number is called from another telephone, I hear the fax dialtone. But when the fax number is called from any fax machine and try to send a fax, it gives a number not available message. I do not recieve this call in the freeswitch server as well.
Would really appreciate if anyone could help me in this, to let me know if I am missing something.
Thanks in advance.
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130908/80d04c4b/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list