Thanks for the help. I made the changes you recommended, but when I tried:
sipp 172.18.50.220:50060 -sf uac1877-no-prack.xml -m 1 -s 608999123
4 -i [3ffe:1900:4545:3:200:f8ff:fe21:67cf] -trace_msg -d 3000 -max_retrans 1
I got:
2011-07-14 16:41:51:959 1310679711.959510: Can't get local IP address in
getaddrinfo, local_host='3ffe:1900:4545:3:200:f8ff:fe21:67cf', local_ip='3ffe:1
900:4545:3:200:f8ff:fe21:67cf'.
So I guess there's no way to do what I want to do. Here's my xml script (just a
portion):
<scenario name="Basic Sipstone UAC">
<send retrans="500">
<![CDATA[
INVITE sip:[service]@172.18.50.220:50060 SIP/2.0
Via: SIP/2.0/[transport]
172.18.50.208:50060;branch=z9hG4bK987b42af83cedd6a
From: "Fred Cherny"
<sip:8664293591@[local_ip];user=phone>;tag=[call_number]
To: "T72028_Id BS-IAD_Id" <sip:[service]@172.18.50.220:50060>
Call-ID: [call_id]
CSeq: 953221079 INVITE
User-Agent: Cisco-CP7912/8.0.1-060412A
Content-Type: application/sdp
v=0
o=BroadWorks 17808 1 IN IP4 12.0.17.153
s=-
t=0 0
c=IN IP4 12.0.17.153
m=audio 2234 RTP/AVP 0 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
]]>
</send>
From: Patrick Wakano [mailto:pwak...@gmail.com]
Sent: Tuesday, July 12, 2011 6:46 AM
To: Fred Cherny
Cc: sipp-users@lists.sourceforge.net
Subject: Re: [Sipp-users] Specifying an IPV6 formatted address in the From:
header
Thats a good point. IPv6 URLs should be written between brackets so parses
could distinguish the IP address of the port. However SIPp keywords should also
be written between brackets and thats why SIPp doesn't expect brackets in your
IPv6 address, so this smells like a SIPp limitation....
You could try to use the -i option with an IPv6 address instead of hard coding
your message with the IPv6 in the 'From:'. It would be the opposite of what you
did, hard code your IPv4 address in the places you used the [local_ip] and use
the [local_ip] to insert the IPv6 address wherever you want. I think this would
show us if SIPp sends the messages with brackets or not.
On Fri, Jul 8, 2011 at 1:42 PM, Fred Cherny
<fred.che...@taqua.com<mailto:fred.che...@taqua.com>> wrote:
Hi all,
I'm trying to use SIPp to send an INVITE to my parser. I want to test the
parser's ability to parse an IPV6 formatted address. Here's what I'm sending:
INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport]
[local_ip]:[local_port];branch=z9hG4bK987b42af83cedd6a
From: sip:[3ffe:1900:4545:3:200:f8ff:fe21:67cf];tag=[call_number]
To: "T72028_Id BS-IAD_Id" <sip:[service]@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 953221079 INVITE
(... snip ...)
Content-Type: application/sdp
v=0
o=BroadWorks 17808 1 IN IP4 12.0.17.153
s=-
t=0 0
c=IN IP4 12.0.17.153
m=audio 2234 RTP/AVP 0 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
But when I try to run the SIPP script, I get:
2011-07-08 11:37:28:711 1310143048.711135: Unsupported keyword '3ffe:190
0:4545:3:200:f8ff:fe21:67cf' in xml scenario file.
When I remove the "[]" around the IP address, sipp runs the script.
Unfortunately, that's an invalid format for IPV6.
Has anyone tried this? Is there a command line option I must specify?
Thanks for your help.
P.S. my command line is: $ sipp 172.18.50.220:50060<http://172.18.50.220:50060>
-sf uac1877-no-prack.xml -m 1 -s 608999123
4 -i 172.18.50.208 -p 50060 -trace_msg -d 3000 -max_retrans 1
________________________________
The information contained within this e-mail message, including the information
contained in any attachments, is considered confidential information of Taqua,
LLC, and intended only for the named recipient(s). If you have received this
message in error, or are not the named recipient(s), please immediately delete
this e-mail and any attachments.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net<mailto:Sipp-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/sipp-users
________________________________
The information contained within this e-mail message, including the information
contained in any attachments, is considered confidential information of Taqua,
LLC, and intended only for the named recipient(s). If you have received this
message in error, or are not the named recipient(s), please immediately delete
this e-mail and any attachments.
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users