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@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
hello, You're not stupid but you have to create an account in sip.conf for registration on ser Look at sip.conf Harry --- "Timur V. Elzhov" <Timur.Elzhov@jinr.ru> a ?crit :> 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@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 > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users>___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com
Olle E. Johansson
2005-Aug-16 03:36 UTC
[Asterisk-Users] Registration with Asterisk server
Timur V. Elzhov wrote:> So I definitely misunderstand something in Asterisk SIP channel > engine :-/ Where I'm wrong?You are wrong in not reading the available sample configurations and configuration files. Read the sip.conf that is installed when you install with "make samples" and check information and pointers available on the wiki. A hint: host=127.0.0.1 means that this peer is not allowed to register. host=dynamic means that the peer is supposed to register. Not monitored means that you have not enabled qualify= to monitor the latency between Asterisk and this phone (and keep the NAT open if you have a NAT) Regards, /Olle --- Astricon 2005, Anaheim Oct 12-14 http://www.astricon.net Early bird registration ends soon!