You guys have been so helpful I thought I would ask first. I would like to
add audio to these calls so my scenario is a bit more realistic. I also need
to create a second injection file for the destination number being dialed.
Can this field be included in the users/csv or do I have to pass a second
file at the commend line somewhere?

Thanks Again..

On Mon, Jul 12, 2010 at 8:50 PM, mayamatakeshi <mayamatake...@gmail.com>wrote:

>
> On Tue, Jul 13, 2010 at 5:47 AM, Kalpan Doshi <kdo...@aumtech.com> wrote:
>
>>  Oh I see whats happening. Everything after the Authorization header is
>> being interpreted as the content (SDP) including the remaining headers. If
>> you look at the trace in a linux editor (or vim on windows), you can see
>> that there are two '^M' characters at the end of the string indicating a
>> double CRLF. In SIP, that means that is where the SDP begins. I am not sure
>> why the Authorization header is putting a double CRLF.
>>
>> Here is what you can try:
>>
>> INVITE sip:1...@[remote_ip]:[remote_port] SIP/2.0
>> Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
>> From: <sip:1...@[local_ip]:[local_port]>;tag=[call_number]
>> To: <sip:6165551...@[remote_ip]:[remote_port]>
>> Call-ID: [call_id]
>> CSeq: [cseq] INVITE
>> Contact: sip:1...@[local_ip]:[local_port]
>> Max-Forwards: 70
>> Subject: Performance Test
>> Content-Type: application/sdp
>> Content-Length: [len]
>> [field1]      (Since this is adding a double CRLF, don't add an extra
>> line after this before the SDP starts).
>> v=0
>> o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
>> s=-
>> c=IN IP[media_ip_type] [media_ip]
>> t=0 0
>> m=audio [media_port] RTP/AVP 0
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-15
>> a=ptime:20
>>
>> ]]>
>>     </send>
>>
>
> I can see the same is happening with the REGISTER so the source of this
> problem is the csv file. Whatever editor you used to create the csv file is
> adding some trailing chars that are confusing sipp. Use vim or something
> like that.
>
> Also, there were some problems in the XML itself. I have corrected them.
> Please try with the attached files. Use the command-line like this:
>
> sipp -s 6165551212 -l 1 -m 1 -sf register_and_invite.xml -inf users.csv -i
> 192.168.2.127 -p 5060 192.168.2.7
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to