Sip show peers includes the line: 602/602 (Unspecified) D N 0 UNKNOWN However, I can call it? Should not peer means if it is reachable? bye Ronald Wiplinger
On Mon, 2005-10-31 at 16:33 +0800, Ronald Wiplinger wrote:> Sip show peers includes the line: > > 602/602 (Unspecified) D N 0 UNKNOWN > > > However, I can call it? Should not peer means if it is reachable? >I dont quite understand the question, I think there is a language issue (ie english is not your first language). Anyway, I will try to answer. The UNKNOWN refers to the ping time to that peer. To enable that you have to have a 'qualify=yes' in your configuration. The Unspecified means that there isnt an IP address specified for that peer. Which would seem odd given that you say you can call it. I dont know enough about how you have it set up, if you have it such that you set the IP address it can try when a call comes it and succeed but it doesnt show becuase you didnt register one with the other. Does that answer your question? -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051031/81e17c8a/attachment.pgp
This indicates that 602 is a dynamic host. It must therefore register with the pbx so that the pbx knows where to send data. In this state it is unregistered so it will be unlikely you can call it. Regards, Mark -----Original Message----- From: Ronald Wiplinger [mailto:ronald@elmit.com] Sent: Monday, 31 October 2005 7:34 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] sip show peers Sip show peers includes the line: 602/602 (Unspecified) D N 0 UNKNOWN However, I can call it? Should not peer means if it is reachable? bye Ronald Wiplinger _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- 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
Hello guys, Is there anyone who could explain me some stuff about sip show peers ? 108/108 10.1.1.40 5060 OK (1 ms) 107/107 10.1.1.246 D 51074 OK (101 ms) The port seems different here, and the main difference is that the extension 108, is a server with a fixed IP 107, is a client with a softphone (X-Lite) and a dynamic IP. Why the diffrence in the port ? And why the difference in the reponse time ? We are on the same physical network, a ping is giving me a response of 1ms for each. Is it because the softphone is with a dynamic IP and Asterisk is treating this differently ? Thanks,
Response below> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Eric Rousse > Sent: Thursday, September 14, 2006 10:44 AM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] sip show peers > > Hello guys, > > Is there anyone who could explain me some stuff about sip show peers ? > > 108/108 10.1.1.40 5060 OK (1ms)> 107/107 10.1.1.246 D 51074 OK(101> ms) > > The port seems different here, and the main difference is that the > extension 108, is a server with a fixed IP > 107, is a client with a softphone (X-Lite) and a dynamic IP. > > Why the diffrence in the port ? > And why the difference in the reponse time ? > > We are on the same physical network, a ping is giving me a response of > 1ms for each. > Is it because the softphone is with a dynamic IP and Asterisk is > treating this differently ? > > Thanks, > <SNIP>A SIP ping and an ICMP ping are two different entities. The SIP ping operates at a higher level in the OSI stack than a simple ICMP ping. This means that whatever is receiving the ping has to do more work to decode it, and respond. I wouldn't worry about the latency difference as the SIP Ping is prioritized a bit more by a computer which is multitasking than by a hard phone which is not. As for the port, they simply chose to negotiate on a higher port. You might check your X-Lite settings, but I don't think this will break anything! Andrew