[asterisk-users] What's the use of sip.conf's notifyringing ?

Mark Michelson mmichelson at digium.com
Wed Mar 4 09:58:42 CST 2009


Olivier wrote:
> Hello
> 
> With 1.4.23.1, I can't really see any difference between setting this 
> value to yes or no.
> Can you explain ?
> 
> Regards
> 

It seems that you're only going to see a difference if you are using a phone 
which subscribes to hints and uses the application/dialog-info+xml event package 
  (comments in the code suggest that SNOM phones use this method).

If notifyringing is set to yes (or if the option is not specified at all since 
"yes" is the default value) then when Asterisk sends a NOTIFY to a phone, it 
will set the information enclosed in the <state> XML tag to "ringing" instead of 
"confirmed" if a phone is ringing. Also, Asterisk will place a direction 
attribute inside the <dialog> XML tag in this situation too.

The short version of this is that the "notifyringing" option will specify a 
"ringing" state in NOTIFY messages but only for certain types of phones.

Mark Michelson



More information about the asterisk-users mailing list