[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-users
Subject:    Re: [asterisk-users] asterisk-users Digest, Vol 51, Issue 26
From:       russell () lls ! lls ! com (Russell Brown)
Date:       2008-10-09 17:38:53
Message-ID: m1KnzTR-01tPx8a () lls ! lls ! com
[Download RAW message or body]

Quoth Jared Smith...
>On Wed, 2008-10-08 at 18:51 +0100, Russell Brown wrote:
>> Can anyone point me at a code fragment (C would be nice) that I could
>> use to subscribe to hints on a * box?
>> 
>> I'd like to write a small (hopefuly efficient) widget to show custom
>> device states and believe that a subscription to the hint would be the
>> most efficient but I'm very open to suggestions.
>
>Maybe I'm missing something here, but wouldn't it be a whole lot easier
>to get this information via the Asterisk Manager Interface, rather than
>writing a C program that knows how to parse SIP messages?

Yes I could do it through the Manager and a polling loop but wouldn't
that be somewhat inefficient?  By using the SIP Hints I was hoping that
my code would only be told when a hint changed.

Any pointers anyone?

-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell@lls.com PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------

_______________________________________________
-- 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic