>From previous response take the To header and assign it to the variable
1

>From previous message take the From header and assign it to variable 2

>From previous message take the Contact header value using
"sip:[^;>]+" regexp and assign to variable 3

For Call-ID header field use [last_Call-ID:]

 

While building BYE request at UAS side: BYE sip:[$3] SIP/2.0

                                                            From:[$1]

                                                            To:[$2]

 
[last_Call-ID:]

                                                             Via:
SIP/2.0/[transport] [local_ip]:local_port];branch=[branch]

                                                             CSeq: 100
BYE

 
Max-Forwards: 70

Regards,

Evgeny Miloslavsky

Systest Engineer

Juniper Networks Solutions Israel LTD.

Office: 972-9-9717320/2355

________________________________

From: Le Van Tu [mailto:[email protected]] 
Sent: Tuesday, January 27, 2009 7:12 PM
To: Steve Bond
Cc: [email protected]
Subject: Re: [Sipp-users] Send BYE with UAS

 

I have the same case as yours and this is BYE message my UAS send back.
You can refer to it and check your xml file.

Variables 15,16,17,18 I got from previous message. 

12, 13 is FROM and TO recevied from last ACK message. 


<send retrans="500">
<![CDATA[
      BYE
sip:[$15];phone-context=[$...@[$18];transport=tcp;user=phone;maddr=[$17]
SIP/2.0
      Via: SIP/2.0/UDP [$11]:[local_port];branch=[branch]
      [last_Call-ID:]
      CSeq: [cseq] BYE
      From:[$13]
      Privacy: none
      Supported: timer
      To:[$12]
      Max-Forwards: 70
      User-Agent: XXXXX
      Content-Length: 0
  ]]>
</send>

Regards,
------------
Tu

2009/1/27 Steve Bond <[email protected]>

Hi all,

 

I have a specific need to send the BYE from the UAS side.

After multiple attempts I am still getting a 481 Call/Transaction does
not exist.

 

Can anyone tell me how to get the correct call id in the bye from the
UAS side?

 

Many Thanks,

 

Steve


------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to