[Asterisk-Users] Registration with Asterisk server

Timur V. Elzhov Timur.Elzhov at jinr.ru
Tue Aug 16 03:22:25 MST 2005


Dear Asterisk community,

sorry if I'm so stupid, but I couldn't register myself with Asterisk.
I created the [sip-incoming] context in the sip.conf:

  [sip-incoming]
  type = peer
  username = elzhov
  port = 5062       ; my kphone listens port 5062
  host = 127.0.0.1

Then run Asterisk, and checked peers that are known for Asterisk:

  *CLI> sip show peers
  Name/username              Host            Dyn Nat ACL Mask            Port     Status    
  sip-incoming/elzhov        127.0.0.1                   255.255.255.255 5062     Unmonitored
  1 sip peers [1 online , 0 offline]

So the first question, what does "Status == Unmonitored" mean?

  *CLI> sip show peer 127.0.0.1
  Peer 127.0.0.1 not found.

Oops :( So what <name> should I point in the "sip show peer <name>"?
Trying to register. Asterisk refused to register and logged:

  *CLI> Aug 16 14:18:52 NOTICE[23865]: chan_sip.c:9500 handle_request_register:
  Registration from '"Timur Elzhov" <sip:elzhov at 127.0.0.1>' failed for '127.0.0.1'

So I definitely misunderstand something in Asterisk SIP channel
engine :-/ Where I'm wrong?
Much thanks!


-- 
Best regards,
Timur Elzhov




More information about the asterisk-users mailing list