Search This Blog

Sunday 9 March 2014

Register.XML UAS as Server Mode

Register.XML UAS as Server Mode


<?xml version="1.0" encoding="ISO-8859-1" ?>

<scenario name="Register UAS">
<recv request="REGISTER" />
<send><![CDATA[
      SIP/2.0 401 Authorization Required
      [last_Via:]
      [last_From:]
      [last_To:];tag=[pid]SIPpTag01[call_number]
      [last_Call-ID:]
      [last_CSeq:]
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      WWW-Authenticate: Digest realm="test.example.com", nonce="47ebe028cda119c35d4877b383027d28da013815"
      Content-Length: [len]

    ]]>
  </send>
  <recv request="REGISTER" />
  </recv>
  <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: 136
    ]]>
  </send>



No comments:

Post a Comment

REST API

  API  is an application programming interface. It is a set of rules that allow programs to talk to each other. The developer creates the AP...