[Freeswitch-users] Fax detection - ringing not heard by caller
Alex Crow
acrow at integrafin.co.uk
Mon Mar 14 15:04:22 MSK 2011
Is anyone able to assist with this?
I've also tried it with an extension on the FS box instead of the
Asterisk box - the caller does not hear ringing, just silence, even
though the extension is ringing, and the call can be completed.
I've fiddled around for ages and I still can't get it to work. The
Trixbox machine does it perfectly and I need to make the FS box behave
the same, but it seems once "answer" has been executed I can only use
"playback" to send ringing to the caller, but I can only do this while
the tone detect is running. If it set playback to loop then the plan
never proceeds to the bridge/transfer to the extension.
Thanks
Alex
> All,
>
> I am trying to implement fax detection on FreeSwitch within a dialplan
> that routes inbound calls from a BRI (Sangoma), to an Asterisk (Trixbox)
> machine handling the extensions. I am only doing this until I can get
> British English sounds for FS ;-).
>
> The inbound route without any fax detection works fine, ie the caller
> hears ringing until the Trixbox extension is either answered or hits
> voicemail:
>
> <extension name="60xto35x">
> <condition field="source" expression="freetdm"/>
> <condition field="context" expression="public"/>
> <condition field="destination_number" expression="60([0-5])">
> <action application="bridge" data="sofia/external/35$1 at 192.168.24.15"/>
> </condition>
> </extension>
>
>
> The closest I have got to adding the fax detection is the following:
>
> <extension name="60xto35x_copy">
> <condition field="source" expression="freetdm"/>
> <condition field="context" expression="public"/>
> <condition field="destination_number" expression="60([0-5])">
> <action application="tone_detect" data="fax 1100 r +5000 transfer '620
> XML default'"/>
> <action application="answer"/>
> <action application="playback" data="tone_stream://$${uk-ring};loops=3"/>
> <action application="bridge" data="sofia/external/35$1 at 192.168.24.15"/>
> </condition>
> </extension>
>
> I had to add the playback so the caller would hear ringing during the
> tone_detect timeout.
>
> However, as soon as the tone_stream finishes, and the call is bridged to
> the Trixbox, the caller hears silence instead of ringing. Is there any
> way to pass the ringing from the extension back to the caller coming in
> on the BRI circuit, or otherwise fake it until the remote extension is
> answered?
>
> Thanks
>
> Alex
>
--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 3727592)
Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)
More information about the FreeSWITCH-users
mailing list