Not sure if this will work, but try to include an UPDATE case in this if of
the function call::process_incoming() of call.cpp file and see what happens!
#ifdef PCAPPLAY
/* In case of INVITE or re-INVITE, ACK or PRACK
get the media info if needed (= we got a pcap
play action) */
if ((strncmp(request, "INVITE", 6) == 0)
|| (strncmp(request, "ACK", 3) == 0)
|| (strncmp(request, "PRACK", 5) == 0)
&& (hasMedia == 1))
get_remote_media_addr(msg);
#endif
On Thu, Oct 27, 2011 at 10:47 AM, Greg Horton <greg.hor...@dialogic.com>wrote:
> Hi Edwin,
>
> I am new to the PCAPPLAY stuff but have been working on it a bit lately. I
> think that there is still a bit of a disconnect between the standard SIPp
> practices of SDP management and the handling of the .pcap file that is
> played out. In your case, I think that in your script you begin the process
> of playing the .pcap file before the UPDATE, and the .pcap play process
> (that is being handled in send_packets.c I think) cannot be interrupted and
> updated with new information. All of the packets in the .pcap file have
> already been prepared to play (in prepare_pcap.c I believe), based on
> initial 183 information.
>
> I am not sure if there is a way to alter the SIPp code base to jump into
> send_packets and alter the destination port while a .pcap file is playing.
>
> Hope this helps.
>
> Greg Horton
> Dialogic Research Inc.
>
> -----Original Message-----
> From: Edwin Medina [mailto:wain...@yahoo.com]
> Sent: Wednesday, October 26, 2011 9:19 PM
> To: sipp-users@lists.sourceforge.net
> Subject: [Sipp-users] SIPp3.2: play_pcap_audio does not send RTP traffic to
> updated media ip address
>
> All,
>
> I'm using SIPp to generate traffic with RTP packets, but I'm getting the
> following problem. The play_pcap_audio function is not sending
> RTP traffic to the new media ip address received in the UPDATE message. Is
> there a fix or a workaround for this problem?
>
> SIPp SUT
> | -------------- Invite (SDP) -------->|
> |<------------ 100 Trying ----------- |
> |<-------- 183 (SPD media1) ----- |
> |---------------- Prack ---------------->|
> |<--------------- 200 OK ---------------|
> | RTP between SIPp | //play_pcap_audio
> | and media1 |
> |<---- Update (SDP media2) -------|
> |-------------- 200 OK SDP --------->|
> ....
>
> |----------------- ACK ----------------->|
> | SIPp send RTP to media1 | //play_pcap_audio
> | instead of media2 |
>
>
> Edwin
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users