On Thu, Mar 3, 2011 at 9:45 AM, mayamatakeshi <mayamatake...@gmail.com>wrote:

>
>
> On Thu, Mar 3, 2011 at 12:57 AM, Gopalakrishnan A.N <sai...@gmail.com>wrote:
>
>> What is the difference between writing script like this for INVITE
>>
>> <recv request="INVITE" rrs="true" crlf="true" />
>>
>> and like this
>>
>> INVITE sip:*[service]*@*[remote_ip]*:*[remote_port]* SIP/2.0
>> Via: SIP/2.0/*[transport]* *[local_ip]*:*[local_port]*
>> From: sipp <sip:sipp@*[local_ip]*:*[local_port]*>;tag=*[call_number]*
>> To: sut <sip:*[service]*@*[remote_ip]*:*[remote_port]*>
>> Call-ID: *[call_id]*
>> Cseq: 1 INVITE
>> Contact: sip:sipp@*[local_ip]*:*[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=-
>> t=0 0
>> c=IN IP*[media_ip_type]* *[media_ip]*
>> m=audio *[media_port]* RTP/AVP 0
>> a=rtpmap:0 PCMU/8000
>>
>> Is it same or different?
>>
>
> They are not the same thing. The first is a xml tag used to instruct sipp
> to wait for a message (recv means receive)
> The second is actually the contents of a message that you are instructing
> sipp to send (so actually, it goes inside a xml tag <send/>). Read about xml
> here http://en.wikipedia.org/wiki/XML
> A sipp scenario is basically a sequence of <send/. and <recv/> commands. So
> you send a message like USIN using <send/> and wait for responses like
> 100/401/407/200 using <recv/>, then you send another message using <send/>
> and wait for other responses using <recv/> and so on.
>

There were some typos:

They are not the same thing. The first is a xml tag used to instruct sipp to
wait for a message (recv means receive)
The second is actually the contents of a message that you are instructing
sipp to send (so actually, it goes inside a xml tag <send/>). Read about xml
here http://en.wikipedia.org/wiki/XML
A sipp scenario is basically a sequence of <send/> and <recv/> commands. So
you send a message like INVITE using <send/> and wait for responses like
100/401/407/200 using <recv/>, then you send another message using <send/>
and wait for other responses using <recv/> and so on.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to