[SIPForum-discussion] Hello Elites

Deepak Shenoy dshenoy at soundbite.com
Wed Aug 1 20:49:21 UTC 2007


Hi Ankit,

 

Ok, First of all let us try and get on the same page. When you say "we
don't get the RTP" are you talking about the UA sitting on the other
side of the Nextone box or are you talking about the HotKnife on the
Nextone box itself.

 

In my command, I am assuming you are sitting on a laptop (not on the
box) which has 2 ethernet interfaces eth1 and eth2 plugged into the same
network as the Nextone box capturing packets off of both sides of the
Nextone box. For this as somebody else explained you need a switch
capable of spanning/port-mirroring.

 

When you say route-media, the best way to see if it is coming to the
Nextone and going out of it is by looking at this capture and see the
source and the destination of these packets. On the leg A for example
(packets will be mirrored to eth1 on your laptop), the destination of
the packets should be the IP address of the Nextone box and on the legB
the source should be the IP address of the Nextone (packets will be
captured on eth2 of you laptop).

 

You cannot sit on the Nextone box and capture packets. There is no CLI
command to run packet capture on the Nextone box that I know of. Since
nextone box is a plain linux box, you can check if you have tethereal on
it but I doubt it.

 

I hope this is clear. Feel free to ask me more if this is not clear.

 

Questions for you:

1.	Are you using a softphone or a hardphone.?
2.	Are you connecting from a softphone to a VOIP carrier or to
another softphone?
3.	If using a softphone, can the machine on which it runs ping the
hotknife..?
4.	Have you checked the VLAN/realm  etc.?

 

Thanks

Deepak

 

________________________________

From: Ankit [mailto:erankitkumar at gmail.com] 
Sent: Wednesday, August 01, 2007 4:02 PM
To: Deepak Shenoy
Cc: andrew at asiatel.com.sg; discussion at sipforum.org
Subject: Re: [SIPForum-discussion] Hello Elites

 


Hi Deepak,


As we all know that to capture ethereal, we use putty and we write
commands to capture through ethereal. But in that case, we don't get the
RTP inspite of doing the route media. Now my question is that Is there
any CLI command set to capture the RTP packets. 

In these command set that you have written here, I have some confusions.

Eg:- 

 eth2-- is this ur Hot knife port as media passes through this Card??
 Since there is no any IP filtering here, so how you will capture any
RTP packets coming from this  IP as specific. 

I tried this command, but its not executing through putty. Please
explain a bit if possible.

Regards,
Ankit


 

	 

	Ankit,
	
	You don't want to use GUI when you are doing massive captures,
you can
	use command line to do this.
	One catch is that ethereal has 2GB limit to the size of file it
can
	capture into. So you need to use ring buffer feature as shown
below if 
	ethereal to do this. It will make 10 files of 2GB and then wrap
around.
	
	
	tethereal -i eth2 -a filesize:2097152 -b 10 -f "udp" -F libpcap
-w
	/etherdump/eth2SIP.cap 2>/dev/NULL &
	
	
	Also ethereal as Andrew as suggested needs to be run on a
separate
	machine by using port mirroring. Only be careful if you don't do
this
	correctly, you will capture duplicate packets - one which
Nextone sends
	and one which destination receives.
	
	Hope this helps
	
	Deepak
	
	
	
	-----Original Message-----
	From: discussion-bounces at sipforum.org
	[mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> ] On Behalf Of Andrew Yu
	Sent: Monday, July 30, 2007 6:43 AM
	To: Ankit
	Cc: discussion at sipforum.org
	Subject: Re: [SIPForum-discussion] Hello Elites 
	
	Hi Ankit,
	
	SPAN is a feature of cisco switches it has got nothing related
to
	Nextone, it's for switch port-monitoring purpose, in this case
you have
	to configure SPAN on your cisco switch and plug your laptop to
that 
	particular port that you've mirrored to and turn on ethereal to
capture
	RTP.
	
	Please refer to the following cisco article for more
information:
	
http://www.cisco.com/en/US/docs/switches/lan/catalyst5000/catos/4.5/conf
	iguration/guide/span.html
	
	Thanks
	
	--
	
	Cheers,
	
	Asiatel Singapore Pte Ltd
	Andrew Yu
	
	19 Jalan Kilang Barat
	#06-01, Acetech Centre
	Singapore 159361
	
	Tel: +65 6271 8233
	Fax: +65 6274 4266
	
	
	Ankit wrote:
	> Hi Andrew,
	>
	> Thanks for your valuable device. Could you let me know the
