<div dir="ltr">HI <br><div class="gmail_quote"><div dir="ltr">             I have used this xml file for registering a sipp client with asterisk i dont know whether it is correct or not.. could you please rectify and inform me where i did wrong.... <br>

<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;<br>&lt;!DOCTYPE scenario SYSTEM &quot;sipp.dtd&quot;&gt;<br><br>&lt;scenario name=&quot;registration&quot;&gt;<br><br>&lt;send retrans=&quot;500&quot;&gt;<br>

&lt;![CDATA[<br>REGISTER sip:[remote_ip]:[remote_port] SIP/2.0<br>Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]<br>Max-Forwards: 20<br>From: &quot;[field0]&quot; &lt;sip:[field0]@[local_ip]:[local_port]&gt;;tag=[call_number]<br>

To: &quot;[field0]&quot; &lt;sip:[field0]@[remote_ip]:[remote_port]&gt;<br>Call-ID: reg///[call_id]<br>CSeq: 1 REGISTER<br>Contact: &lt;sip:[field0]@[local_ip]:[local_port]&gt;<br>Expires: 3600<br>Content-Length: 0<br>User-Agent: Sipp v1.1-TLS, version 20061124<br>

Supported: path<br>]]&gt;<br>&lt;/send&gt;<br><br>&lt;recv response=&quot;401&quot; auth=&quot;true&quot; rtd=&quot;true&quot;&gt;<br>&lt;/recv&gt;<br><br>&lt;send retrans=&quot;500&quot;&gt;<br>&lt;![CDATA[<br>REGISTER sip:[remote_ip]:[remote_port] SIP/2.0<br>

Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]<br>Max-Forwards: 20<br>From: &quot;[field0]&quot; &lt;sip:[field0]@[local_ip]&gt;;tag=[call_number]<br>To: &quot;[field0]&quot; &lt;sip:[field0]@[remote_ip]&gt;<br>

Call-ID: reg///[call_id]<br>CSeq: 2 REGISTER<br>Contact: &lt;sip:[field0]@[local_ip]:[local_port]&gt;<br>Expires: 3600<br>Content-Length: 0<br>User-Agent: Sipp v1.1-TLS, version 20061124<br>Authorization: Digest username=&quot;bob&quot;, realm=&quot;asterisk&quot;<br>

Supported: path<br>]]&gt;<br>&lt;/send&gt;<br><br>&lt;recv response=&quot;200&quot; auth=&quot;true&quot; rtd=&quot;true&quot; &gt;<br>&lt;/recv&gt;<br><br>&lt;ResponseTimeRepartition value=&quot;10, 20&quot;/&gt;<br>&lt;CallLengthRepartition value=&quot;10&quot;/&gt;<br>

    <br>&lt;/scenario&gt;<br><br>in the wireshark trace i got the follwing traces like.......<br><br>210    1703.872509    127.0.0.1    127.0.0.1    SIP    Request: BYE <a href="mailto:sip%3Abob@127.0.0.1" target="_blank">sip:bob@127.0.0.1</a><br>

2    0.000337    127.0.0.1    127.0.0.1    SIP    Status: 401 Unauthorized    (0 bindings)<br>3    0.000642    127.0.0.1    127.0.0.1    SIP    Request: REGISTER sip:127.0.0.1<br>4    0.060737    127.0.0.1    127.0.0.1    SIP    Status: 200 OK    (1 bindings)<br>

<br>5    6.421330    127.0.0.1    127.0.0.1    SIP    Request: REGISTER sip:127.0.0.1<br>6    6.421604    127.0.0.1    127.0.0.1    SIP    Status: 401 Unauthorized    (0 bindings)<br>7    7.421080    127.0.0.1    127.0.0.1    SIP    Request: REGISTER sip:127.0.0.1<br>

8    7.421359    127.0.0.1    127.0.0.1    SIP    Status: 401 Unauthorized    (0 bindings)<br><br>9    8.421026    127.0.0.1    127.0.0.1    SIP    Request: REGISTER sip:127.0.0.1<br>10    10.076914    127.0.0.1    127.0.0.1    SIP    Status: 401 Unauthorized    (0 bindings)<br>

11    10.077348    127.0.0.1    127.0.0.1    SIP    Request: BYE <a href="mailto:sip%3Abob@127.0.0.1" target="_blank">sip:bob@127.0.0.1</a><br>12    10.077582    127.0.0.1    127.0.0.1    SIP    Status: 481 Call leg/transaction does not exist<br>

<br><br>can you please help me how can i over come this problem......<br><br><br><br>I am getting the error as <br><br>register------------------------10<br>401------------------------------10<br>register---------------------------10<br>
200ok-----------------------------------------------------------10 unexpected messages<br><br><br><br>BR<br>viswavardhan<br><br></div>
</div><br></div>