Hi, just wanted to give you an update on this. The [peer_tag_param] did not work for me. The parsing solution did work! I made a mistake in the via-header. After fixing this SIPp recognizes the answer correctly.
-- Moritz On 02/27/2015 02:19 PM, Moritz Graf wrote: > Hi Folks, > > I am having issues inserting the correct to-tag in a ReInvite of a > Call, where I at first received a Invite. SIPp is talking to a > Softswitch, the scenario is the following (I simplified it a little): > > 1. sipp receives a INVITE (msg_1), > 2. responds with a 200 OK (msg_3) and > 3. recveives a ACK(msg_3). The Call is established. > 4. Now, I want sipp to send a ReINVITE (to put the opposite side on hold). > Problem here: How do I get the correct to-tag? UAS/ UAC changes in > this situation, so [last_to] doesn't work. > > At first, from the examples I thought it might be [peer_tag_param]. > But using this, the param doesn't get populated. > Google brought me this from 2007: > https://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg01007.html > I really tried, like suggested to take the assignment out of the > if()-Statement. But the result is, that the wrong tag is inserted. > SIPp takes the tag of the to-header of the first transaction. > > I also tried something else: The tag I need is from the > ACK(msg_3)-from-header and has to be inserted into the to:-header of > the ReInvite. So I tried the following: > <recv request="ACK" rrs="true"> > <action> > <ereg regexp="tag=[-0-9A-Za-z]*" > searchin="hdr" > header="From:" > assign_to="1" /> > </action> > </recv> > This actually works. The tag is inserted correctly and the softswitch > responds. Problem: SIPp does not recognise the answerpacket correctly > and throws ICMP messages, the test fails. > > Any suggestions? Is this even possible? > > thanks in advance, > moritz > > -- > > Moritz Graf > > G-FIT Gesellschaft für innovative Telekommunikationsdienste > mbH & Co. KG, Kommanditgesellschaft, Sitz Regensburg, > Registergericht Regensburg, HRA 7626; > Geschäftsführer: Dipl.Inf. (FH) Alfred Rauscher -- Moritz Graf G-FIT Gesellschaft für innovative Telekommunikationsdienste mbH & Co. KG, Kommanditgesellschaft, Sitz Regensburg, Registergericht Regensburg, HRA 7626; Geschäftsführer: Dipl.Inf. (FH) Alfred Rauscher
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users