Discussion:
[Sipp-users] Help for generating RTP packets
Vikas Agarwal
2005-08-12 07:32:29 UTC
Permalink
BlankHello,

I am using sipp tool to generate SIP and RTP packets. I can receive RTP
packets at uac side if I am using any real sip phone(X-Pro). If I am using
sipp as a uas instead of X-Pro I can not generate RTP packets at UAS side.
Can U provide the help to solve the problem.



Regards,

Vikas.
Olivier Jacques
2005-08-12 08:16:46 UTC
Permalink
Post by Vikas Agarwal
I am using sipp tool to generate SIP and RTP packets. I can receive RTP
packets at uac side if I am using any real sip phone(X-Pro). If I am using
sipp as a uas instead of X-Pro I can not generate RTP packets at UAS side.
Can U provide the help to solve the problem.
Hello Vikas,
from the doc:

"SIPp is originally a signalling plane traffic generator. There is a
limited support of media (RTP).

The "RTP echo" feature allows SIPp to listen to one local IP address
and port (specified using -mi and -mp command line parameters) for RTP
media. Everything that is received on this address/port is echoed back
to the sender.

RTP/UDP packets coming on this port + 2 are also echoed to their
sender (used for sound and video echo).

This allows you to have a media channel opened even if no media can be
sent from SIPp."

Hope this helps.
Olivier.
--
http://www.hp.com/go/opencall/
Olivier Jacques
2005-08-12 08:39:55 UTC
Permalink
Thanks for quick response
But my issue is Echo Test is not running successfully with uac and uas,
as per ur statement if I use third party software (XPRO)
it works fine with uac. But I m sending the same packet through sipp uas,
still its not generating RTP. So what is the difference between using X-pro
as UAS and our sipp UAS as UAS. Using netstat we verified that the port is
being opened for UDP but the packets can be sent from uas to get its echo
back form uac. can you guide what type of packet stru or what
parameter changes i need to take care.
SIPp _doesn't_ generate RTP, it just echoes it. So the difference
between SIPp UAS and a SIP phone is that SIPp UAS doesn't generate
RTP.
SIPp doesn't support RTP sending for the moment.

Olivier.
--
http://www.hp.com/go/opencall/
Kashif Siddiqui
2005-08-12 14:33:55 UTC
Permalink
Vikas,

Can you generate RTP packets using XPRO from command line? If yes, then you
can try this out. Do a <ereg regexp.> with the right regexp and a
search_in="msg" and assign_to="1", then in your action command do a <exec
command="<CLI command> [$1]"/>.

I tried this with rtpsend, but I guess there was some problem with my RPT
packet format or my regexp, so I can't say that I know it works, but atleast
SIPp invoked the correct command.

Let us know if you are able to make it work!

Kashif


-----Original Message-----
From: sipp-users-***@lists.sourceforge.net
[mailto:sipp-users-***@lists.sourceforge.net] On Behalf Of Olivier Jacques
Sent: Friday, August 12, 2005 3:40 AM
To: Vikas Agarwal
Cc: sipp-***@lists.sourceforge.net
Subject: Re: [Sipp-users] Help for generating RTP packets
Thanks for quick response
But my issue is Echo Test is not running successfully with uac and
uas,
as per ur statement if I use third party software (XPRO)
it works fine with uac. But I m sending the same packet through sipp
uas,
still its not generating RTP. So what is the difference between using
X-pro
as UAS and our sipp UAS as UAS. Using netstat we verified that the port is
being opened for UDP but the packets can be sent from uas to get its echo
back form uac. can you guide what type of packet stru or what
parameter changes i need to take care.
SIPp _doesn't_ generate RTP, it just echoes it. So the difference
between SIPp UAS and a SIP phone is that SIPp UAS doesn't generate
RTP.
SIPp doesn't support RTP sending for the moment.

Olivier.
--
http://www.hp.com/go/opencall/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Vikas Agarwal
2005-08-12 08:35:28 UTC
Permalink
Thanks for quick response

But my issue is Echo Test is not running successfully with uac and uas,
as per ur statement if I use third party software (XPRO)
it works fine with uac. But I m sending the same packet through sipp uas,
still its not generating RTP. So what is the difference between using X-pro
as UAS and our sipp UAS as UAS. Using netstat we verified that the port is
being opened for UDP but the packets can be sent from uas to get its echo
back form uac. can you guide what type of packet stru or what
parameter changes i need to take care.

Thanks in adv.

Regards
Vikas





-----Original Message-----
From: Olivier Jacques [mailto:***@gmail.com]
Sent: Friday, August 12, 2005 1:47 PM
To: Vikas Agarwal
Cc: sipp-***@lists.sourceforge.net
Subject: Re: [Sipp-users] Help for generating RTP packets
Post by Vikas Agarwal
I am using sipp tool to generate SIP and RTP packets. I can receive RTP
packets at uac side if I am using any real sip phone(X-Pro). If I am using
sipp as a uas instead of X-Pro I can not generate RTP packets at UAS side.
Can U provide the help to solve the problem.
Hello Vikas,
from the doc:

"SIPp is originally a signalling plane traffic generator. There is a
limited support of media (RTP).

The "RTP echo" feature allows SIPp to listen to one local IP address
and port (specified using -mi and -mp command line parameters) for RTP
media. Everything that is received on this address/port is echoed back
to the sender.

