<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><?xml version="1.0" encoding="ISO-8859-1" ?><br><!DOCTYPE scenario SYSTEM "sipp.dtd"><br><br><scenario name="registration"><br><br><send retrans="500"><br>
<![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: "[field0]" <sip:[field0]@[local_ip]:[local_port]>;tag=[call_number]<br>
To: "[field0]" <sip:[field0]@[remote_ip]:[remote_port]><br>Call-ID: reg///[call_id]<br>CSeq: 1 REGISTER<br>Contact: <sip:[field0]@[local_ip]:[local_port]><br>Expires: 3600<br>Content-Length: 0<br>User-Agent: Sipp v1.1-TLS, version 20061124<br>
Supported: path<br>]]><br></send><br><br><recv response="401" auth="true" rtd="true"><br></recv><br><br><send retrans="500"><br><![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: "[field0]" <sip:[field0]@[local_ip]>;tag=[call_number]<br>To: "[field0]" <sip:[field0]@[remote_ip]><br>
Call-ID: reg///[call_id]<br>CSeq: 2 REGISTER<br>Contact: <sip:[field0]@[local_ip]:[local_port]><br>Expires: 3600<br>Content-Length: 0<br>User-Agent: Sipp v1.1-TLS, version 20061124<br>Authorization: Digest username="bob", realm="asterisk"<br>
Supported: path<br>]]><br></send><br><br><recv response="200" auth="true" rtd="true" ><br></recv><br><br><ResponseTimeRepartition value="10, 20"/><br><CallLengthRepartition value="10"/><br>
<br></scenario><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>