bump... Anybody using MeetMe hints for busy-lamps on phones? Anyone seeing this issue?<br><br><div class="gmail_quote">On Mon, Sep 28, 2009 at 11:08 AM, Paul Dugas <span dir="ltr"><<a href="mailto:paul@dugasenterprises.com">paul@dugasenterprises.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I suspect the issue I'm having is more specific to the MeetMe app but<br>
that's just a guess. app_meetme.c (in 1.6.1.6) calls<br>
<br>
ast_devstate_changed(AST_DEVICE_INUSE, "meetme:%s", conf->confno)<br>
<br>
when the first caller enters a conference and<br>
<br>
ast_devstate_changed(AST_DEVICE_NOT_INUSE, "meetme:%s", conf->confno)<br>
<br>
when the last caller leaves. Running "core show hints" shows the<br>
meetme:600 as Status:Unavailable most of the time after a conference<br>
ends. Occasionally, it'll show Status:Idle. I guess I'm wondering<br>
where the hint could be getting changed to Unavailable since it<br>
doesn't look like the MeetMe app ever sets them this way.<br>
<br>
I wonder if it's a result of my using an extension pattern. AFAIK,<br>
the 600@dialtone hint is created from the _60X@dialtone pattern when<br>
the first station subscribes. I wonder if these polycom stations are<br>
unsubscribing or timing out thus removing the pattern-generated hint.<br>
I'll try a statically configured hint to see if that's the issue.<br>
<br>
I also wonder if there's any logic elsewhere that would ever set the<br>
initial hint status for a meetme. With a brief look at app_meetme.c,<br>
I don't see where it updates the device state except on join/leave.<br>
<font color="#888888"><br>
P<br>
</font><div><div></div><div class="h5"><br>
On Mon, Sep 28, 2009 at 9:24 AM, Danny Nicholas <<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>> wrote:<br>
> The routine ast_extension_states in main/pbx.c is set up (in 1.4.26.1) to<br>
> return these values:<br>
><br>
> switch (devstate) {<br>
> case AST_DEVICE_ONHOLD:<br>
> return AST_EXTENSION_ONHOLD;<br>
> case AST_DEVICE_BUSY:<br>
> return AST_EXTENSION_BUSY;<br>
> case AST_DEVICE_UNAVAILABLE:<br>
> case AST_DEVICE_UNKNOWN:<br>
> case AST_DEVICE_INVALID:<br>
> return AST_EXTENSION_UNAVAILABLE;<br>
> case AST_DEVICE_RINGINUSE:<br>
> return (AST_EXTENSION_INUSE | AST_EXTENSION_RINGING);<br>
> case AST_DEVICE_RINGING:<br>
> return AST_EXTENSION_RINGING;<br>
> case AST_DEVICE_INUSE:<br>
> return AST_EXTENSION_INUSE;<br>
> case AST_DEVICE_NOT_INUSE:<br>
> return AST_EXTENSION_NOT_INUSE;<br>
> case AST_DEVICE_TOTAL: /* not a device state, included for<br>
> completeness */<br>
> break;<br>
><br>
> These come back "in English" as<br>
> static const struct cfextension_states {<br>
> int extension_state;<br>
> const char * const text;<br>
> } extension_states[] = {<br>
> { AST_EXTENSION_NOT_INUSE, "Idle" },<br>
> { AST_EXTENSION_INUSE, "InUse" },<br>
> { AST_EXTENSION_BUSY, "Busy" },<br>
> { AST_EXTENSION_UNAVAILABLE, "Unavailable" },<br>
> { AST_EXTENSION_RINGING, "Ringing" },<br>
> { AST_EXTENSION_INUSE | AST_EXTENSION_RINGING, "InUse&Ringing" },<br>
> { AST_EXTENSION_ONHOLD, "Hold" },<br>
> { AST_EXTENSION_INUSE | AST_EXTENSION_ONHOLD, "InUse&Hold" }<br>
><br>
> So a line Is Unavailable on 3 conditions, but only Idle on one; unless you<br>
> tweak to make UNAVAILABLE equivalent to NOT_INUSE. I don't know the<br>
> ramifications if any of the tweak.<br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Paul Dugas<br>
> Sent: Sunday, September 27, 2009 5:31 PM<br>
> To: Asterisk Users Mailing List<br>
> Subject: [asterisk-users] MeetMe Hints<br>
><br>
> I've got hints setup for my MeetMe conferences like so:<br>
><br>
> exten => _60X,hint,MeetMe:${EXTEN}<br>
><br>
> and they show up in "core show hints" like so<br>
><br>
> 600@dialtone : MeetMe:600 State:Unavailable<br>
> Watchers 1<br>
> _60X@dialtone : MeetMe:${EXTEN} State:Unavailable<br>
> Watchers 0<br>
><br>
> I'm wondering why they're Unavailable instead of Idle. They go to<br>
> "State:InUse" when active but usually return to Unavailable when the<br>
> conference ends. Occasionally they end up in InUse but not<br>
> consistently.<br>
><br>
> Anybody know why?<br>
><br>
> Paul<br>
> --<br>
> Paul Dugas -- Computer Engineer -- Dugas Enterprises, LLC<br>
> 522 Black Canyon Park, Canton GA 30114 USA<br>
> <a href="mailto:paul@dugasenterprises.com">paul@dugasenterprises.com</a> -- +1.404.932.1355<br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Paul Dugas -- Computer Engineer -- Dugas Enterprises, LLC<br>
522 Black Canyon Park, Canton GA 30114 USA<br>
<a href="mailto:paul@dugasenterprises.com">paul@dugasenterprises.com</a> -- +1.404.932.1355<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Paul Dugas -- Computer Engineer -- Dugas Enterprises, LLC<br>522 Black Canyon Park, Canton GA 30114 USA<br><a href="mailto:paul@dugasenterprises.com">paul@dugasenterprises.com</a> -- +1.404.932.1355<br>