I think that you find a bug: It seems that "-i" overwrites "-mi".

Could you please re-write your INV's as follow and retry the scenario:

   [..]

      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 8 101
      c=IN IP[media_ip_type] [media_ip]
      a=rtpmap:8 PCMA/8000
      a=rtpmap:101 telephone-event/8000
      a=fmtp:101 0-11,16
   [..]

Thanks,
v

From: Anh Cao Duc [mailto:cd...@tma.com.vn]
Sent: Monday, March 02, 2015 11:21 AM
To: Volkan KUMBASAR; 'Sakharam Thorat'; 'sipp-users'
Subject: RE: [Sipp-users] Ubuntu SIPp 3.2 sends RTP from wrong IP address

Thank all for your help,

I tried as your advice but the same result here.
I used below command to run my test.
root@ubuntu:~/sipp# sipp -sf uac_pcap1.xml -i 137.116.158.97 -p 5061 -m 1 -s 
9724000051 172.20.196.12 -mi 137.116.158.98 -mp 6600
I attached my call scenario and wireshark captured file here.

Many thank again,
Anh Cao

From: Volkan KUMBASAR [mailto:kumba...@netas.com.tr]
Sent: Monday, March 02, 2015 4:04 PM
To: Sakharam Thorat; Anh Cao Duc; sipp-users
Subject: RE: [Sipp-users] Ubuntu SIPp 3.2 sends RTP from wrong IP address

Hi Anh,

Sakharam is right: according RFC your XML should be as follows:

o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]


Could please share the full INV block XML?

Thanks,
v




From: Sakharam Thorat [mailto:sakharam.tho...@outlook.com]
Sent: Monday, March 02, 2015 9:12 AM
To: Anh Cao Duc; sipp-users
Subject: Re: [Sipp-users] Ubuntu SIPp 3.2 sends RTP from wrong IP address


Hi,

Try with following ,

Dont change ip_type in Originator header of SDP (Keep o=user1 53655765 
2353687637 IN IP[local_ip_type] [local_ip])

Only change in connection header of SDP (change to c=IN IP[media_ip_type] 
[media_ip] )

For more details about headers refer https://www.ietf.org/rfc/rfc2327.txt


Best Regards,
Sakharam Thorat.

________________________________
From: cd...@tma.com.vn<mailto:cd...@tma.com.vn>
To: sipp-users@lists.sourceforge.net<mailto:sipp-users@lists.sourceforge.net>
Date: Mon, 9 Feb 2015 16:01:47 +0700
Subject: [Sipp-users] Ubuntu SIPp 3.2 sends RTP from wrong IP address
Hi all,

I'm using SIPp 3.2 (installed via command: apt-get install siptester) on my 
Ubuntu machine.
My machine have 2 ethernet interfaces: eth0-137.116.158.98 and 
eth1-137.116.158.97.
I want to use eth0 is control IP and eth1 is media IP, so I dump uac_pcap 
scenario by command:
#sipp -sd uca_pcap > uac_pcap1.xml
Then modify 2 rows:
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
c=IN IP[local_ip_type] [local_ip]
to:
o=user1 53655765 2353687637 IN IP[media_ip_type] [media_ip]
c=IN IP[media_ip_type] [media_ip]
Then use below command to make a call:
sipp -sf uac_pcap1.xml -mi 137.116.158.97 -mp 6060 -i 137.116.158.98 -p 5061 -s 
9724000051 -m 1 172.20.196.12

The call is successful, my tested-system send RTP to correct IP but SIPp sends 
RTP packets via eth0(137.116.158.98) not eth1(137.116.158.97)

[cid:image001.png@01D054E0.DF5CE900]

Anyone know this problem and how to fix it?

Many thank,
Anh Cao

------------------------------------------------------------------------------ 
Dive into the World of Parallel Programming The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Sipp-users mailing list 
Sipp-users@lists.sourceforge.net<mailto:Sipp-users@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/sipp-users
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.Ş.
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.Ş.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to