Hello,

 

I found the option '-aa' which helps me with the INFO issue. However, I have a 
similar problem with arbitrary number of periodic re-INVITEs (they also arrive 
during <pause>) where I would like a similar approach (preferably with a 
customized response, instead of the built-in one). The '-aa' option covers only 
INFO, UPDATE and NOTIFY... 

 

I think that I could use the '-nd' option but I need to respond to the 
re-INVITEs instead of ignoring them completely, otherwise the SUT closes the 
call.

 

 

Thanks

Marek

 

________________________________

De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Shimara, Marek 
(Altran)
Envoyé : mercredi 20 juin 2007 14:13
À : sipp-users@lists.sourceforge.net
Objet : [Sipp-users] SIP INFO (vfu) after re-INVITE

 

Hello,

 

I use latest "SIPp v2.0-PCAP, version 20070619, built Jun 20 2007, 13:31:07."

 

I have this scenario (based on UAC):

 

                                 Messages  Retrans   Timeout   Unexpected-Msg

      INVITE ---------->         1         0         0                  

         100 <----------         0         0         0         0        

         180 <----------         0         0         0         0        

         200 <----------  E-RTD1 1         0         0         0        

         ACK ---------->         1         0                            

              [ NOP ]              

              [ NOP ]              

        INFO <----------         1         0                   0        

         200 ---------->         1         0                            

       Pause [   4000ms]         1                             0        

              [ NOP ]              

      INVITE <----------         1         0                   0        

         200 ---------->         1         0                            

         ACK <----------         1         0                   0        

        INFO <----------         1         0                   0        

         200 ---------->         1         0                            

       Pause [     1:00]         1                             1        

         BYE ---------->         0         0         0                  

         200 <----------         0         0         0         0        

 

After the INVITE which comes from the SUT I respond with 200 OK and then after 
the ACK, INFO and 200 OK, I would like to pause (there is PCAP play which was 
started after the first ACK, still going on during that period). However, after 
reaching the <pause>, the call is aborted with

 

2007-06-20      13:42:31:922    1182339751.922596: Aborting call on unexpected 
message for Call-ID '[EMAIL PROTECTED]': while expecting '0' response, received 
'INFO sip:[EMAIL PROTECTED]:5062 SIP/2.0

Via: SIP/2.0/UDP 
16.16.93.224:5060;branch=z9hG4bKaba7c1836e027a2fab45fae5ab123fe700000106.1

From: sut <sip:[EMAIL 
PROTECTED]:5060>;tag=a3e7c024fe279bb02d720bfd3d8f831739dd4fd2

To: "sipp_user19540251867482" <sip:[EMAIL PROTECTED]:5062>;tag=1

Call-ID: [EMAIL PROTECTED]

CSeq: 4 INFO

Content-Type: application/media_control+xml

Content-Length:        169

Max-Forwards: 70

 

<?xml version="1.0" encoding="utf-8" 
?><media_control><vc_primitive><to_encoder><picture_fast_update></picture_fast_update></to_encoder></vc_primitive></media_control>

 

I tried to add an optional="true" into the <recv INFO> :

 

      ...

...

      <recv request="INFO" optional="true">

        <action>

            <assign assign_to="1" value="1" />

        </action>

      </recv>

      

      <send test="1">

        <![CDATA[

    

          SIP/2.0 200 OK

          [last_Via:]

          [last_From:]

          [last_To:];tag=[call_number]

          [last_Call-ID:]

          [last_CSeq:]

          Content-Length: 0

    

        ]]>

      </send>

 

      <pause milliseconds="60000"/>

      ...

      ...

 

 

But then SIPP never sends the "200 OK" response - it stays at

 

                                 Messages  Retrans   Timeout   Unexpected-Msg

      INVITE ---------->         1         0         0                  

         100 <----------         0         0         0         0        

         180 <----------         0         0         0         0        

         200 <----------  E-RTD1 1         0         0         0        

         ACK ---------->         1         0                            

              [ NOP ]              

              [ NOP ]              

        INFO <----------         1         0                   0        

         200 ---------->         1         0                            

       Pause [   4000ms]         1                             0        

              [ NOP ]              

      INVITE <----------         1         0                   0        

         200 ---------->         1         0                            

         ACK <----------         1         0                   0        

        INFO <----------         13        0                   0        

         200 ---------->         0         0                            

       Pause [     1:00]         0                             0        

         BYE ---------->         0         0         0                  

         200 <----------         0         0         0         0        

 

 

receiving all the INFO messages, and never reaches the end of the scenario. 

 

I would like either to automatically respond to every INFO with 200 OK, or to 
simply ignore them all (at some point in the scenario). Is this possible?

 

 

Thanks

Marek

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to