hi Mark,<br><br>This is an inbound call leg and media channel (so far) is open in reverse direction only (application ringback). I'm afraid you have to answer the call to be able to "hear" the fax tone.<br><br>
T.<br>
<br><br><br><div class="gmail_quote">On Mon, Oct 5, 2009 at 2:32 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.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;">
Fax tones are not played by the remote machine until after answer, the<br>
tone_detect application starts a media bug that listens for the tone,<br>
can you confirm the tone is happening at all. Maybe the issue here is<br>
the timeout, try making that longer, or doing the tone_detect in<br>
execute_on_answer<br>
<br>
Mike<br>
<div><div></div><div><br>
On Oct 5, 2009, at 6:28 AM, Mark Campbell-Smith wrote:<br>
<br>
> Thanks for the response Mike,<br>
><br>
> I read that page and this one (among others)<br>
> <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_fax_detect" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_fax_detect</a>, but<br>
> I'm still lost. This is an extract of my dialplan<br>
><br>
> <extension name="Local"><br>
> <condition field="destination_number" expression="^(10[01][0-9])<br>
> $"><br>
> <action application="set" data="dialed_extension=$1"/><br>
> <action application="export" data="dialed_extension=$1"/><br>
> <action application="set" data="ringback=${au-ring}"/><br>
> <action application="fax_detect"/><br>
> <action application="tone_detect" data="fax 1100 r +5000<br>
> transfer fax XML features" /><br>
> <action application="set" data="hangup_after_bridge=true"/><br>
> <action application="set" data="continue_on_fail=true"/><br>
> <action application="bridge" data="user/${dialed_extension}@$<br>
> {domain}"/><br>
><br>
> I would assume that on detecting a fax, the dialplan 'fax' is called<br>
> in context features. This never happens.<br>
><br>
> When is the fax tone detected? Is it while the call is ringing or<br>
> can it be detected after the call is answered? My goal is to be able<br>
> to have the same extension for a voice and fax call. i assume that<br>
> the fax 'tones' are standardised and the ones on the wiki are correct?<br>
> Also, I guess this doesn't work with media bypass (which I don't<br>
> use).<br>
><br>
> Thanks!<br>
><br>
><br>
> On Mon, Oct 5, 2009 at 9:56 AM, Michael Jerris <<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>><br>
> wrote:<br>
>> check out <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect</a><br>
>><br>
>> Note, you can't just have tone_detect as your last iten in the<br>
>> dialplan as the call will just get hung up.<br>
>><br>
>> Mike<br>
>><br>
>> On Oct 4, 2009, at 9:03 AM, Mark Campbell-Smith wrote:<br>
>><br>
>>> Hi<br>
>>><br>
>>> I was hoping someone could help me to setup the fax detection / tone<br>
>>> detection application.<br>
>>><br>
>>> I want to be able to transfer an incoming fax to a specific<br>
>>> extension.<br>
>>> In my default.xml file, I have the following (extracted):<br>
>>><br>
>>> <extension name="1000"><br>
>>> <condition field="destination_number" expression="^(10[01]<br>
>>> [0-9])<br>
>>> $"><br>
>>> <action application="fax_detect"/><br>
>>> <action application="tone_detect" data="fax 1100 r +5000<br>
>>> transfer fax XML features" /><br>
>>><br>
>>> I can't get the fax to be detected and transferred. Is there any<br>
>>> way<br>
>>> this can be done?<br>
>>><br>
>>> Thanks!<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>