[OpenSIPS-Users] What does mean 'methods' in table location?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Mon Apr 17 09:40:24 EDT 2017


Hi Bogdan.


Thank you very much!


Best regards.


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


________________________________
De: Users <users-bounces at lists.opensips.org> em nome de Bogdan-Andrei Iancu <bogdan at opensips.org>
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


[http://www.opensips.org/events/img/conference-image-2.jpg]<http://www.opensips.org/events/Summit-2017Amsterdam.html>

OpenSIPS Summit 2nd-5th May 2017, Amsterdam<http://www.opensips.org/events/Summit-2017Amsterdam.html>
www.opensips.org
OpenSIPS Summit 2017 in Amsterdam, The Netherlands ... Unlike other industries, the VoIP and RTC ecosystem lacks an accessible network for threat intelligence ...

Home — OpenSIPS Solutions<http://www.opensips-solutions.com/>
www.opensips-solutions.com
OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is more than a SIP proxy/router as it includes application-level functionalities.

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:: sip:1 at 192.168.0.85:50356;transport=TLS;rinstance=87cc2284712a216c<mailto:sip:1 at 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 at 192.168.0.85:41170;transport=TLS<mailto:sip:1000 at 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
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170417/9e38c528/attachment-0001.html>


More information about the Users mailing list