[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serusers
Subject:    Re: [SR-Users] Table location, methods field
From:       Henning Westerholt <henning.westerholt () 1und1 ! de>
Date:       2011-06-30 12:36:42
Message-ID: 201106301436.42942.henning.westerholt () 1und1 ! de
[Download RAW message or body]

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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic