[Serusers] question regarding sip protocol

Andres andres at telesip.net
Wed Oct 21 16:44:58 CEST 2009


> I tried to do some research on this but could not find anything 
> useful.    Does this response of a 404 matter?    How can you fix 
> this?   I have read that the client does this as an application level 
> ping to make sure the proxy is up.
>
Its more likely that your phone is doing this 'ping' to keep a NAT 
binding alive.  If your phone is not behind NAT then you can disable 
this 'ping'.  The 404 response does not matter, it is normal and you can 
even fix the ser.cfg to return a better looking response.  For example 
the ser.cfg code we use to handle this is:
------------------------------------------------------------
###############################################
### Answer Options/Notify Messages         ####
###############################################
                      if (method == "NOTIFY"){
                         if (search("keep-alive")) {
                            sl_send_reply("200", "OK");
                            break;
                         };
                      };
-----------------------------------------------------------
That way we get a '200 OK' instead of a '404'.  You can change NOTIFY to 
OPTIONS in the first line if that is your case.

Andres
http://www.neuroredes.com

>  
>
> If I have 100s of people registering that is a lot of extra traffic.   
> Is there a way to stop this options query or have the proxy respond 
> properly?
>
>  
>
> Thanks
>
>  
>
> *Michael *
>
> Network Services Engineer
>
>  
>
>
> ------------------------------------------------------------------------
> DISCLAIMER: This e-mail may contain information that is confidential, 
> privileged or otherwise protected from disclosure. If you are not an 
> intended recipient of this e-mail, do not duplicate or redistribute it 
> by any means. Please delete it and any attachments and notify the 
> sender that you have received it in error. Unintended recipients are 
> prohibited from taking action on the basis of information in this 
> e-mail.E-mail messages may contain computer viruses or other defects, 
> may not be accurately replicated on other systems, or may be 
> intercepted, deleted or interfered with without the knowledge of the 
> sender or the intended recipient. If you are not comfortable with the 
> risks associated with e-mail messages, you may decide not to use 
> e-mail to communicate with IPC. IPC reserves the right, to the extent 
> and under circumstances permitted by applicable law, to retain, 
> monitor and intercept e-mail messages to and from its systems.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>



More information about the Serusers mailing list