[SR-Users] question on getting RTP stats
Is there a way to get asterisk to publish RTP stats in the bye message? I would like to parse theses to DB and get stats from them. If so, how? Thanks Np ___ 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
Re: [SR-Users] Need example of Kamailio.cfg for a port mirror setup
from the atttached kamailio.cfg file, what should be changed to get captagent receiver working in kamailio instead of port mirroring? Thanks On Fri, Feb 17, 2012 at 7:29 AM, Alexandr Dubovikov v...@start4.infowrote: The link has been not changed, you know it already: http://code.google.com/p/homer/wiki/HOWTO Homer Capture Agent (for all other unsupported system) if your SIP system (PBX, proxy) doesn't have a built-in capture agent with HEP or IPIP encapsulation support, you can use Homer Capture Agent (captagent). This is an external application (daemon) that collect SIP messages thru PCAPlib and send them to your capture server. The captagent support IPv4 and IPv6. preventing your next question: the captagent your can find in the git. http://code.google.com/p/homer/source/browse/ Wbr, Alexandr 17.02.2012 13:15, Nelson Pereira wrote: Can captagent be installed on a asterisk server? If so, is there a howto? Sent from my iPhone4 on IOS4 On Feb 17, 2012, at 7:07 AM, Alexandr Dubovikov v...@start4.info wrote: Hi, start two captagents instance, each on own interface and duplicate all traffic to your kamailio node. (HEP protocol) Wbr, Alexandr 16.02.2012 17:51, Nelson Pereira wrote: I would like to know if someone can show me an example of there setup configuration in kamailio.cfg for capturing packets comming in from a mirror port. The reason I ask is that if I do a TCPDUMP on the server, I see all traffic to and from different sources on my Voice network. But when I use Homer SIPCAPTURE which uses Kamailio in the background, I only see traffic sent FROM my PBX but not seing the traffic comming back to it. I mean I only see one side of the call, yet TCPDUMP confirmed I see everything What am I missing ? Thanks NP ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users ___ 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 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users ___ 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 kamailio.cfg Description: Binary data ___ 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
Re: [SR-Users] Need example of Kamailio.cfg for a port mirror setup
ok, tried to do the make install, getting the bellow: aurast:/usr/local/src/captagent # /usr/local/bin/captagent /usr/local/bin/captagent: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory Do i need to compile this? Also just tried running the captagent: aurast:/usr/local/src/captagent # ./captagent ./captagent: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory What am I doing wrong? This is a SUSE SLES11 64bit server running asterisk 1.8.6 Thanks On Fri, Feb 17, 2012 at 10:24 AM, Nelson Pereira kitkat0...@gmail.comwrote: from the atttached kamailio.cfg file, what should be changed to get captagent receiver working in kamailio instead of port mirroring? Thanks On Fri, Feb 17, 2012 at 7:29 AM, Alexandr Dubovikov v...@start4.infowrote: The link has been not changed, you know it already: http://code.google.com/p/homer/wiki/HOWTO Homer Capture Agent (for all other unsupported system) if your SIP system (PBX, proxy) doesn't have a built-in capture agent with HEP or IPIP encapsulation support, you can use Homer Capture Agent (captagent). This is an external application (daemon) that collect SIP messages thru PCAPlib and send them to your capture server. The captagent support IPv4 and IPv6. preventing your next question: the captagent your can find in the git. http://code.google.com/p/homer/source/browse/ Wbr, Alexandr 17.02.2012 13:15, Nelson Pereira wrote: Can captagent be installed on a asterisk server? If so, is there a howto? Sent from my iPhone4 on IOS4 On Feb 17, 2012, at 7:07 AM, Alexandr Dubovikov v...@start4.info wrote: Hi, start two captagents instance, each on own interface and duplicate all traffic to your kamailio node. (HEP protocol) Wbr, Alexandr 16.02.2012 17:51, Nelson Pereira wrote: I would like to know if someone can show me an example of there setup configuration in kamailio.cfg for capturing packets comming in from a mirror port. The reason I ask is that if I do a TCPDUMP on the server, I see all traffic to and from different sources on my Voice network. But when I use Homer SIPCAPTURE which uses Kamailio in the background, I only see traffic sent FROM my PBX but not seing the traffic comming back to it. I mean I only see one side of the call, yet TCPDUMP confirmed I see everything What am I missing ? Thanks NP ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users ___ 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 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users ___ 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 ___ 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
[SR-Users] creating DB in MySQL for Homer Capture server gives errors
Hi all, Trying to create the Homer SIP capture (Kamailio) DB and getting an error: Error SQL query: CREATE TABLE `sip_capture` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `date` timestamp NOT NULL DEFAULT '-00-00 00:00:00', `micro_ts` bigint(18) NOT NULL DEFAULT '0', `method` varchar(50) NOT NULL DEFAULT '', `reply_reason` varchar(100) NOT NULL, `ruri` varchar(200) NOT NULL DEFAULT '', `ruri_user` varchar(100) NOT NULL DEFAULT '', `from_user` varchar(100) NOT NULL DEFAULT '', `from_tag` varchar(64) NOT NULL DEFAULT '', `to_user` varchar(100) NOT NULL DEFAULT '', `to_tag` varchar(64) NOT NULL, `pid_user` varchar(100) NOT NULL DEFAULT '', `contact_user` varchar(120) NOT NULL, `auth_user` varchar(120) NOT NULL, `callid` varchar(100) NOT NULL DEFAULT '', `callid_aleg` varchar(100) NOT NULL DEFAULT '', `via_1` varchar(256) NOT NULL, `via_1_branch` varchar(80) NOT NULL, `cseq` varchar(25) NOT NULL, `diversion` varchar(256) NOT NULL, `reason` varchar(200) NOT NULL, `content_type` varchar(256) NOT NULL, `authorization` varchar(256) N[...] MySQL said: http://172.20.25.149/phpMyAdmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdo c%2Frefman%2F5.0%2Fen%2Ferror-messages-server.htmltoken=1d6b9d77bce4c6f1648 83e3c6dd6bc09 Description: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PARTITION BY RANGE ( UNIX_TIMESTAMP(`date`) ) ( PARTITION pmax VALUES LESS THAN ' at line 50 System Information: . Apache/2.2.10 (Linux/SUSE) . MySQL client version: 5.0.67 . PHP extension: mysqli Server is SLES 11 SP1 image001.png___ 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
[SR-Users] problems since upgrading mysql and php
Getting the bellow error after upgrading php and mysql as requested: Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster mailto:root@cbnhmr01plc . Error 403 172.20.25.149 http://172.20.25.149/ Tue Feb 14 13:37:07 2012 Apache/2.2.10 (Linux/SUSE) Regards, Nelson Pereira Sr. Network Administrator, Information Systems Canadian Bank Note Company 18 Auriga Drive Ottawa, Ontario K2E 7T9 Phone: (613) 225-6566 Ext 2347 Cell: (613) 410-7608 ___ 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
[SR-Users] Routing from Asterisk to Microsoft UM for voicemail.
If someone has a known good working route configuration for use with Microsoft Unified Messaging, please post your config. Thanks Nelson Pereira ___ 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
Re: [SR-Users] Need help in routing configuration
I did see that the TM module syntax did change, so I made the changes in the route, and it looks like this: # main request routing logic route{ if (!mf_process_maxfwd_header(10)) { sl_send_reply(483,Too Many Hops); exit; }; if (msg:len = 2048 ) { sl_send_reply(513, Message too big); exit; }; if (loose_route()) { append_hf(P-hint: rr-enforced\r\n); route(1); }; if (!uri==myself) { append_hf(P-hint: outbound\r\n); route(1); }; route(1); } route[1] { if (src_ip==10.98.6.5) { t_relay_to_tcp(10.98.118.20, 5060); } else { t_relay_to_tcp(); } } This still does not work, im getting the bellow in syslog: May 19 14:05:09 qa-qsuitePBX-01 /usr/sbin/kamailio[2215]: WARNING: core [tcp_main.c:1200]: WARNING: tcp_do_connect 10.98.118.20:5060: could not find corresponding listening socket for 10.98.6.5, using default... May 19 14:05:19 qa-qsuitePBX-01 /usr/sbin/kamailio[2227]: ERROR: core [tcp_main.c:3748]: connect 10.98.118.20:5060 failed (timeout) May 19 14:05:39 qa-qsuitePBX-01 /usr/sbin/kamailio[2215]: WARNING: core [tcp_main.c:1200]: WARNING: tcp_do_connect 10.98.118.20:5060: could not find corresponding listening socket for 10.98.6.5, using default... May 19 14:05:54 qa-qsuitePBX-01 /usr/sbin/kamailio[2227]: ERROR: core [tcp_main.c:3748]: connect 10.98.118.20:5060 failed (timeout) May 19 14:07:53 qa-qsuitePBX-01 /usr/sbin/kamailio[2215]: WARNING: core [tcp_main.c:1200]: WARNING: tcp_do_connect 10.98.118.20:5060: could not find corresponding listening socket for 10.98.6.5, using default... Nelson Pereira -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Wednesday, May 19, 2010 2:01 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Need help in routing configuration You might do well to specify what about it doesn't work, e.g. log messages and such. If you're using Kamailio 3.0+, the reason is most likely that t_relay() invocation syntax has changed: http://www.kamailio.org/docs/modules/3.0.x/modules/tm.html#t_relay On 05/19/2010 01:41 PM, Nelson Pereira wrote: I have the bellow setup for openser, yet this wont work in Kamilio. Wondering if anyone could help to make this routing code work? What Im looking to do is receive Invites in UDP and relaying it via TCP…. route{ if (!mf_process_maxfwd_header(10)) { sl_send_reply(483,Too Many Hops); exit; }; if (msg:len = 2048 ) { sl_send_reply(513, Message too big); exit; }; if (loose_route()) { append_hf(P-hint: rr-enforced\r\n); route(1); }; if (!uri==myself) { append_hf(P-hint: outbound\r\n); route(1); }; route(1); } route[1] { if (src_ip==10.98.6.5) { if (dst_port==5060) { t_relay(tcp:10.98.118.20:5060); } if (dst_port==5065) { t_relay(tcp:10.98.118.20:5065); } else if (dst_port==5066) { t_relay(tcp:10.98.118.20:5066); } else if (dst_port==5067) { t_relay(tcp:10.98.118.20:5067); } # else { # t_relay(tcp:10.98.118.20:5060); # } } else { t_relay(udp:10.98.6.5:5060); }; } *Nelson Pereira* Senior Network Specialist Protus http://www.protus.com/ npere...@protus.com mailto:n...@protus.com phone: 613.733. ext.528 MyFax: 613.822.5083 _MyFax.com http://www.myfax.com/_ | _my1voice.com http://www.my1voice.com/_ | _Campaigner.com http://www.campaigner.com/_ ___ 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 -- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ ___ 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 ___ 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
[SR-Users] Question on install of Kamailio 3.0.1 from source on Ubuntu 8.04
I downlaoded the source of 3.0.1 and untar'ed. Then executed as per docs (INSTALL file): make prefix=/ make prefix=/ install Yet, when I start kamailio from /sbin/kamailio, I get this: r...@qa-qsuitepbx-01:/usr/src# kamailio loading modules under //lib/kamailio/modules_k/://lib/kamailio/modules/ Listening on udp: 10.98.6.6 [10.98.6.6]:5060 udp: 10.98.6.6 [10.98.6.6]:5065 udp: 10.98.6.6 [10.98.6.6]:5066 udp: 10.98.6.6 [10.98.6.6]:5067 Aliases: It's loading modules from //lib? What is this? And is kamailio installed correctly? Nelson Pereira Senior Network Specialist Protushttp://www.protus.com/ npere...@protus.commailto:n...@protus.com phone: 613.733. ext.528 MyFax: 613.822.5083 MyFax.comhttp://www.myfax.com/ | my1voice.comhttp://www.my1voice.com/ | Campaigner.comhttp://www.campaigner.com/ ___ 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
Re: [SR-Users] Question on install of Kamailio 3.0.1 from source on Ubuntu 8.04
Just run the command make deb? And not run make prefix ? Nelson -Original Message- From: Klaus Darilion [mailto:klaus.mailingli...@pernau.at] Sent: Tuesday, May 18, 2010 10:38 AM To: Nelson Pereira Cc: us...@lists.kamailio.org Subject: Re: [SR-Users] Question on install of Kamailio 3.0.1 from source on Ubuntu 8.04 Am 18.05.2010 16:29, schrieb Nelson Pereira: I downlaoded the source of 3.0.1 and untar'ed. Then executed as per docs (INSTALL file): make prefix=/ make prefix=/ install I guess you are overwriting the default prefix (/usr/local/) with /. regards Klaus PS: If you are using a Debian based system I recommend make deb. Yet, when I start kamailio from /sbin/kamailio, I get this: r...@qa-qsuitepbx-01:/usr/src# kamailio loading modules under //lib/kamailio/modules_k/://lib/kamailio/modules/ Listening on udp: 10.98.6.6 [10.98.6.6]:5060 udp: 10.98.6.6 [10.98.6.6]:5065 udp: 10.98.6.6 [10.98.6.6]:5066 udp: 10.98.6.6 [10.98.6.6]:5067 Aliases: It's loading modules from //lib? What is this? And is kamailio installed correctly? *Nelson Pereira* Senior Network Specialist Protus http://www.protus.com/ npere...@protus.com mailto:n...@protus.com phone: 613.733. ext.528 MyFax: 613.822.5083 _MyFax.com http://www.myfax.com/_ | _my1voice.com http://www.my1voice.com/_ | _Campaigner.com http://www.campaigner.com/_ ___ 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 ___ 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
[SR-Users] Acnnot get Kamailio to start ... GRRR
Basic install with source using the provided script: make_and_install install standard then try to do : /usr/local/sbin/kamctl start INFO: Starting Kamailio : ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed r...@qa-qsuitepbx-01:/usr/local/sbin# What am I doing wrong? Nelson Pereira ___ 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
[SR-Users] installing Kamilio onto Ubuntu 8.04
Is there a apt-get package to install kamilio? If so, how do I do that? NP ___ 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