[asterisk-dev] auto hangup problem
Kaloyan Kovachev
kkovachev at varna.net
Thu Nov 2 12:39:41 MST 2006
This is a -users, not -dev question, but
On Thu, 2 Nov 2006 19:54:03 +0800, Ma Zhiyong wrote
> I dial out then goto a macro to send fax to callee. And I limit the
> call to 2 minites.
>
> But the connnection can't hangup after 2 minites. It is hungup after
> the fax has sent completely.
>
> I want to use auto hangup for prepaid purpose.
>
> So how can I resolve this? Thank you.
>
> Dial (CAPI/g1/xxxx, 30, L(60000)M(sendfax^xx.sff))
You should set the timeout inside the Macro as it is running at the called channel
SET(TIMEOUT(absolute)=60)
Note:
the timeout is in seconds here
using L() with a single parameter is converted to S() actualy, but still not
checked before the Macro is completed
>
> Asterisk 1.2.10
> capi_chan-0.7.1
> diva server
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list