Hi,
I have to study SIP protocol and first of all i’d like to understand SIPPhone registration.
If i read SIP documentation, registration look like :
softphone -----> Registar : Request: REGISTER sip:mrim.edu
Registar -----> softphone : Status: 200 OK (1 Binding)
But, When I capture traffic with ethereal between X-Liste SoftPhone and Asterisk I got :
1 - softphone -----> Registar : Request: REGISTER sip:mrim.edu
2 - Registar -----> softphone : Status: 100 Trying (1 binding)
3 - Registar -----> softphone : Status: 401 Unauthorized (1 binding)
4 - softphone -----> Registar : Request: REGISTER sip:mrim.edu
5 - Registar -----> softphone : Status: 100 Trying (1 binding)
6 - Registar -----> softphone : Request: OPTIONS sip:102@192.168.0.4:8012;
7 - Registar -----> softphone : Status: 200 OK (1 Binding)
8 - softphone -----> Registar : Status: 200 OK
9 - softphone -----> Registar : Request: SUBSCRIBE sip:102@mrim.edu
10 - Registar -----> softphone : Status: 401 Unauthorized
11 - softphone -----> Registar : Request: SUBSCRIBE sip:102@mrim.edu
12 - Registar -----> softphone : Status: 489 Bad Event
Softphone : 192.168.0.4
Registar Asterisk 192.168.0.6
We effectively find REGISTER (Number 4) and OK (Numbre 7) but what about the othe packets ?
Thanks a lot for your answers.