Hello members,
  This is my very first post in this forum.  1 month experience in SIPp.  
Dealing with a Conference Call Scenario with multiple INVITEs (legs).  I need 
to send a BYE at the end to kill the very first Conf INVITE call leg.  To do 
this I must save the peer_tag_param into a string variable and later, stick it 
at the end of the To: header of the BYE.  I coded the following assignstr 
function to store the peer_tag_param from the response for Conf INVITE call leg 
into a variable "3".  My problem is that I can't seem to echo this variable "3" 
nor can I stick the "3" into the BYE.  The stringstr assignment is NOT BEING 
MADE.  Or I'm not using var variable correctly.
   
   
  <nop>
       <action>
           <assignstr assign_to="3" value="[peer_tag_param]"/>
  <exec command="echo variable=[3]"/>                ç=resulted in: unsupported 
keywork 3
  <exec command="echo variable=[$3]"/>              <=resulted in: variable=
  <exec command="echo variable=better work"/>     çresulted in: variable=better 
work
  </action>
  </nop>
   
   
  Here's my Sent BYE segment: 
   
  <send retrans="500">
    <![CDATA[
        BYE [EMAIL PROTECTED] SIP/2.0
     Via: SIP/2.0/[transport] 
[local_ip]:[local_port];branch=ap[branch];received=166.34.101.40
      From: <sip:[EMAIL PROTECTED]:[local_port]>;tag=[pid]SIPpTag00[call_number]
      To: <sip:[EMAIL PROTECTED]:[remote_port]>****** WHAT TO PUT HERE 
[$3]??********
      Call-ID: [call_id]
      CSeq: [cseq] BYE
      User-agent: CS2000/NGSS/7.0
      Reason: Q.850; cause=16; text="Normal call clearing"
      Max-Forwards: 69
      Contact: sip:[EMAIL PROTECTED]:[local_port]
      Require: 100rel,replaces
      Allow: ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY, PRACK
      [routes]
      Content-Length: 0
      ]]>
  </send>

  Seems so simple but have been killing me for over a week.  Please help.
   
  -Andrew
   

       
---------------------------------
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to