[VoIP] Status and other information

Chad Perkins chad at maine.maine.edu
Sun Nov 19 21:53:58 CST 2006


Mine shows 'Unmonitored' for registered dynamic clients.  The only time I see 'OK' is 
on my SIP providers (currently commented out of the system while I work out ATA 
issues).  So the question as to what 'OK' really means and what the time in ms really 
represents still remains ...

Chad

AGSTMESEPS0*CLI> sip show peers
Name/username    Host            Dyn Nat ACL Mask             Port     Status
ATA2              (Unspecified)    D   N      255.255.255.255  0        Unmonitored
ATA1              (Unspecified)    D   N      255.255.255.255  0        Unmonitored
852                 (Unspecified)    D          255.255.255.255  0        Unmonitored
851                 (Unspecified)    D          255.255.255.255  0        Unmonitored
842/842          10.10.91.114     D          255.255.255.255  5060     Unmonitored
841/841          10.10.91.114     D          255.255.255.255  5060     Unmonitored
828/828          (Unspecified)    D          255.255.255.255  0        Unmonitored


> If you have host=dynamic that means anyone that has that user's
> username and password can register that sip account from any IP
> address. The only reason it would come up as OK is if there is
> something actively registering and using that account. Unknown means
> something has registered but asterisk doesnt know if it is or not, and
> unmonitored means that nothing has registered with that SIP user and
> pass. When its 'unspecified' it means you have no registration on that
> user with host=dynamic in that user context in sip.conf. That was
> probably incoherent but it should help a bit :)
> 
> -Andrew
> 
> On 11/19/06, Ian Jolly <ian at uax.org.uk> wrote:
> > Does anyone know exactly what 'status' mean when I type  sip show
> > peers?   i.e. -
> >
> > asterisk*CLI> sip show peers
> > Name/username              Host                Dyn Nat ACL Port     
> >  Status jonkay/jonkay                 86.145.250.205   D   N        
> >   5060      OK (46 ms) 056456921/056456921     81.77.174.56      D  
> >               5060     OK (82 ms) jgriffiths/jgriffiths             
> > 80.176.242.9       D   N           5060     OK (104 ms) SPA3102     
> >                  (Unspecified)       D                0          
> > UNKNOWN 4 sip peers [3 online , 1 offline]
> >
> > The SPA3102 is not connected and shows up as expected.
> >
> > The interesting thing is that there is no ATA set up as yet for
> > 'jonkay'    !!!!    Neither is his IP address in the sip.conf for
> > him but it is his current IP address!
> >
> > [jonkay]                            ; JONATHAN KAY - 0244 52 232
> > type=friend secret=verysecret!! authid=jonkay username=jonkay
> > context=SIP                      ; Where to start in the dialplan
> > when this phone calls callerid=JKay <+4424452232>         ; Full
> > caller ID, to override the phones config ;host=ecmo.dyndns.info     
> > ; Jon Kay's IP address host=dynamic                    ;
> >                                   ; No registration allowed
> > nat=yes                             ; there is NAT between phone and
> > Asterisk qualify=yes canreinvite=yes                  ; allow RTP
> > voice traffic to bypass Asterisk dtmfmode=rfc2833              ;
> > bindport=5060                    ; call-limit=1                     
> >   ; permit only 1 outgoing call and 1 incoming call at a time
> >                                   ; from the phone to asterisk
> >                                   ; (1 for the explicit peer, 1 for
> >                                   the explicit user, ; remember that
> >                                   a friend equals 1 peer and 1 user
> >                                   in ; memory)
> > disallow=all                       ; need to disallow=all before we
> > can use allow= allow=ulaw                        ; Note: In user
> > sections the order of codecs
> >                                   ; listed with allow= does NOT
> >                                   matter!
> > allow=alaw
> > allow=g723.1                     ; Asterisk only supports g723.1
> > pass-thru! allow=g729                        ; Pass-thru only unless
> > g729 license obtained
> >
> >
> > Still haven't solved the 'unreachable/reachable'  problem  where for
> > long periods, a SIP ATA becomes unreachable for periods of 10
> > seconds every few minutes.  I also find that IAX IP phones/ATA give
> > messages such as -
> >
> > Nov 19 13:23:18 NOTICE[2491]: chan_iax2.c:7108 socket_read: Peer
> > 'AT323' is now TOO LAGGED (-8 ms)! Nov 19 13:23:28 NOTICE[2491]:
> > chan_iax2.c:7102 socket_read: Peer 'AT323' is now REACHABLE! Time:
> > 18
> >     -- Registered IAX2 '056456922' (AUTHENTICATED) at
> >     81.77.174.56:62413
> > Nov 19 13:24:33 NOTICE[2491]: chan_iax2.c:5673 update_registry:
> > Restricting registration for peer '056456922' to 60 seconds
> > (requested 59648)
> >
> > Again for just 10 second periods.
> >
> > Anyone any ideas.  Peer AT323 is an IAX IP Telephone on the local
> > network.  056456922 is an IAX AG188 ATA  working through my NAT
> > router and similar at the other end. When it works it is fine except
> > for these few seconds.
> >
> > I get -
> > asterisk*CLI> iax2 show peers
> > Name/Username    Host                     Mask                 Port 
> >         Status 056456922/05645  (Unspecified)   (D)  255.255.255.255
> >  0             UNKNOWN 003729403/00372  (Unspecified)   (D) 
> > 255.255.255.255  0             Unmonitored pwalker/pwalker    
> > 81.99.179.178 (D)  255.255.255.255  32767      OK (56 ms)
> > AT323/AT323        192.168.1.10   (D)  255.255.255.255  4569       
> > OK (20 ms) 4 iax2 peers [2 online, 1 offline, 1 unmonitored]
> >
> > What does 'UNKNOWN'  mean as opposed to 'Unmonitored'  ?   The
> > 'unmonitored'  extension is a softphone which is switched on and
> > working whilst the 'UNKNOWN' is the IAX AG188 ATA which is connected
> > and switched on.
> >
> > Under 'Host' why are two showing 'unspecified; whilst two show the
> > actual IP addresses?
> >
> > Is there anywhere where ll these definitions can be found.  Nowhere
> > seems to explain it for 'beginners' !!
> >
> > Ian Jolly
> >
> > _______________________________________________
> > VoIP mailing list
> > VoIP at ckts.info
> > http://lists.ckts.info/mailman/listinfo/voip
> > Project Web Page: http://www.ckts.info/
> >
> >
> 
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.409 / Virus Database: 268.14.7/538 - Release Date:
> 11/18/06
> 





More information about the VoIP mailing list