# Timeout in dial command

**URL:** <https://community.asterisk.org/t/timeout-in-dial-command/40941>\
**Category:** Asterisk Support\
**Created:** [November 2, 2012, 1:39pm UTC](https://community.asterisk.org/t/timeout-in-dial-command/40941 "2012-11-02T13:39:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danne](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@danne](https://community.asterisk.org/u/danne)\
**Post date:** [November 2, 2012, 1:39pm UTC](https://community.asterisk.org/t/timeout-in-dial-command/40941/1 "2012-11-02T13:39:01Z")

</div>

Hi!

Is there any way to use a flexible timeout in the dial command.  
A want the timer to start counting when the receiving part hears ringing.  
I can see the console that the receiving extension “is ringing”.

The reason is that calling a mobile extension can sometimes take 10-15 seconds before ringing.

Cheers and happy halloween!  
/Dan

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [November 2, 2012, 3:17pm UTC](https://community.asterisk.org/t/timeout-in-dial-command/40941/2 "2012-11-02T15:17:46Z")

</div>

Only by changing the source code; I’d guess this is a medium difficulty change.

Note that, whilst this may work in your environment, Ringing doesn’t accurately indicate the start of ringing at the callee, and could differ widely, or not be present at all (e.g. because ringback is sent in band).
