Re: [asterisk-users] Where do I find error message descriptions?

2011-11-07 Thread Danny Nicholas
My assumption is that SIP/213 is a multi-line phone like a Polycom.   As for
the code
Line 1 - (the || is or) is the line coded for ringing while in use or ignore
when busy?
Line 2 is the line an unknown device or not in use
Line 3 set newstate using sub ast_parse_device_state
Line 4 is newstate = status
Line 5 returned the message changing SIP/213 from 1 to 0
Line 6 called the update_status subroutine

If you want real C instruction consult the folks smart enough to write
Asterisk or commenters like Steve Edwards.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thorben Jensen
Sent: Saturday, November 05, 2011 4:24 AM
To: asterisk-users
Subject: [asterisk-users] Where do I find error message descriptions?

Is there a place where I can find more description of error messages I see
in asterisk CLI?
I get this message very often when watching the CLI:

[Nov  4 12:12:42] ERROR[21533]: app_queue.c:3083 ring_entry: Found a channel
matching iterface SIP/213_323 while status was 1 changed to 0

I have Googled it but no answers but I found the code, but I'm no good at C
code, perhaps someone can tell me whats going on?

if (!qe->parent->ringinuse || !tmp->member->ignorebusy) {
if ((tmp->member->status == AST_DEVICE_UNKNOWN) ||
(tmp->member->status == AST_DEVICE_NOT_INUSE)) {
newstate =
ast_parse_device_state(tmp->member->interface);
if (newstate != tmp->member->status) {
ast_log(LOG_ERROR, "Found a channel matching
iterface %s while status was %i changed to %i\n",
tmp->member->interface,
tmp->member->status, newstate);
update_status(qe->parent, tmp->member,
newstate);
}
}

Regards
Thorben

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Where do I find error message descriptions?

2011-11-05 Thread Thorben Jensen
Is there a place where I can find more description of error messages I
see in asterisk CLI?
I get this message very often when watching the CLI:

[Nov  4 12:12:42] ERROR[21533]: app_queue.c:3083 ring_entry: Found a
channel matching iterface SIP/213_323 while status was 1 changed to 0

I have Googled it but no answers but I found the code, but I'm no good
at C code, perhaps someone can tell me whats going on?

if (!qe->parent->ringinuse || !tmp->member->ignorebusy) {
if ((tmp->member->status == AST_DEVICE_UNKNOWN) ||
(tmp->member->status == AST_DEVICE_NOT_INUSE)) {
newstate =
ast_parse_device_state(tmp->member->interface);
if (newstate != tmp->member->status) {
ast_log(LOG_ERROR, "Found a channel
matching iterface %s while status was %i changed to %i\n",
tmp->member->interface,
tmp->member->status, newstate);
update_status(qe->parent, tmp->member,
newstate);
}
}

Regards
Thorben

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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