Hi All,

I'm trying to run following script scenario for PUBLISH with credentials.
I'm receiving invalid key word *[authentication username=1111@
[local_ip]:[local_port]

*Can anyone help on same?

Thanks in advnace

Sudhir

<send>
    <![CDATA[

      PUBLISH sip:[EMAIL PROTECTED] SIP/2.0
      Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]
      From: 1111 <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>
      Call-ID: [call_id]
      CSeq: 1 PUBLISH
      Max-Forwards: 70
      Expires: 3600
      Event: presence
      Content-Type: application/pidf+xml
       Content-Length:[len]

      <?xml version="1.0" encoding="UTF-8"?>
      <presence xmlns="urn:ietf:params:xml:ns:cpim-pidf"

entity="pres:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
">
         <tuple id="mobile-phone">
            <status>
               <basic>closed</basic>
            </status>
            <timestamp>2003-02-01T17:00:19Z</timestamp>
         </tuple>
      </presence>


    ]]>
  </send>

<recv response="401"  crlf="true">
  </recv>

  <send>
    <![CDATA[

      ACK sip:[EMAIL PROTECTED] SIP/2.0
      [last_Via]
      [last_From]
      [last_To]
      [last_Call-ID]
      CSeq: 1 ACK
    ]]>
  </send>

    <send>
    <![CDATA[

      PUBLISH sip:[EMAIL PROTECTED] SIP/2.0
      Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]
      From: 1111 <sip:[EMAIL PROTECTED]:[local_port]>;tag=[call_number]
      To: sut <sip:[EMAIL PROTECTED]:[remote_port]>
      Call-ID: [call_id]
      CSeq: 2 PUBLISH
      Max-Forwards: 70
      Expires: 3600
      Event: presence
      Content-Type: application/pidf+xml
      *[authentication [EMAIL PROTECTED]:[local_port]*
      Content-Length:[len]

      <?xml version="1.0" encoding="UTF-8"?>
      <presence xmlns="urn:ietf:params:xml:ns:cpim-pidf"

entity="pres:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
">
         <tuple id="mobile-phone">
            <status>
               <basic>closed</basic>
            </status>
            <timestamp>2003-02-01T17:00:19Z</timestamp>
         </tuple>
      </presence>


    ]]>
  </send>

  <recv response="200" crlf="true">
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to