Hi,

>application from the task manager how can my server find out that the
>phone is no longer connected to the server???
You can't thats why there is Expire time specified in contact header.

>My question here is how do I know if a request is a REGISTER request or
>a DEREGISTER request.
For deregister you always must pass expires parameter = 0; 



Shrikant Khadilkar wrote:
> Hi,
>
>  
>
> I am implementing a solution based on SIP. I am using X-lite version
> 3.0. I have done the registration part. 
>
> I have a few questions about the registration part
>
>  
>
> 1.                  When I start the Sip phone it registers on my server
> and my server sends back a 200 response. Now If I kill the SIPPhone
> application from the task manager how can my server find out that the
> phone is no longer connected to the server???
>
>  
>
> 2.                  Also when I deregister my phone sends the same
> REGISTER request to the server. Currently I am deregistering the phone
> if the phone is already registered and there is an entry in my database.
> My question here is how do I know if a request is a REGISTER request or
> a DEREGISTER request.
>
>  
>
>  
>
> Have a nice day.
>
> Thanks
>
> Best Regards,
>
> Shrikant
>
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
> for the use of the addressee(s). If you are not the intended recipient, 
> please notify the sender by e-mail and delete the original message. Further, 
> you are not to copy, disclose, or distribute this e-mail or its contents to 
> any other person and any such actions are unlawful. This e-mail may contain 
> viruses. Infosys has taken every reasonable precaution to minimize this risk, 
> but is not liable for any damage you may sustain as a result of any virus in 
> this e-mail. You should carry out your own virus checks before opening the 
> e-mail or attachment. Infosys reserves the right to monitor and review the 
> content of all messages sent to or from this e-mail address. Messages sent to 
> or from this e-mail address may be stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>   

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to