1)       Remove ;tag=[call_number from [last_To]. This way you're
concatenating another tag

2)       CSeq: 1 UPDATE is wrong it should be higher than INVITE. That
is make it 3

 

Regards,

Evgeny Miloslavsky

Systest Engineer

Juniper Networks Solutions Israel LTD.

Office: 972-9-9712355

Office: 972-74-7170072

________________________________

From: DUAN John [mailto:john.d...@alcatel-lucent.com] 
Sent: Wednesday, October 28, 2009 1:37 PM
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] Sipp send UPDATE request

 

Hi,

 

Glad to know you guys.

I am using sipp to do my testing. Now I need sipp can send out UPDATE
(refresh request) as a UE after the call is established. I construct the
UPDATE like the following:

 

  <send retrans="500">

    <![CDATA[

 

      UPDATE sip:[field0][field1] SIP/2.0

      Via: SIP/2.0/UDP [field0]:5060;branch=z9hG4bK1489807744192936848

      [last_From:]

      [last_To:];tag=[call_number]

      [last_Call-ID:]

      CSeq: 1 UPDATE

      Contact: <sip:[local_ip]:[local_port];transport=[transport]>

      Content-Type: application/sdp

      Supported: timer

      Min-SE: 90

      Session-Expires: 1800;refresher=uac

      Allow:
INVITE,BYE,REGISTER,ACK,OPTIONS,CANCEL,MESSAGE,SUBSCRIBE,NOTIFY,INFO,REF
ER,UPDATE,PUBLISH

      Max-Forwards: 70

      User-Agent: SIPp/WinXP

      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

 

    ]]>

  </send>

 

But the system always says 

 

Wed Oct 28 11:32:38 2009 (1256729558.385804)

Parsing error occurred for SIP message apparently coming

from 2620:0:60:4001::1:47 to local server port 5060; discarding it.

Error information: Bad (malformed) header

 

I can not find the root cause. Anyone can help take a look at it, or
share your experience on UPDATE?

 

Thanks

 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to