[OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread Nick
Hi I want to monitor SIP Traffic with MRTG. But, I don't want to monitor network card. In Server, I have other service. Do everyone have other function with it?? Can snmpstats support this?? Which function can do it?? Thanks for suggest. Nick

[OpenSIPS-Users] cdr accounting on opensips restart

2011-12-01 Thread Jayesh Nambiar
Hello All, I am planning to use CDR accounting in my script starting from version 1.7 and it looks fine and working as expected. Although I had one doubt, how do I make sure the CDR accounting still happens if the opensips is restarted and BYE comes after the restart. I have tried db_mode 3 for

[OpenSIPS-Users] Using OpenSIPS as a B2BUA with Dynamic Routing ability

2011-12-01 Thread Ashwin Rath
HI All I have setup OpenSIPS to act as a B2BUA with top hiding scenario. Additionally, i want to have the ability to dynamically hunt for a successful route from a list of possible route choices. Currently i use the following routing script --SCRIPT BEGINS- if(is_method(INVITE)

[OpenSIPS-Users] OpenSIPS Virtual Machine connecting problem

2011-12-01 Thread Zsolt Pintér
Hi All! Im a newbie thus I hope my letter will be not so disturbing! I want to configure a SIP server with presence and conferance to use with android softphones. Thought on doing this with OpenSIPS for presence + Asterisk for conference. I found the new OpenSIPS Live VM which I thought will be

[OpenSIPS-Users] Using OpenSIPs B2BUA with dynamic routing

2011-12-01 Thread Ashwin Rath
HI All I have setup OpenSIPS to act as a B2BUA with top hiding scenario. Additionally, i want to have the ability to dynamically hunt for a successful route from a list of possible route choices. Currently i use the following routing script --SCRIPT BEGINS- if(is_method(INVITE)

Re: [OpenSIPS-Users] OpenSIPS Virtual Machine connecting problem

2011-12-01 Thread Sammy Govind
Hi, If you are trying to access the VM from non-host machine then you definitely need to use Bridged adapter mode in your VM networking option. That way your VM will have the sam subnet IP as of your LAN. -- Regards, Sammy 2011/11/19 Zsolt Pintér zsolt...@gmail.com Hi All! Im a newbie thus

[OpenSIPS-Users] Add User From Opensips-Cp

2011-12-01 Thread spady
Hi all, I setted up a OpenSIPS-Cp and almost everything it's working good except for User---User Managment-- Add New. If I try to add a new User, when I press OK, nothing happen. User is not added and I can't see anything into opensips.log. I created some user by using opensipsctl add and it

Re: [OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread Bogdan-Andrei Iancu
Hello Nick, Take a look at the siptrace module - it is used to dump the SIP traffic going through opensips into DB: http://www.opensips.org/html/docs/modules/1.7.x/siptrace.html Then you can use OpenSIPs Control Panel to view in a graphical way the DB content (with call flows).

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-01 Thread Bogdan-Andrei Iancu
Hi Jayesh, If dialog module has restart persistence ( db modes 1, 2 and 3) the CDRs should survive across a restart. If this is not the case for you, let me know the exact version of opensips you are running (do opensips -V). Regards, Bogdan On 12/01/2011 12:28 PM, Jayesh Nambiar wrote:

Re: [OpenSIPS-Users] Add User From Opensips-Cp

2011-12-01 Thread Bogdan-Andrei Iancu
Hi, So, when trying to add a new user, do you get an error or so ? what about the apache logs ? do you see any errors there ? Are you sure you populated all fields in the Add form ? Regards, Bogdan On 12/01/2011 06:46 PM, spady wrote: Hi all, I setted up a OpenSIPS-Cp and almost everything

[OpenSIPS-Users] Accounting script rejected calls

2011-12-01 Thread Ryan Bullock
I am using accounting opensips with cdr accounting and the failed_transaction_flag set. I was wondering if anyone knows a way to get calls that we reject from within our script (e.g. send_reply(503), etc) to be accounted into missed_calls? These don't currently seem to be recorded anywhere and we

Re: [OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread Duane Larson
Bogdan are you saying that siptrace can keep up with how much bandwidth SIP is using? I thought Nick was wanting to graph the total bandwidth taken up by SIP. On Dec 1, 2011 11:03 AM, Bogdan-Andrei Iancu bog...@opensips.org wrote: Hello Nick, Take a look at the siptrace module - it is used to

Re: [OpenSIPS-Users] Transfer problem with Opensips as a load balancer

2011-12-01 Thread Schneur Rosenberg
Bogdan there is too little info about this online, can you please help me a bit more with this, how do I write the if statement, and how do I set a variable for the first call, and how do I retrieve which server was used for the first call. On Wed, Nov 23, 2011 at 9:46 PM, Schneur Rosenberg

Re: [OpenSIPS-Users] Cannot Register Phones (Newbie question)

2011-12-01 Thread Jerry Richards
Brett, Yes you're right, opensips is not starting. I noticed the /var/log/messages file indicates it needs a database. I want to use postgresql instead of mysql, so I changed the DBENGINE parameter to PGSQL in the opensipsctlrc and osipsconsolerc. Now, when I execute ./opensipsdbctl

[OpenSIPS-Users] Configuring OpenSIPS with Postgresql

2011-12-01 Thread Jerry Richards
Hello, My opensips is not starting. I noticed the /var/log/messages file indicates it needs a database. I want to use postgresql instead of mysql, so I changed the DBENGINE parameter to PGSQL in the opensipsctlrc and osipsconsolerc. Now, when I execute ./opensipsdbctl create, I get the

Re: [OpenSIPS-Users] Accounting script rejected calls

2011-12-01 Thread Bogdan-Andrei Iancu
Hi Ryan, The accounting module catches only calls that are proxy-ed (forwarded). If the call is locally completed, it is not automatically accounted, but you can still do it manually via the acc_db_request() function from acc module:

Re: [OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread Bogdan-Andrei Iancu
Hi Duane, No, siptrace cannot provide data about how much bandwidth is used - of course, for the SIP signaling you can simply sum the size of the packages, but not really the best method. But if ti goes to RTP, that is really impossible to say, as opensips will never know what are the used

Re: [OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread duane . larson
So probably the only thing Nick can do if he is wanting to measure how much bandwidth the SIP packets are using (if I understand his question correctly) would be at the router like Cisco's IP SLA. But in order for this to work all SIP packets would need to be tagged with QoS. On ,

Re: [OpenSIPS-Users] Crash: EOF on 12 (v.1.6.4.2)

2011-12-01 Thread James Lamanna
Hi Bogdan, Any ideas here? Thanks. -- James On Tue, Nov 29, 2011 at 3:57 PM, James Lamanna jlama...@gmail.com wrote: Realized I got variables from the wrong frame. (gdb) print p $1 = (ua_pres_t *) 0x2aba902bfb00 (gdb) print *p $2 = {hash_index = 305, local_index = 0, id = {s =

Re: [OpenSIPS-Users] Add User From Opensips-Cp

2011-12-01 Thread spady
Hi Bogdan, thanks for reply. It was my mistake. I was creating a user, whitout compiling all fields. ( i was missing aliases ). Now it works perfectly. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Add-User-From-Opensips-Cp-tp7051225p7052539.html Sent

[OpenSIPS-Users] Siptraces not shown on OpenSIPS-CP

2011-12-01 Thread spady
Hi folk, i am facing this issue: I set, just for learing purpose, my opensips.cfg as follow: loadmodule siptrace.so # - sip_trace -- modparam(siptrace, db_url, mysql://opensips:opensipsrw@localhost/opensips) modparam(siptrace, trace_on, 1) modparam(siptrace, enable_ack_trace, 1)

Re: [OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread Nick
Hi Duane Yes, You are right. So, Is it not other method??? If I only want to collect RTP traffic. Do you have any suggest?? Thanks On 2011年12月02日 04:57, duane.lar...@gmail.com wrote: So probably the only thing Nick can do if he is wanting to measure how much bandwidth the SIP packets are

Re: [OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread duane . larson
If you only want RTP I believe CDRTool keeps up with RTP traffic but you have to be sending the RTP streams through Mediaproxy. I've done both SIP and RTP with Cisco IP SLA but that is once again because the packets are tagged with QoS and also going through the cisco Router. I would also

Re: [OpenSIPS-Users] About SIP Traffic

2011-12-01 Thread Nick
Hi Duane But, I don't used mediaproxy. I used RTPPRoxy. Nick On 2011年12月02日 11:24, duane.lar...@gmail.com wrote: If you only want RTP I believe CDRTool keeps up with RTP traffic but you have to be sending the RTP streams through Mediaproxy. I've done both SIP and RTP with Cisco IP SLA but

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-01 Thread Jayesh Nambiar
Hi Bogdan, The exact version used is 1.7.1 stable release compiled from src. Output of opensips -V is: version: opensips 1.7.1-notls (x86_64/linux) flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT