[OpenSIPS-Users] Sipp to test OPENSIPS

Andrey Cassemiro andreycky at hotmail.com
Mon May 10 19:21:26 CEST 2010


Hi Samoh,
You can change it inside the XML UAC file that in default must looks like:

See that the FROM field is fixed and not a variable, try to change it, must work.
Or you can load it from an external file.

See this link, it must help you.

http://sipp.sourceforge.net/doc/reference.html#setdest
<scenario name="Basic Sipstone UAC">
  <send>
    <![CDATA[
    
      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


    ]]>
  </send>

      - - -

Andrey Cassemiro
(11) 6343-0411





> Date: Mon, 10 May 2010 06:38:55 -0700
> From: dahmani.samy at gmail.com
> To: users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] Sipp to test OPENSIPS
> 
> 
> 
> Bogdan-Andrei Iancu wrote:
> > 
> > What exactly is not working ?
> > 
> > Regards,
> > Bogdan
> > 
> > samoh wrote:
> >> Hi everyone,
> >>
> >> I have not yet succeeded to work sipp on my server :[. someone can help
> >> me
> >> to do it ?
> >>
> >> Thanks.
> >> Sam.
> >>   
> > 
> > 
> > -- 
> > Bogdan-Andrei Iancu
> > www.voice-system.ro
> > 
> > 
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > 
> > 
> Quoted from: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/Sipp-to-test-OPENSIPS-tp5013501p5030344.html
> 
> Hi Bogdan,
> 
> I hope that you help me to resolve my problem because that makes some days
> I'm stuck on it.
> 
> I take this opportunity to ask you how to use db_http because  on the page
> devoted to this module I see no function with what we call the server http,
> I see only modparam for configuring the module?.
> 
> this is what I did but all calls are failed:
> 
> client agent --------------------------> opensips
> <--------------------------- seveur agent
> ip; 192.168.0.134                ip: 192.168.0.190                     ip:
> 192.168.0.157
> 
> on opensips : 
> openserctl ul add 1003 sip:1003 at 192.168.0.157:5060
> 
> on server agent :
> ./sipp –sn uas -i 192.168.0.157
> 
> on client agent :
> ./sipp -sn uac 192.168.0.190:5060 -s 1003 -ap 1000 -i 192.168.0.134 -p 5060
> -d 1000
> 
> when I use ngrep I have this (just the INVITEs) : 
> 
> U 192.168.0.134:5060 -> 192.168.0.190:5060
> INVITE sip:1003 at 192.168.0.190:5060 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.0.134:5060;branch=z9hG4bK-5552-30-0.
> From: sipp <sip:sipp at 192.168.0.134:5060>;tag=5552SIPpTag0030.
> To: sut <sip:1003 at 192.168.0.190:5060>.
> Call-ID: 30-5552 at 192.168.0.134.
> CSeq: 1 INVITE.
> Contact: sip:sipp at 192.168.0.134:5062.
> Max-Forwards: 70.
> Subject: Performance Test.
> Content-Type: application/sdp.
> Content-Length:  137.
>  
> comparing a INVITES which normally has a Linksys phone:
> 
> U 192.168.0.47:5060 -> 192.168.0.190:5060
> INVITE sip:1003 at 192.168.0.190 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-8624ca72.
> From: "50" <sip:50 at 192.168.0.190>;tag=971f1cc25b9a5949o0.
> To: <sip:1003 at 192.168.0.190>.
> Call-ID: d03488f6-107ebaa5 at 192.168.0.47.
> CSeq: 101 INVITE.
> Max-Forwards: 70.
> Contact: "50" <sip:50 at 192.168.0.47:5060>.
> Expires: 240.
> User-Agent: Sipura/SPA841-3.1.4(a).
> Content-Length: 393.
> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER.
> Content-Type: application/sdp.
> 
> I noticed that the From's field is wrong in my test but I don't know how
> change it ?!.
> 
> Best regards.
> Sam.
> -- 
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Sipp-to-test-OPENSIPS-tp5013501p5030610.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 		 	   		  
_________________________________________________________________
VOCÊ PODE TER 25 GB GRATUITOS PARA ARMAZENAR SEUS ARQUIVOS NA WEB. VEJA AQUI COMO.
http://www.windowslive.com.br/public/product.aspx/view/1?cname=skydrive&ocid=Hotmail:MSN:Messenger:Tagline:1x1:skydrive:-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100510/019fd397/attachment.htm 


More information about the Users mailing list