procedure
	> how to activate Span in Nextone.
	> Actually I want to capture RTP packets as well.
	>
	>
	>
	>
	> On 29/07/07, *Andrew Yu* <andrew at asiatel.com.sg 
	> <mailto:andrew at asiatel.com.sg>> wrote:
	>
	>     There is no way to capture the RTP with ethereal, you need
to do
	SPAN
	>     port on you switch. Remember, the hotknife is like a
independent 
	>     device
	>     on its own, the interface is not accessible directly for
ethereal
	>     capture
	>
	>     Ankit wrote:
	>     > Hello Friends,
	>     >
	>     > Could you please let me know the procedure to capture
the RTP 
	>     packets
	>     > using Ethereal in using putty.
	>     >
	>     > If suppose, i have done route media and i want to
capture RTP
	>     packets
	>     > of an endpoint using the ethereal command, what will be
the 
	command
	>     > set for that.
	>     >
	>     > Regards,
	>     > Ankit
	>     >
	>     > On 25/07/07, *Deepak Shenoy* < dshenoy at soundbite.com 
	>     <mailto:dshenoy at soundbite.com>
	>     > <mailto:dshenoy at soundbite.com <mailto:
dshenoy at soundbite.com <mailto:dshenoy at soundbite.com> >>>
	>     wrote:
	>     >
	>     >     Besides if you don't route media through Nextone you
will
	never
	>     >     get QOS
	>     >     reports/alarms . 
	>     >
	>     >     Has anybody seen any problems with nextone QOS
stats. I have
	>     noticed
	>     >     cases where a particularly good sounding call is
showing 80%
	>     lost
	>     >     packets and a poor r-factor in the CDR.
	>     >
	>     >     If anybody has seen this problem let me know.
	>     >
	>     >     Thanks
	>     >     Deepak
	>     > 
	>     >
	>     >
	>     >     -----Original Message-----
	>     >     From: Andrew Yu [mailto: andrew at asiatel.com.sg
	>     <mailto: andrew at asiatel.com.sg
<mailto:andrew at asiatel.com.sg> >
	>     >     <mailto:andrew at asiatel.com.sg
	<mailto:andrew at asiatel.com.sg>>]
	>     >     Sent: Wednesday, July 25, 2007 10:07 AM 
	>     >     To: Ankit
	>     >     Cc: Deepak Shenoy; discussion at sipforum.org
	>     <mailto:discussion at sipforum.org >
	>     >     <mailto:discussion at sipforum.org
	>     <mailto:discussion at sipforum.org>>
	>     >     Subject: Re: [SIPForum-discussion] Hello Elites 
	>     >
	>     >     Hi Deepak,
	>     >
	>     >     I always configure all my endpoint to route media,
this is a
	>     safe
	>     >     way to
	>     >
	>     >     ensure and media is always route via nextone and to
avoid 
	audio
	>     >     issues.
	>     >
	>     >     --
	>     >     Cheers,
	>     >
	>     >     Asiatel Singapore Pte Ltd
	>     >     Andrew Yu
	>     >
	>     >     19 Jalan Kilang Barat
	>     >     #06-01, Acetech Centre
	>     >     Singapore 159361
	>     >
	>     >     Tel: +65 6271 8233
	>     >     Fax: +65 6274 4266
	>     >
	>     >
	>     >     Ankit wrote:
	>     >     > Hello Friends,
	>     >     >
	>     >     > Actually We are already running a lot of clients
in
	>     Nextone, But 
	>     >     2 day
	>     >
	>     >     > back i faced a new problem. While configuring an
endpoint,
	>     i have
	>     >     > checked Never route media and asked the client who
was 
	>     also using
	>     >     > Nextone to do the same settings at his end. He was
calling
	>     from his
	>     >     > ATA with real ip which has been registered at his
Nextone
	>     and then 
	>     >     > call is hiting my IP.
	>     >     > With this configuration, he got no ingback, but
when we
	>     did route
	>     >     > media from both end, he got proper ringback. 
	>     >     >
	>     >     > Call Flow:-
	>     >     >
	>     >     > ATA--Nextone(client)--Nextone(Client with our
	>     Endpoint)--Nextone(Our
	>     >     > switch)--Vendor 
	>     >     >
	>     >     > So i asked, whats the logic of this and what could
be
	>     >     >
	>     >     > On 23/07/07, *Deepak Shenoy* <
dshenoy at soundbite.com
	>     <mailto:dshenoy at soundbite.com>
	>     >     <mailto:dshenoy at soundbite.com <mailto:
dshenoy at soundbite.com>
	>
	>     >     > <mailto:dshenoy at soundbite.com
	>     <mailto: dshenoy at soundbite.com