RTP/UDP packets coming on this port + 2 are also echoed to their
sender (used for sound and video echo).

This allows you to have a media channel opened even if no media can be
sent from SIPp."

Hope this helps.
Olivier.
--
http://www.hp.com/go/opencall/
Vikas Agarwal
2005-08-13 12:29:47 UTC
Permalink
HI,

I have one more question. If I want to send any message only when i receive
one predefined message which can be optional then what can i write in my xml
file? Means if want to send BYE but i am receiving INVITE which i have
written as a optional message then instead of BYE can i send 200 OK else
BYE?

Vikas


-----Original Message-----
From: Vikas Agarwal [mailto:***@varaha.com]
Sent: Friday, August 12, 2005 2:05 PM
To: Olivier Jacques
Cc: sipp-***@lists.sourceforge.net
Subject: RE: [Sipp-users] Help for generating RTP packets


Thanks for quick response

But my issue is Echo Test is not running successfully with uac and uas,
as per ur statement if I use third party software (XPRO)
it works fine with uac. But I m sending the same packet through sipp uas,
still its not generating RTP. So what is the difference between using X-pro
as UAS and our sipp UAS as UAS. Using netstat we verified that the port is
being opened for UDP but the packets can be sent from uas to get its echo
back form uac. can you guide what type of packet stru or what
parameter changes i need to take care.

Thanks in adv.

Regards
Vikas





-----Original Message-----
From: Olivier Jacques [mailto:***@gmail.com]
Sent: Friday, August 12, 2005 1:47 PM
To: Vikas Agarwal
Cc: sipp-***@lists.sourceforge.net
Subject: Re: [Sipp-users] Help for generating RTP packets
Post by Vikas Agarwal
I am using sipp tool to generate SIP and RTP packets. I can receive RTP
packets at uac side if I am using any real sip phone(X-Pro). If I am using
sipp as a uas instead of X-Pro I can not generate RTP packets at UAS side.
Can U provide the help to solve the problem.
Hello Vikas,
from the doc:

"SIPp is originally a signalling plane traffic generator. There is a
limited support of media (RTP).

The "RTP echo" feature allows SIPp to listen to one local IP address
and port (specified using -mi and -mp command line parameters) for RTP
media. Everything that is received on this address/port is echoed back
to the sender.

RTP/UDP packets coming on this port + 2 are also echoed to their
sender (used for sound and video echo).

This allows you to have a media channel opened even if no media can be
sent from SIPp."

Hope this helps.
Olivier.
--
http://www.hp.com/go/opencall/
Peter Higginson
2005-08-22 08:29:45 UTC
Permalink
You can put next= in the optional receive. See the documentation.

Peter

Peter Higginson
Newport Networks Ltd,
Direct line 01494 470694
http://www.newport-networks.com/

-----Original Message-----
From: sipp-users-***@lists.sourceforge.net
[mailto:sipp-users-***@lists.sourceforge.net] On Behalf Of Vikas Agarwal
Sent: 13 August 2005 13:30
To: Olivier Jacques
Cc: sipp-***@lists.sourceforge.net
Subject: RE: [Sipp-users] Help for generating RTP packets


HI,

I have one more question. If I want to send any message only when i receive
one predefined message which can be optional then what can i write in my xml
file? Means if want to send BYE but i am receiving INVITE which i have
written as a optional message then instead of BYE can i send 200 OK else
BYE?

Vikas


-----Original Message-----
From: Vikas Agarwal [mailto:***@varaha.com]
Sent: Friday, August 12, 2005 2:05 PM
To: Olivier Jacques
Cc: sipp-***@lists.sourceforge.net
Subject: RE: [Sipp-users] Help for generating RTP packets


Thanks for quick response

But my issue is Echo Test is not running successfully with uac and uas,
as per ur statement if I use third party software (XPRO)
it works fine with uac. But I m sending the same packet through sipp uas,
still its not generating RTP. So what is the difference between using X-pro
as UAS and our sipp UAS as UAS. Using netstat we verified that the port is
being opened for UDP but the packets can be sent from uas to get its echo
back form uac. can you guide what type of packet stru or what
parameter changes i need to take care.

Thanks in adv.

Regards
Vikas





-----Original Message-----
From: Olivier Jacques [mailto:***@gmail.com]
Sent: Friday, August 12, 2005 1:47 PM
To: Vikas Agarwal
Cc: sipp-***@lists.sourceforge.net
Subject: Re: [Sipp-users] Help for generating RTP packets
Post by Vikas Agarwal
I am using sipp tool to generate SIP and RTP packets. I can receive RTP
packets at uac side if I am using any real sip phone(X-Pro). If I am using
sipp as a uas instead of X-Pro I can not generate RTP packets at UAS side.
Can U provide the help to solve the problem.
Hello Vikas,
from the doc:

"SIPp is originally a signalling plane traffic generator. There is a
limited support of media (RTP).

The "RTP echo" feature allows SIPp to listen to one local IP address
and port (specified using -mi and -mp command line parameters) for RTP
media. Everything that is received on this address/port is echoed back
to the sender.

RTP/UDP packets coming on this port + 2 are also echoed to their
sender (used for sound and video echo).

This allows you to have a media channel opened even if no media can be
sent from SIPp."

Hope this helps.
Olivier.
--
http://www.hp.com/go/opencall/



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Continue reading on narkive:
Loading...