Because DEVSTATE is for custom hints - and have you tried to set one
every time a phone rings/is answered?  This was thought about - but the
logic in the dialplan would be a nightmare.

Anyway, doing it the way I do it works for me (and others) as my
dialplan contains nothing but 'include' and 'switch' statements now (so
it reloads fast).


Thanks for the reply though :)
        
                

-----Original Message-----
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matt
Riddell
Sent: 08 July 2009 09:59
To: Asterisk Users Mailing List - Non-Commercial Discussion
Cc: aster...@dotr.com
Subject: Re: [asterisk-users] Grandstream 2010 and blinky lights

On 8/7/09 8:52 PM, Andrew Thomas wrote:
> That's exactly the way I do it as well :D
>
>               
>               
>
> -----Original Message-----
> From: asterisk-users-boun...@lists.digium.com
> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Julian
> Lyndon-Smith
> Sent: 06 July 2009 11:16
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Grandstream 2010 and blinky lights
>
> Thanks for the info. We've managed to achieve or goal using 1.4 and a
> few hacks.

Why don't you just use func_devstate which was backported to 1.4?

That way you can just set a DB variable on login/logout.

-- 
Cheers,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to