[Freeswitch-users] send fax in one leg call
Madovsky
infos at madovsky.org
Fri Feb 25 22:14:18 MSK 2011
ok my question is :
how to send a fax between 2 internal registered users ?
----- Original Message -----
From: Michael Collins
To: FreeSWITCH Users Help
Sent: Friday, February 25, 2011 2:02 PM
Subject: Re: [Freeswitch-users] send fax in one leg call
What are the conditions under which this will happen? You mention using uuid_broadcast at the fs_cli - that implies there is already a call in progress. Is this the case? Is the user doing something to trigger the sending of the fax?
You are leaving out relevant pieces of information... Like Johnny Number 5 said: Malfunction! Need input! :)
-MC
On Fri, Feb 25, 2011 at 8:36 AM, Madovsky <infos at madovsky.org> wrote:
I'm trying to send a fax to a one leg call.
for example a registered user wants to send a fax to another registered user
so I have this in my default dialplan
<extension name="internal_fax">
<condition field="${sip_to_uri}" expression="^(\+)(\d{10})@$${domain}$">
<action application="ring_ready"/>
<action application="set" data="execute_on_media=tone_detect fax 1100 r +5000 transfer 'receivefax XML features' 2" />
<action application="sleep" data="2000"/>
<action application="answer"/>
<action application="voicemail" data="default ${domain_name} ${sip_to_user}"/>
</condition>
</extension>
for now I have no other way to send the fax from CLI like this:
fs_cli -x "uuid_broadcast <uuid> execute_extension::' sendfax XML features' <aleg=timeout??> <bleg=no bleg??>"
thanks
Franck
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
------------------------------------------------------------------------------
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110225/ed66f04f/attachment.html
More information about the FreeSWITCH-users
mailing list