[Asterisk-bsd] Host is down Error

John S. Strock jstrock at batc.edu
Fri Jun 8 15:39:25 MST 2007


Here's what sip show peers, I'm not sure what you're saying about the naming
scheme.  The reason I'm changing it because with the phones we're using
(GXP-2000), the phone displays the persons name just above the extension,
how that I've changed the SIP ID, it displays correctly (Name over
Extension), before I change it, it display Name over Name).

 

CLI> sip show peers

Name/username              Host            Dyn Nat ACL Port     Status

PC17/PC17                  192.168.0.105    D   N      8010     OK (101 ms)

PC16/PC16                  192.168.0.101    D   N      11532    OK (102 ms)

PC15                       (Unspecified)    D   N      0        UNKNOWN

PC14/PC14                  (Unspecified)    D   N      0        UNKNOWN

PC13                       (Unspecified)    D   N      0        UNKNOWN

PC12/PC12                  (Unspecified)    D   N      0        UNKNOWN

PC11/PC11                  (Unspecified)    D   N      0        UNKNOWN

PC10/PC10                  (Unspecified)    D   N      0        UNKNOWN

PC9                        (Unspecified)    D   N      0        UNKNOWN

PC8                        (Unspecified)    D   N      0        UNKNOWN

PC7                        (Unspecified)    D   N      0        UNKNOWN

PC6                        (Unspecified)    D   N      0        UNKNOWN

PC5                        (Unspecified)    D   N      0        UNKNOWN

PC4                        (Unspecified)    D   N      0        UNKNOWN

Tom/Tom                    192.168.0.104    D   N      5060     OK (5 ms)

Bill                       (Unspecified)    D   N      0        UNKNOWN

Mary/Mary                  192.168.0.106    D   N      2051     OK (38 ms)

110                        (Unspecified)    D   N      0        UNKNOWN

109/109                    204.113.205.88   D   N      5060     OK (5 ms)

107/107                    204.113.200.199  D   N      5060     OK (4 ms)

106/106                    204.113.205.56   D   N      5060     OK (5 ms)

104                        (Unspecified)    D   N      0        UNKNOWN

103                        (Unspecified)    D   N      0        UNKNOWN

Skip                       (Unspecified)    D   N      0        UNKNOWN

Ed/Ed                      204.113.205.85   D   N      5060     OK (5 ms)

100/100                    204.113.197.51   D   N      5060     OK (5 ms)

99/99                      63.87.108.183    D   N      64880    OK (271 ms)

27 sip peers [Monitored: 10 online, 17 offline Unmonitored: 0 online, 0
offline]

CLI>

 

John S. Strock

Bridgerland Applied Technology College
Information Technology Department Head/Instructor

(435) 760-0390

www.batc.edu

 

  _____  

From: Gerald A [mailto:geraldablists at gmail.com] 
Sent: Friday, June 08, 2007 4:29 pm
To: John S. Strock
Subject: Re: [Asterisk-bsd] Host is down Error

 

Hi John,

On 6/8/07, John S. Strock <jstrock at batc.edu> wrote:

Here's what my sip.conf looks like:

 

[PC1]

type=friend

secret=PC1

callerid="Computer #1" <201>

host=dynamic

regexten=201

nat=yes

canreinvite=no

mailbox=201 at default

qualify=yes

 

I just copy and paste this (and change the appropriate info) for each phone.
One thing I just though of is that after setting up all the phones, I
decided to change the ID to the extension i.e. from [PC1] to [201], I wonder
if that has something to do with it?


Did you reload/restart since you did that?

Regarding the error coming from FreeBSD, I'm not sure if that would be the
case since I only see this error in the Asterisk CLI.


It's a FreeBSD error, but would be reported by the application, in this
case, asterisk. It's really a Network error, but since Unix handles the
networking part, I'd consider this the OS telling you something. 

It looks like the phones may be registered on the old addresses. Are you
able to call from the phones to asterisk? (Voicemail, the demo, etc?) My
guess is that might be the issue, at this point.

Post back what "sip show peers" says. 

I would say that you should pick a naming scheme and stick with it; in 2
years, you'll forget differences between [PC1] and [201] in various parts of
your config files, and it'll be harder to find stuff. (Unless you are using
a script to generate everything). 

Thanks,
Gerald.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20070608/a8dbbeed/attachment.htm


More information about the Asterisk-BSD mailing list