<mailto:dshenoy at soundbite.com> > <mailto:dshenoy at soundbite.com
	>     <mailto:dshenoy at soundbite.com>>>>
	>     >     wrote: 
	>     >     >
	>     >     >     I am using Nextone SBC on a regular basis. I
do get
	>     >     ring-back and
	>     >     >     2 way audio. Send me your call flow/ethereal
capture 
	>     >     >
	>     >     >     Make sure you are getting 183/180 ringing and
use the
	SDP
	>     >     info to
	>     >     >     set the remote RTP address/UDP port.
	>     >     > 
	>     >     >
	>     >     >
	>     >     >
	>     >     >
	>     >     >
	>     >     >
	>     >     >
	>     >
	>
	
------------------------------------------------------------------------

	>
	>     >     >
	>     >     >     *From:* discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >
	>     >     <mailto:discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >>
	>     >     >     <mailto:discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >
	>     >     <mailto:discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >>> [mailto:
	>     >     >     discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >
	>     >     <mailto:discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >>
	>     >     >     <mailto:discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >
	>     >     <mailto:discussion-bounces at sipforum.org
	>     <mailto: discussion-bounces at sipforum.org
<mailto:discussion-bounces at sipforum.org> >>>] *On Behalf Of *Ankit
	>     >     >     *Sent:* Monday, July 23, 2007 4:26 PM
	>     >     >     *To:* discussion at sipforum.org 
	>     <mailto:discussion at sipforum.org>
	>     >     <mailto: discussion at sipforum.org
	>     <mailto: discussion at sipforum.org>>
<mailto:discussion at sipforum.org
	>     <mailto: discussion at sipforum.org
<mailto:discussion at sipforum.org> >
	>     >     <mailto:discussion at sipforum.org
	>     <mailto:discussion at sipforum.org >>>
	>     >     >     *Subject:* [SIPForum-discussion] Hello Elites
	>     >     >
	>     >     >
	>     >     >
	>     >     >     Hi,
	>     >     > 
	>     >     >     Is there any person here who have some
technical idea
	>     about
	>     >     >     Nextone Session board controller (SBC).
	>     >     >
	>     >     >     Also please guide me to know the root causes
for 
	>     getting no ring
	>     >     >     back and one way audio.
	>     >     >
	>     >     >     --
	>     >     >     Regards,
	>     >     >     Ankit Kumar 
	>     >     >     Contact:- 919911591577
	>     >     >
	>     >     >
	>     >     >
	>     >     >
	>     >     > --
	>     >     > Regards, 
	>     >     > Ankit Kumar
	>     >     > Contact:- 919911591577
	>     >     >
	>     >
	>
	
------------------------------------------------------------------------
	>     >     > 
	>     >     > _______________________________________________
	>     >     > This is the SIP Forum discussion mailing list
	>     >     > TO UNSUBSCRIBE, or edit your delivery options,
please 
	visit
	>     >     http://sipforum.org/mailman/listinfo/discussion
	>     >     > Post to the list at discussion at sipforum.org
	>     <mailto:discussion at sipforum.org>
	>     >     <mailto:discussion at sipforum.org 
	>     <mailto:discussion at sipforum.org>>
	>     >     >
	>     >     >
	>     >     >
	>     >     > __________ NOD32 2416 (20070724) Information
__________ 
	>     >     >
	>     >     > This message was checked by NOD32 antivirus
system.
	>     >     > http://www.eset.com
	>     >     >
	>     > 
	>     >
	>     >
	>     >
	>     >
	>     > --
	>     > Regards,
	>     > Ankit Kumar
	>     > Contact:- 919911591577
	>
	>
	>     --
	>     Cheers, 
	>
	>     Asiatel Singapore Pte Ltd
	>     Andrew Yu
	>
	>     19 Jalan Kilang Barat
	>     #06-01, Acetech Centre
	>     Singapore 159361
	>
	>     Tel: +65 6271 8233
	>     Fax: +65 6274 4266 
	>
	>
	>
	>
	> --
	> Regards,
	> Ankit Kumar
	> Contact:- 919911591577
	
	_______________________________________________
	This is the SIP Forum discussion mailing list
	TO UNSUBSCRIBE, or edit your delivery options, please visit 
	http://sipforum.org/mailman/listinfo/discussion
	Post to the list at discussion at sipforum.org




-- 
Regards,
Ankit Kumar
Contact:- 919911591577 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20070801/7feeb968/attachment-0002.html>


More information about the discussion mailing list