Jared Smith schrieb: > 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?
If you want an Asterisk-only application then getting the information via the manager interface is easier. But if you want to create a more generic application then you have to parse SIP messages. Philipp Kempgen -- http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com Amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 -- _______________________________________________ -- 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
