[SR-Users] Table location, methods field
Henning Westerholt
henning.westerholt at 1und1.de
Thu Jun 30 14:36:42 CEST 2011
On Thursday 30 June 2011, Andrew O. Zhukov wrote:
> Sorry,
>
> You change it ...
>
> enum request_method {
> METHOD_UNDEF=0, /* 0 - --- */
> METHOD_INVITE=1, /* 1 - 2^0 */
> METHOD_CANCEL=2, /* 2 - 2^1 */
> METHOD_ACK=4, /* 3 - 2^2 */
> METHOD_BYE=8, /* 4 - 2^3 */
> METHOD_INFO=16, /* 5 - 2^4 */
> METHOD_OPTIONS=32, /* 6 - 2^5 */
> METHOD_UPDATE=64, /* 7 - 2^6 */
> METHOD_REGISTER=128, /* 8 - 2^7 */
> METHOD_MESSAGE=256, /* 9 - 2^8 */
> METHOD_SUBSCRIBE=512, /* 10 - 2^9 */
> METHOD_NOTIFY=1024, /* 11 - 2^10 */
> METHOD_PRACK=2048, /* 12 - 2^11 */
> METHOD_REFER=4096, /* 13 - 2^12 */
> METHOD_PUBLISH=8192, /* 14 - 2^13 */
> METHOD_OTHER=16384 /* 15 - 2^14 */
> };
Hi Andrew,
the docs are a bit misleading, i'll have a look and probably remove the
initial number. The 2^n values are the correct ones.
Best regards,
Henning
More information about the sr-users
mailing list