Hi Marcin,
there was almost the same question from another colleague on 9.11.2015.
If I get it right, there is no support of SRV records, but I don't think
it is necessary as you can get the list of remote peers and their
preferred shares of the total load by asking the DNS once manually and
translating the list from the answer into an injection file to get the
same behaviour as if a real SIP UAC would use SRV query.
Example:
SRV response contains 3 results:
10.10.10.1, 5060, 5
10.10.10.2, 5062, 3
10.10.10.3, 5064, 1
You translate this into an injection file of 9 lines (5+3+1):
RANDOM
#IP,port
10.10.10.1, 5060
10.10.10.1, 5060
10.10.10.1, 5060
10.10.10.1, 5060
10.10.10.1, 5060
10.10.10.2, 5062
10.10.10.2, 5062
10.10.10.2, 5062
10.10.10.3, 5064
In your UAC scenario, you'll use
<nop>
<action>
<setdest host="[field0]" port="[field1]" protocol="[$transport]" />
</action>
</nop>
before sending the initial INVITE of the call.
Pavel
Dne 4.12.2015 v 10:18 IPvoice Marcin Muzylo napsal(a):
> Hi,
>
> How i can use DNS SRV domain as target of test ? Does SIPP can work
> with SRV records ?
> I need to test global platform using domain with SRV records so at each
> run in scenario SIPP need to resolve domain address properly.
>
> Thanks for any info.
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users