On Tue, Dec 9, 2008 at 1:24 PM, Tony Liao <[EMAIL PROTECTED]> wrote:
> mayamatakeshi:
> thanks for your replying .
> yes.I have read the doc from sipp.sourcefroge.net. also,I have search the
> scenario file,but it seems that it is quite different from our server
> cluster.
>
> for testing ,we have one sip proxy server and a media server(also it is a
> sip server and IVR menu server,take charge of rtp streaming).
> the invite process as bellow(xlite do):
>
> invite:sipphone1--->proxy1-->mediaserver-->proxy1--> sipphone2
> (100...)
> 180:sipphone2-->proxy1-->mediaserver
> 183:mediaserver-->proxy1-->sipphone1
> 200:sipphone2-->proxy1-->mediaserver-->proxy1-->sipphone1
> *ACK:sipphone-->mediaserver-->?*
> RTP:sipphone1<-->mediaserver<-->sipphone2
> BYE.....
>
> ========================================================================================
> scenario file:
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE scenario SYSTEM "sipp.dtd">
> <scenario name="UAC with media">
> <!-- In client mode (sipp placing calls), the Call-ID MUST be -->
> <!-- generated by sipp. To do so, use [call_id] keyword.
> -->
> <send retrans="500">
> <![CDATA[
>
> INVITE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> From: [field0]
> <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
> To: [field1] <sip:[EMAIL PROTECTED]>
> Call-ID: [call_id]
> CSeq: 1 INVITE
> Contact: sip:[EMAIL PROTECTED]:[local_port]
> Max-Forwards: 70
> Subject: Performance Test
> Content-Type: application/sdp
> Content-Length: [len]
>
> v=0
> o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
> s=-
> c=IN IP[local_ip_type] [local_ip]
> t=0 0
> m=audio [auto_media_port] RTP/AVP 8
> a=rtpmap:8 PCMA/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-11,16
>
> ]]>
> </send>
>
> <recv response="407" auth="true">
> </recv>
> <send>
> <![CDATA[
>
> ACK sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> From: [field0]
> <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
> To: [field1] <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
> Call-ID: [call_id]
> CSeq: 1 ACK
> Contact: sip:[EMAIL PROTECTED]:[local_port]
> Max-Forwards: 70
> Subject: Performance Test
> Content-Length: 0
>
> ]]>
> </send>
>
> <send retrans="500">
> <![CDATA[
>
> INVITE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port]
> From: [field0]
> <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
> To: [field1] <sip:[EMAIL PROTECTED]>
> Call-ID: [call_id]
> CSeq: 2 INVITE
> Contact: sip:[EMAIL PROTECTED]:[local_port]
> [field2]
> Max-Forwards: 70
> Subject: Performance Test
> Content-Type: application/sdp
> Content-Length: [len]
>
> v=0
> o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
> s=-
> t=0 0
> c=IN IP[media_ip_type] [media_ip]
> m=audio [auto_media_port] RTP/AVP 0
> a=rtpmap:0 PCMU/8000
> ]]>
> </send>
>
> <recv response="100" optional="true">
> </recv>
> <recv response="183" optional="true">
> </recv>
> <recv response="200" rtd="true" crlf="true" rrs="true">
> </recv>
> <send>
> <![CDATA[
>
> ACK [next_url] SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> From: [field0]
> <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
> To: [field1] <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
> Call-ID: [call_id]
> CSeq: 2 ACK
> Contact: <sip:[EMAIL PROTECTED]:[local_port]>
> Max-Forwards: 70
> Subject: Performance Test
> Content-Length: 0
>
> ]]>
> </send>
>
> <pause milliseconds="5000"/>
> <send retrans="500">
> <![CDATA[
>
> BYE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> From: [field0]
> <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
> To: [field1] <sip:[EMAIL PROTECTED]:[remote_port]>[peer_tag_param]
> Call-ID: [call_id]
> CSeq: 2 BYE
> Contact: sip:[EMAIL PROTECTED]:[local_port]
> Max-Forwards: 70
> Subject: Performance Test
> Content-Length: 0
>
> ]]>
> </send>
>
> <recv response="200" crlf="true">
> </recv>
>
> <!-- definition of the response time repartition table (unit is ms) -->
> <Respons <!-- definition of the call length repartition table (unit is
> ms) -->
> <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
>
> </scenario>
> eTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
>
>
>
> sipphone2 is a hardphone.
>
> try to run:
> ./sipp -sf invite.xml -inf invite.csv -p 5070 -i 192.168.1.109 -m 1
> 192.168.1.105:5060 (192.168.1.105 is proxy1)
>
> but the ACK has been sent to proxy1 (but I want to send it to mediaserver)
>
> thank you.
>
>
> Tony.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 2008/12/9 mayamatakeshi <[EMAIL PROTECTED]>
>
>
>>
>> On Mon, Dec 8, 2008 at 8:32 PM, Tony Liao <[EMAIL PROTECTED]> wrote:
>>>
>>> hi,all
>>> we have a sip proxy and media server.
>>> I get the package by wireshark:
>>>
>>> use xlite:
>>>
>>> Xlite sip porxy
>>> media server hard phone
>>>
>>>
>>>
>>> |invite |
>>> |--------------->|
>>> | 407 |
>>> |<---------------|
>>> |ACK |
>>> |--------------->|
>>>
>>>
>>>
>>> |invite |
>>> |--------------->|
>>> | 100 |
>>> |<---------------|
>>> | 183 |
>>> |<---------------|
>>>
>>>
>>>
>>> | 200 |
>>> |<---------------|
>>> |ACK
>>> |
>>> |-------------------------------------->|
>>>
>>>
>>>
>>>
>>> the xlite can communicate with hard phone smothly.
>>> so,how to write Scenario files to send ACK to media server?
>>>
>>> Hello,
>> can you elaborate a little more what is the problem you are trying to
>> solve?
>> Are you a beginner trying to write your own SIPp scenario? If so, please
>> read
>> http://sipp.sourceforge.net/ims_bench/reference.html#Writing+XML+Scenarios
>> The above page has complete explanations on how to write scenarios.
>> For scenario samples, run the commands:
>> sipp -sd uac
>> sipp -sd uas
>> Also, you can find some scenarios on the internet or searching the
>> archives of this mailing list.
>>
>
Hi Tony,
OK, now your problem is clear.
I never encountered this situation and I was a little curious, so I searched
the archives and I found this:
http://sourceforge.net/mailarchive/message.php?msg_id=OF47F8420D.BA3D0B81-ON852574F2.0041BDF8-852574F2.0041C844%40us.ibm.com
regards,
mayama
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users