Quantcast

What does mean 'methods' in table location?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

What does mean 'methods' in table location?

Rodrigo Pimenta Carvalho

Hi.


In my table location (sqlite data base) I have the column 'methods'.

What does mean such column ?


In this table I have:


AOR:: 1
    Contact:: sip:1@192.168.0.85:50356;transport=TLS;rinstance=87cc2284712a216c Q=
        Expires:: 60
        Callid:: SYWM-mDwAojYlNfao6pTIQ..
        Cseq:: 6
        User-agent:: Zoiper rv2.8.15
        State:: CS_SYNC
        Flags:: 0
        Cflags::
        Socket:: tls:192.168.0.84:5061
        Methods:: 4294967295   <--------------------------------------------------
        Attr:: in_same_network


AOR:: 1000
    Contact:: sip:1000@192.168.0.85:41170;transport=TLS Q=
        Expires:: 374
        Callid:: 14e2707516170165935565k6650rmwp
        Cseq:: 10622
        User-agent:: MizuDroid/2.0.2
        State:: CS_SYNC
        Flags:: 0
        Cflags::
        Socket:: tls:192.168.0.84:5061
        Methods:: 8063    <--------------------------------------------------------
        Attr:: in_same_networ

What does means those different values of 'Methods' ?
By the way, what does mean that 'rinstance' for the AOR 1 ?


Right now, the contact 1000 can talk => rtp packets can be sent to and from it.
However, contact 1 can receive rtp packets, but not send. Can it has some relation to those values?

Any hint will be very helpful!

Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What does mean 'methods' in table location?

Bogdan-Andrei Iancu-2
Hi Rodrigo,

The "methods" is a bitmask of which methods are allowed by this registration (taken from the "Allow" header in the REGISTER). For the encoding, see:
    https://github.com/OpenSIPS/opensips/blob/master/parser/msg_parser.h#L68

Regards,
Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 04/06/2017 05:12 PM, Rodrigo Pimenta Carvalho wrote:

Hi.


In my table location (sqlite data base) I have the column 'methods'.

What does mean such column ?


In this table I have:


AOR:: 1
    Contact:: [hidden email] Q=
        Expires:: 60
        Callid:: SYWM-mDwAojYlNfao6pTIQ..
        Cseq:: 6
        User-agent:: Zoiper rv2.8.15
        State:: CS_SYNC
        Flags:: 0
        Cflags::
        Socket:: tls:192.168.0.84:5061
        Methods:: 4294967295   <--------------------------------------------------
        Attr:: in_same_network


AOR:: 1000
    Contact:: [hidden email] Q=
        Expires:: 374
        Callid:: 14e2707516170165935565k6650rmwp
        Cseq:: 10622
        User-agent:: MizuDroid/2.0.2
        State:: CS_SYNC
        Flags:: 0
        Cflags::
        Socket:: tls:192.168.0.84:5061
        Methods:: 8063    <--------------------------------------------------------
        Attr:: in_same_networ

What does means those different values of 'Methods' ?
By the way, what does mean that 'rinstance' for the AOR 1 ?


Right now, the contact 1000 can talk => rtp packets can be sent to and from it.
However, contact 1 can receive rtp packets, but not send. Can it has some relation to those values?

Any hint will be very helpful!

Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: What does mean 'methods' in table location?

Rodrigo Pimenta Carvalho

Hi Bogdan.


Thank you very much!


Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979



De: Users <[hidden email]> em nome de Bogdan-Andrei Iancu <[hidden email]>
Enviado: sexta-feira, 7 de abril de 2017 05:04
Para: OpenSIPS users mailling list
Assunto: Re: [OpenSIPS-Users] What does mean 'methods' in table location?
 
Hi Rodrigo,

The "methods" is a bitmask of which methods are allowed by this registration (taken from the "Allow" header in the REGISTER). For the encoding, see:
    https://github.com/OpenSIPS/opensips/blob/master/parser/msg_parser.h#L68

Regards,
Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 04/06/2017 05:12 PM, Rodrigo Pimenta Carvalho wrote:

Hi.


In my table location (sqlite data base) I have the column 'methods'.

What does mean such column ?


In this table I have:


AOR:: 1
    Contact:: [hidden email] Q=
        Expires:: 60
        Callid:: SYWM-mDwAojYlNfao6pTIQ..
        Cseq:: 6
        User-agent:: Zoiper rv2.8.15
        State:: CS_SYNC
        Flags:: 0
        Cflags::
        Socket:: tls:192.168.0.84:5061
        Methods:: 4294967295   <--------------------------------------------------
        Attr:: in_same_network


AOR:: 1000
    Contact:: [hidden email] Q=
        Expires:: 374
        Callid:: 14e2707516170165935565k6650rmwp
        Cseq:: 10622
        User-agent:: MizuDroid/2.0.2
        State:: CS_SYNC
        Flags:: 0
        Cflags::
        Socket:: tls:192.168.0.84:5061
        Methods:: 8063    <--------------------------------------------------------
        Attr:: in_same_networ

What does means those different values of 'Methods' ?
By the way, what does mean that 'rinstance' for the AOR 1 ?


Right now, the contact 1000 can talk => rtp packets can be sent to and from it.
However, contact 1 can receive rtp packets, but not send. Can it has some relation to those values?

Any hint will be very helpful!

Best regards.


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Loading...