When I need to do something like this, what I do is set sipp2 to have 2 scripts both using the same IP and port.<br><br>One sends the register and deals with authentication \ OK.<br>The other is then run after this to wait and receive the incoming call.<br>
<br>So you would run them like<br><br>sipp2_register                   - Performs registration and ends<br>sipp2_receiveCall              - Waits for incoming call, while listening on same IP \ Port as sipp2_register<br>sipp1_makeCall                - Makes outgoing call <br>
<br><br>A sample register scenario is<br><br><br>&lt;scenario name=&quot;Register&quot;&gt;<br>  &lt;send start_rtd=&quot;1&quot; retrans=&quot;500&quot;&gt;<br>    &lt;![CDATA[<br><br>      REGISTER sip:[remote_ip]:[remote_port] SIP/2.0<br>
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]1;rport<br>      Max-Forwards: 70<br>      To: TestUser1 &lt;sip:user@[remote_ip]:[remote_port]&gt;<br>      From: TestUser1 &lt;sip:user@[remote_ip]:[remote_port]&gt;;tag=[pid][call_number]<br>
      Call-ID: [call_id]<br>      CSeq: 1 REGISTER<br>      Contact: &lt;sip:user@[local_ip]:[local_port]&gt;<br>      Expires: 240<br>      User-Agent: SIPp<br>      Content-Length: 0<br><br>    ]]&gt;<br>  &lt;/send&gt;<br>
<br>  &lt;recv response=&quot;401&quot; rtd=&quot;1&quot; auth=&quot;true&quot;&gt;<br>  &lt;/recv&gt;<br><br>  &lt;send start_rtd=&quot;2&quot; retrans=&quot;500&quot;&gt;<br>    &lt;![CDATA[<br><br>      REGISTER sip:[remote_ip]:[remote_port] SIP/2.0<br>
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]2;rport<br>      Max-Forwards: 70<br>      To: TestUser1 &lt;sip:user@[remote_ip]:[remote_port]&gt;<br>      From: TestUser1 &lt;sip:user@[remote_ip]:[remote_port]&gt;;tag=[pid][call_number]<br>
      Call-ID: [call_id]<br>      CSeq: 2 REGISTER<br>      Contact: &lt;sip:user@[local_ip]:[local_port]&gt;<br>      Expires: 240<br>      User-Agent: SIPp<br>      [authentication username=user password=pass]<br>      Content-Length: 0<br>
<br>    ]]&gt;<br>  &lt;/send&gt;<br><br>  &lt;recv response=&quot;200&quot; rtd=&quot;2&quot;&gt;<br>  &lt;/recv&gt;<br><br>  &lt;ResponseTimeRepartition value=&quot;10, 20, 30, 40, 50, 100, 250, 500&quot;/&gt;<br><br>&lt;/scenario&gt;<br>
<br><br><br><br><br><br><div class="gmail_quote">2009/3/26 Jonas Gauffin <span dir="ltr">&lt;<a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<div><br></div><div>I want to achive this: Sipp1 -&gt; FS -&gt; Sipp2</div><div><br></div><div>Sipp1 emulates a inbound calls (easy to achive)</div><div>Sipp2 should emulate a registered user (i.e. register with FS and then just wait for calls and hangup when sipp1 hangsup)</div>

<div><br></div><div>How do I configure sipp as &quot;Sipp2&quot;?</div><div><br></div><div>Thanks,</div><div>  Jonas</div><div></div><div></div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>