[Freeswitch-users] api_hangup_hook documentation correctionrequired?

Alex Crow acrow at integrafin.co.uk
Mon Mar 14 22:25:06 MSK 2011


Forgive me, I just realised it was actually a permission error on a 
folder that I fixed before moving the "set"!

No-one is ever going to answer me on this list again given the last few 
days of my posts!

Thanks very much anyway!

Alex

On 14/03/11 18:42, Madovsky wrote:
> usually I think it's better to set this kind of vars before answer....
>
> ----- Original Message -----
> From: "Alex Crow"<acrow at integrafin.co.uk>
> To: "FreeSWITCH Users Help"<freeswitch-users at lists.freeswitch.org>
> Sent: Monday, March 14, 2011 2:28 PM
> Subject: [Freeswitch-users] api_hangup_hook documentation
> correctionrequired?
>
>
>> Anthony/all,
>>
>> I found while getting fax working that it seems that if api_hangup_hook
>> is set /before/ answer in the following
>>
>> <extension name="Fax">
>> <condition field="destination_number" expression="^620$">
>> <action application="answer"/>
>> <action application="playback" data="silence_stream://2000"/>
>> <action application="set" data="api_hangup_hook=system /usr/bin/php
>> /var/www/fusionpbx/secure/fax_to_email.php email=acrow at integrafin.co.uk
>> extension=620 name=\\\${last_fax} messages="/>
>> <action application="set"
>> data="last_fax=${caller_id_number}-${strftime(%Y-%m-%d-%H-%M-%S)}"/>
>> <action application="rxfax"
>> data="/opt/freeswitch/storage/fax/620/inbox/${last_fax}.tif"/>
>> <action application="hangup"/>
>> </condition>
>> </extension>
>>
>> That rxfax strangely fails - the calling fax machine never gets the tone
>> to start sending and T4 is retried until rxfax gives up. If it's placed
>> as above it works fine.
>>
>> Not sure if this is a bug or intended and the docs on the Wiki need
>> changing.
>>
>> 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)
>>
>>
>> _______________________________________________
>> 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
>


-- 
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