Hi all,
I have some trouble to play RTP streams. I cannot hear the streams in term
side.The codes are the same as in the source page. My xml file is attached as
txt to the mail. I searched on the web but I couldn't find any solution.
<nop>
<action>
<exec play_pcap_audio="/home/user1/TrialAndError/pcap/g711a.pcap"/>
</action>
</nop>
Also my version is ;
-bash-3.2$ sipp -v
SIPp v3.4.1-TLS-SCTP-PCAP-RTPSTREAM built Jun 17 2014, 05:26:44.
I ll be appreciated If you help me,I really need it and I stuck here.
Thank you all !!
Aksen
Bu e-posta mesaj? ve ekleri g?nderildi?i ki?i ya da kuruma ?zeldir ve gizlidir.
Ayr?ca hukuken de gizli olabilir. Hi?bir ?ekilde ???nc? ki?ilere a??klanamaz ve
yay?nlanamaz. E?er mesaj?n g?nderildi?i al?c? de?ilseniz bu elektronik postan?n
i?eri?ini a??klaman?z, kopyalaman?z, y?nlendirmeniz ve kullanman?z kesinlikle
yasakt?r ve bu elektronik postay? ve eklerini derhal silmeniz gerekmektedir.
NETA? TELEKOM?N?KASYON A.?. bu mesaj?n i?erdi?i bilgilerin do?rulu?u veya
eksiksiz oldu?u konusunda herhangi bir garanti vermemektedir. Bu nedenle bu
bilgilerin ne ?ekilde olursa olsun i?eri?inden, iletilmesinden, al?nmas?ndan,
saklanmas?ndan ve kullan?lmas?ndan sorumlu de?ildir. Bu mesajdaki g?r??ler
g?nderen ki?iye ait olup, NETA? TELEKOM?N?KASYON A.?.'nin g?r??lerini
yans?tmayabilir.
-------------------------------------------------------
This e-mail and its attachments are private and confidential and intended for
the exclusive use of the individual or entity to whom it is addressed. It may
also be legally confidential. Any disclosure, distribution or other
dissemination of this message to any third party is strictly prohibited. If you
are not the intended recipient you are hereby notified that any dissemination,
forwarding, copying or use of any of the information is strictly prohibited,
and the e-mail should immediately be deleted. NETA? TELEKOM?N?KASYON A.?. makes
no warranty as to the accuracy or completeness of any information contained in
this message and hereby excludes any liability of any kind for the information
contained therein or for the transmission, reception, storage or use of such
information in any way whatsoever. The opinions expressed in this message are
those of the sender and may not necessarily reflect the opinions of NETA?
TELEKOM?N?KASYON A.?.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!-- This program is free software; you can redistribute it and/or -->
<!-- modify it under the terms of the GNU General Public License as -->
<!-- published by the Free Software Foundation; either version 2 of the -->
<!-- License, or (at your option) any later version. -->
<!-- -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- GNU General Public License for more details. -->
<!-- -->
<!-- You should have received a copy of the GNU General Public License -->
<!-- along with this program; if not, write to the -->
<!-- Free Software Foundation, Inc., -->
<!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
<!-- -->
<!-- Sipp default 'uac' scenario. -->
<!-- -->
<scenario name="Basic Sipstone UAC">
<!-- 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:[field3]@[field0] SIP/2.0
Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]
From: "[field1]" <sip:[field1]@[field2]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[field3]@[field2]>
Contact: <sip:[field1]@[local_ip]:[local_port]>
Call-ID: [call_id]
CSeq: [cseq] INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
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: PCMA/8000
a=rtpmap: telephone-event/8000
a=fmtp: 0-11,16
]]>
</send>
<recv response="100"
optional="true">
</recv>
<recv response="180" optional="true">
</recv>
<recv response="183" optional="true">
</recv>
<!-- By adding rrs="true" (Record Route Sets), the route sets -->
<!-- are saved and used for following messages sent. Useful to test -->
<!-- against stateful SIP proxies/B2BUAs. -->
<recv response="200" rtd="true">
</recv>
<!-- Packet lost can be simulated in any send/recv message by
[remote_ip]:[remote_port] -->
<!-- by adding the 'lost = "10"'. Value can be [1-100] percent. -->
<send>
<![CDATA[
ACK sip:[field3]@[field0] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: "[field1]" <sip:[field1]@[field2]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[field3]@[field2]>[peer_tag_param]
Call-ID: [call_id]
CSeq: [cseq] ACK
Contact: sip:[field1]@[local_ip]:[local_port]
Max-Forwards: 70
Content-Length: 0
]]>
</send>
<!-- Play a pre-recorded PCAP file (RTP stream) -->
<nop>
<action>
<exec play_pcap_audio="/home/user1/TrialAndError/pcap/g711a.pcap"/>
</action>
</nop>
<pause milliseconds="8000"/>
<!-- This delay can be customized by the -d command-line option -->
<!-- or by adding a 'milliseconds = "value"' option here. -->
<pause milliseconds="15"/>
<!-- The 'crlf' option inserts a blank line in the statistics report. -->
<send retrans="500">
<![CDATA[
BYE sip:[field3]@[field0]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: "[field1]"
<sip:[field1]@[field2]:[local_port]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[field3]@[field2]:[remote_port]>[peer_tag_param]
Call-ID: [call_id]
CSeq: [cseq] BYE
Contact: sip:[field1]@[local_ip]:[local_port]
Max-Forwards: 70
Subject: Performance Test
Content-Length: 0
]]>
</send>
<recv response="200" crlf="true">
</recv>
</scenario>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users