[asterisk-users] Getting verbose or debug tracing in Asterisk

Tim Culhane tim.culhane at criticalpath.net
Wed Mar 3 09:46:50 CST 2010


Here is my output of 'sip show peers'

user1/user1                10.41.3.12       D   N      10434    Unmonitored 
user2/user2                10.41.3.12       D   N      65293    Unmonitored 
user3/user3                (Unspecified)    D   N      5060     Unmonitored 
user4/user4                (Unspecified)    D   N      5060     Unmonitored 
4 sip peers [Monitored: 0 online, 0 offline Unmonitored: 4 online, 0
offline] 


So,  does this mean  the registration worked?

What is the difference between monitored and unmonitored?

Tim

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: 03 March 2010 15:42
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Getting verbose or debug tracing in Asterisk


W/O mailbox should just be a warning.  Sip show peers will tell you if the
registration was actually successful.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tim Culhane
Sent: Wednesday, March 03, 2010 9:36 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Getting verbose or debug tracing in Asterisk

Hi,

Not sure what I changed, but when I open x-lite now,  I get the following
verbose output on the CLI:

[Mar  3 15:31:22] NOTICE[2273]: chan_sip.c:21331 handle_request_subscribe:
Received SIP subscribe for peer without mailbox: user2


Does this indicate a successful  registration of user2?

Is the 'without mailbox' important?

Thanks,

Tim

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: 03 March 2010 14:17
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Getting verbose or debug tracing in Asterisk


The problem is on your x-lite end. If you were speaking to Asterisk (even
incorrectly), it would at least indicate a bad connection.  IMO, it is
better to use numbers for extensions as opposed to user1, but that is
irrelevant.  Make sure the x-lite client has the IP of your asterisk box.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tim Culhane
Sent: Wednesday, March 03, 2010 4:13 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Getting verbose or debug tracing in Asterisk

Hi,

For some reason I can't get Asterisk to produce debug or verbose tracing
output.

I connect to asterisk  using 'asterisk -r'

Then issue the command:

Core set debug 10
And
Core set verbose 10

And it confirms that the correct level has been set.

I then attempt  a connection from an x-lite client.

However,  no debug or verbose  output  appears in the console or in any of
the log files in /var/log/asterisk.

I'm using Asterisk 1.6.2.2.

Anybody know what I'm doing wrong?

Thanks,

Tim


-------------------------
Tim Culhane,
Critical Path Ireland,
42-47 Lower Mount Street,
Dublin 2.
Direct line: 353-1-2415107
phone: 353-1-2415000

Tim.culhane at criticalpath.net
http://www.criticalpath.net

Critical Path
a global leader in digital communications
------------------------   
 



-- 
_____________________________________________________________________
-- 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



-- 
_____________________________________________________________________
-- 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





More information about the asterisk-users mailing list