Hi 

If I understood your question properly so there are severalutions:

1)       At <recv request="Invite"> ad an action which will save needed
part of From header field into the variable and then work with this
variable while sending the response

2)       I if you know the From header field value at response to be
sent you can take it from external csv file

3)       Instead of [Last_From] use From: Value_You_Need

 

 

Regards,

 

Evgeny Miloslavsky

Systest Engineer

Juniper Networks Solutions Israel LTD.

Office: 972-9-9712355 / 7320

<http://www.juniper.net/>  

________________________________

From: Jitendra Kumar Sabat [mailto:[email protected]] 
Sent: Wednesday, December 17, 2008 12:31 PM
To: [email protected]
Subject: [Sipp-users] Sending Respone without username in FROM header

 

 

Hello, 
I am trying a testing scenario which requires sending a request/response
with out user-name in From Header. 

I am able to send a request without user-name in From Header. But, I
have no clue about the other. 

Does anyone know if it is possible to send a response (180-Ringing,
200-OK) without user-name in the From header ? 

My script is something like this. 

<send> 
    <![CDATA[ 

      SIP/2.0 180 Ringing 
      [last_Via:] 
      [last_From:] 
      [last_To:];tag=[call_number] 
      [last_Call-ID:] 
      [last_CSeq:] 
      Contact: <sip:[local_ip]:[local_port];transport=[transport]> 
      Content-Length: 0 

    ]]> 
  </send> 

  <send retrans="500"> 
    <![CDATA[ 

      SIP/2.0 200 OK 
      [last_Via:] 
      [last_From:] 
      [last_To:];tag=[call_number] 
      [last_Call-ID:] 
      [last_CSeq:] 
      Contact: <sip:[local_ip]:[local_port];transport=[transport]> 
      Content-Type: application/sdp 
      Content-Length: [len] 

      v=0 
      o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] 
      s=- 
      c=IN IP[media_ip_type] [media_ip] 
      t=0 0 
      m=audio [media_port] RTP/AVP 0 
      a=rtpmap:0 PCMU/8000 

Thanks 
--Jitendra 

 

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to