Thank you very much! it worked for me,

Best Regards,

________________________________________
From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
Behalf Of Vlad Paiu [vladp...@opensips.org]
Sent: Monday, December 19, 2011 12:19 PM
To: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] Count SIP requests based on their method

Hello,

Check out the STATISTICS module [1].
It will allow you to create statistics from your script and
increment/decrement them.
Also, take into account that if you do not want to count
retransmissions, you have to take care of this at TM level.

[1] http://www.opensips.org/html/docs/modules/devel/statistics.html

Regards,

Vlad Paiu
OpenSIPS Developer


On 12/19/2011 09:51 AM, M.Abdulaziz wrote:
> Hello all,
>
>
> Is there anyway (MI command or any function) to count number of sip requests
> based on its method (INVITE - OPTIONS - MESSAGE)?
>
> Thank you
>
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/Count-SIP-requests-based-on-their-method-tp7107398p7107398.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Disclaimer:
This communication is intended for the above named person and is confidential 
and / or legally privileged. Any opinion(s) expressed in this communication are 
not necessarily those of KSU (King Saud University). If it has come to you in 
error you must take no action based upon it, nor must you print it, copy it, 
forward it, or show it to anyone. Please delete and destroy the e-mail and any 
attachments and inform the sender immediately. Thank you.
KSU is not responsible for the political, religious, racial or partisan opinion 
in any correspondence conducted by its domain users. Therefore, any such 
opinion expressed, whether explicitly or implicitly, in any said correspondence 
is not to be interpreted as that of KSU.
KSU may monitor all incoming and outgoing e-mails in line with KSU business 
practice. Although KSU has taken steps to ensure that e-mails and attachments 
are free from any virus, we advise that, in keeping with best business 
practice, the recipient must ensure they are actually virus free.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to