[Asterisk-Users] flash button

Osvaldo Mundim osvaldo at ilinksolutions.com
Tue Mar 2 11:50:20 MST 2004


That worked perfectly!!! I've adjusted the ZT_MINPULSETIME to 4ms and 
its working fine!

thank you
best regards
Osvaldo

On Mar 2, 2004, at 3:21 PM, Pascal Le Bail wrote:

> Osvaldo Mundim wrote:
>
>> Is there a way to control the flash timing in Asterisk? I'm using
>> Siemens euroset 805S analog phones with Asterisk I can transfer a call
>> just hitting a little slower on the "on-hook" button. The flash button
>> is not working.
>
> I had exactly the same problem with exactly the same phone ;-)
>
> When I pressed the flash button, Asterisk interpreted the event as a
> pulse-dialed "1". I looked into zaptel.h and found the following line:
>
> #define ZT_MAXPULSETIME (150 * 8)        /* 150 ms maximum */
>
> Every pulse shorter than that value is treated as a pulse-dial pulse.
> Since all my phones seem to generate 100 ms flash pulses, I reduced the
> "150" to "75" and recompiled Zaptel & Asterisk. The problem is solved -
> and pulse-dialing still works.
>
> regards,
> Pascal Le Bail,
> Vienna, Austria, Europe
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list