[Sipp-users] How can i config SIPp send response through VIA header?

2009-04-07 Thread hui cheng
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
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] How can i config SIPp send response through VIA header?

2009-04-07 Thread Charles P Wright
You can use regular expression matching and the setdest action.

Charles




hui cheng avantasia2...@gmail.com 
04/07/2009 04:58 AM

To
sipp-users@lists.sourceforge.net
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
Sipp-users@lists.sourceforge.net
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
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] How can i config SIPp send response through VIAheader?

2009-04-07 Thread Kirwan, David (David)
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:cpwri...@us.ibm.com] 
Sent: 07 April 2009 12:29
To: hui cheng
Cc: sipp-users@lists.sourceforge.net
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 avantasia2...@gmail.com
04/07/2009 04:58 AM

To
sipp-users@lists.sourceforge.net
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
Sipp-users@lists.sourceforge.net
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
Sipp-users@lists.sourceforge.net
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
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users