http://sipp.sourceforge.net/doc/reference.html#setdest
setdest
The setdest action allows you to change the remote end point for a call.
The parameters are the transport, host, and port to connect the call to.
There are certain limitations baed on SIPp's design: you can not change
the transport for a call; and if you are using TCP then multi-socket
support must be selected (i.e. -t tn must be specified). Also, be aware
that frequently using setdest may reduce SIPp's capacity as name
resolution is a blocking operation (thus potentially causing SIPp to
stall while looking up host names). This example connects to the value
specified in the [next_url] keyword.
<nop>
<action>
<assignstr assign_to="url" value="[next_url]" />
<ereg
regexp="sip:.*@([0-9A-Za-z\.]+):([0-9]+);transport=([A-Z]+)"
search_in="var" check_it="true" assign_to="dummy,host,port,transport"
variable="url" />
<setdest host="[$host]" port="[$port]" protocol="[$transport]"
/>
</action>
</nop>
-----Original Message-----
From: Charles P Wright [mailto:[email protected]]
Sent: 07 April 2009 12:29
To: hui cheng
Cc: [email protected]
Subject: Re: [Sipp-users] How can i config SIPp send response through
VIAheader?
You can use regular expression matching and the setdest action.
Charles
hui cheng <[email protected]>
04/07/2009 04:58 AM
To
[email protected]
cc
Subject
[Sipp-users] How can i config SIPp send response through VIA header?
hi all
How cant set SIPp send response through the ipaddress get from the
first VIA header?
I guess SIPp send on ther same socket which request sends into.
In some situation , it will have some impact.
Thanks!!!!
------------------------------------------------------------------------
------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
------------------------------------------------------------------------
------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users