Hi, 
 
I would like to write a 3pcc scenario where we use a UA to call SIPp,
and 3pcc to then call a media server. So, this is very close to the
standard 3pcc scenario, except it reads (plain text might be reqd here):

 
<!--
-->
<!--             A              Controller               B
-->
<!--             |(1) INVITE no SDP  |                   |
-->
<!--             |==================>|                   |
-->
<!--             |                   |(2) INVITE offer1  |
-->
<!--             |                   |==================>|
-->
<!--             |                   |(3) 200 OK answer1 |
-->
<!--             |                   |<==================|
-->
<!--             |(4) 200 offer1     |                   |
-->
<!--             |<==================|                   |
-->
<!--             |(5) ACK answer1    |                   |
-->
<!--             |==================>|                   |
-->
<!--             |                   |(6) ACK            |
-->
<!--             |                   |==================>|
-->
<!--             |(7) RTP            |                   |
-->
<!--             |.......................................|
-->
<!--
-->
<!--
-->

 
In effect, this is two servers: one to receive the initial INVITE from
the UAC, and the second to to receive the <recvCmd> from this. 

The script actually works so long as I give both sipp instances an IP
address. However, I would prefer to not to give the Controller (A-Side)
an IP address, and instead accept any IP address on this side, in the
same manner as a server. When I run this, however, I get the following
error 
"Missing remote host parameter. This scenario requires it."

The MSD of the scenario is as follows:  


                                 Messages  Retrans   Timeout
Unexpected-Msg
      INVITE <----------         0         0         0         0

        [ Sent Command ]         0
         100 ---------->         0         0
    [ Received Command ]         0
         200 ---------->         0         0         0
         ACK <----------  E-RTD1 0         0         0         0

        [ Sent Command ]         0
         BYE <----------         0         0         0         0
        [ Sent Command ]         0
         200 ---------->         0         0
------------------ 3PCC Mode - Controller A side (passive)
--------------------


So, we are not in the server mode. Looking at the code, in sipp (3.0)
lines 4422 on:


if(!strlen(remote_host)) {
    if((toolMode != MODE_SERVER)) {
      ERROR("Missing remote host parameter. This scenario requires it");
    }
  } else { .... 

So, it would appear that the reason this happens is that sipp can only
run in server mode while in server mode, and cannot mix server and 3pcc
mode. 

My questions are: 
 1 - Is this intentional and just a limitation of SIPp, or have I missed
something? 
 

Many thanks for reading and any responses in advance,
James



------
Dr. James Noonan,
SQA Engineer, Avaya
Phone: +353 1 6567853
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to