[asterisk-dev] [Code Review] MWI Message-Account URI does not contain port/transport
David Vossel
dvossel at digium.com
Mon Jun 22 17:46:48 CDT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/288/
-----------------------------------------------------------
Review request for Asterisk Developers.
Summary
-------
The Message-Account field in a SIP MWI NOTIFY message is used to identify the account the MWI is for. With some endpoints (SNOM Phones in particular) this field apparently needs to be a reachable URI. This patch adds the port number and transport type fields to the URI so non-standard ports/transports can be reached correctly.
I looked through RFC-3842 and did not see any evidence of Message-Account being used for anything other than account identification. Even though it may be unnecessary in most cases, I don't see how adding the port and transport fields to the URI could cause any problems.
RFC-3842
" If the Request-URI or To header in a message-summary subscription
corresponds to a group or collection of individual messaging
accounts, the notifier MUST specify to which account the message-
summary body corresponds. Note that the account URI MUST NOT be
delimited with angle brackets ("<" and ">").
Message-Account: sip:alice at example.com"
This addresses bug 14659.
https://issues.asterisk.org/view.php?id=14659
Diffs
-----
/trunk/channels/chan_sip.c 202357
Diff: http://reviewboard.digium.com/r/288/diff
Testing
-------
klaus3000 initially reported this and include a patch for 1.4 which I believe was tested with a SNOM phone. My patch is similar only it includes the transport type as well.
Thanks,
David
More information about the asterisk-dev
mailing list