[asterisk-dev] [svn-commits] mmichelson: trunk r187560 - in /trunk: channels/ configs/

Mark Michelson mmichelson at digium.com
Fri Apr 10 09:18:56 CDT 2009


Klaus Darilion wrote:
> 
> Olle E. Johansson schrieb:
>> 9 apr 2009 kl. 23.06 skrev SVN commits to the Digium repositories:
>>
>>> Author: mmichelson
>>> Date: Thu Apr  9 16:06:26 2009
>>> New Revision: 187560
>>>
>>> URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=187560
>>> Log:
>>> Add a new option, mwi_from, to sip.conf.
>>>
>>> This allows for you to change the From header for outgoing MWI
>>> NOTIFY requests. Prior to this, the best you could do was to
>>> set a callerid in the general section of sip.conf. The problem
>>> was that this was used for all outbound requests, not just
>>> MWI NOTIFY requests.
>> Since we already have the vmexten= option I suggest that you use this  
>> as the default value (if set)
>> and rename this option vmfrom= to make it a bit more logical. A tiny  
>> bit, but nevertheless.
> 
> 
> Shouldn't the "From" be the "To" of the corresponding SUBSCRIBE?
> 
> regards
> klaus

MWI is one of those weird cases where for quite a lot of users, there is no 
corresponding SUBSCRIBE transaction. Asterisk is configured to just send NOTIFYs 
to the phone.

However, I believe it would be pretty trivial to add the ability to store the 
To: header information from a SUBSCRIBE and use that by default if no overriding 
option is set in sip.conf.

Mark Michelson



More information about the asterisk-dev mailing list