[asterisk-users] Finding the status of an extension

Atis Lezdins atis at iq-labs.net
Tue Nov 27 10:08:48 CST 2007


Yehavi Bourvine +972-8-9489444 wrote:
> Hello,
> 
>   I would like to check whether an extension is busy or not before calling the
> Dial() application to it (for example - to play a Busy if it is on
> conversation).
> 
>   How do I check it? In the trunk version there was a function
> DEVSTATE(SIP/123), however it does not exist on version 1.4.13... What is the
> equivalent of it?

http://www.asterisk.org/node/48360

Btw, you can use also g flag of Dial() so, that call will continue, and 
you will get BUSY status instantly.

Regards,
Atis



More information about the asterisk-users mailing list