Re: [SR-Users] Visiting CeBIT 2011 in Hanover
Hi, i'll be there on Friday, march 4th (coming from Gütersloh and driving home to Hamburg). Carsten 2011/2/18 Olivier Taylor olivier.tay...@gmail.com: I'll be there. Olivier Le 18/02/11 10:25, Daniel-Constantin Mierla a écrit : Hello, I am going to visit CeBIT show this year (first week of March in Hanover, Germany), if anyone else here is there and want to meet for a chat about latest developments in the project and VoIP world, drop me an email, maybe we have some overlapping days and can sit together for a bit. Cheers, Daniel ___ 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 -- Carsten Bock Schomburgstr. 80 22767 Hamburg Germany Mobile +49 179 2021244 Home +49 40 34927217 Büro (Verl) +49 5246 801427 Fax +49 40 34927218 mailto:cars...@bock.info ___ 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] Kamailio/SIP Router in RHEL 5
From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Suresh Bhandari Sent: Tuesday, February 22, 2011 2:01 AM To: sr-users@lists.sip-router.org Subject: [SR-Users] Kamailio/SIP Router in RHEL 5 Hi, I wanted to run Kamailio/SIP Server in RHEL 5 (Being an RHCE, I prefer this :)), but the INSTALL document you provided has no description based on that OS :(. I found that there are no RPMs for this as well. Are you preparing them? or Do you have any plans for that? or you prefer me to change the OS. Thanks and Regards, Suresh. There is no reason you can't run Kamailio on RHEL 5. I have been running Kamailio on CentOS 5 for quite some time and have never run into issues. I'm not aware of any official (or even non-official for that matter) RPMs. There is a spec file, though, and while I've never tried to build an RPM using it I would think that it is at least close enough that a little bit of tweaking will get it where you need it to be. Regards, - Brad ___ 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] Kamailio/SIP Router in RHEL 5
There is an rpm spec file under ./pkg/kamailio/rpm/kamailio.spec.CenOS. That one should work well under RHEL 5. Regards, Ovidiu Sas On Tue, Feb 22, 2011 at 6:25 AM, Watkins, Bradley bradley.watk...@compuware.com wrote: From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Suresh Bhandari Sent: Tuesday, February 22, 2011 2:01 AM To: sr-users@lists.sip-router.org Subject: [SR-Users] Kamailio/SIP Router in RHEL 5 Hi, I wanted to run Kamailio/SIP Server in RHEL 5 (Being an RHCE, I prefer this :)), but the INSTALL document you provided has no description based on that OS :(. I found that there are no RPMs for this as well. Are you preparing them? or Do you have any plans for that? or you prefer me to change the OS. Thanks and Regards, Suresh. There is no reason you can't run Kamailio on RHEL 5. I have been running Kamailio on CentOS 5 for quite some time and have never run into issues. I'm not aware of any official (or even non-official for that matter) RPMs. There is a spec file, though, and while I've never tried to build an RPM using it I would think that it is at least close enough that a little bit of tweaking will get it where you need it to be. Regards, - Brad ___ 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] kamailio 3.1: forward(10.0.0.10:5060) not working?
HI It seems the forward(host:port) not working in the kamailio 3.1? the simple route like: route { forward(67.154.xx.xx:5080); } the error is: core [proxy.c:278]: ERROR: mk_proxy: could not resolve hostname: 67.154.xx.xx:5080 Anything missing? the detailed log is: 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found load_tm in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_newtran in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_relay_to_tcp in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_relay_to_udp in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_relay in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_forward_nonack in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_release in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [main.c:2371]: Expect (at least) 18 SER processes in your process list 0(8500) DEBUG: core [proxy.c:278]: DEBUG: mk_proxy: doing DNS lookup... 0(8500) DEBUG: core [dns_cache.c:567]: dns_hash_find(_sip._udp.67.154.xx.xx:5080(28), 33), h=780 0(8500) DEBUG: core [resolve.c:727]: get_record: lookup(_sip._udp.67.154.xx.xx.:5080, 33) failed 0(8500) DEBUG: core [dns_cache.c:895]: dns_cache_mk_bad_entry(_sip._udp.67.154.xx.xx:5080, 33, 60, 1) 0(8500) DEBUG: core [dns_cache.c:828]: dns_cache_add: adding _sip._udp.67.154.xx.xx:5080(28) 33 (flags=1) at 780 0(8500) DEBUG: core [dns_cache.c:567]: dns_hash_find(67.154.xx.xx:5080(18), 1), h=16 0(8500) DEBUG: core [resolve.c:727]: get_record: lookup(67.154.xx.xx:5080, 1) failed 0(8500) DEBUG: core [dns_cache.c:895]: dns_cache_mk_bad_entry(67.154.xx.xx:5080, 1, 60, 1) 0(8500) DEBUG: core [dns_cache.c:828]: dns_cache_add: adding 67.154.xx.xx:5080(18) 1 (flags=1) at 16 0(8500) : core [proxy.c:278]: ERROR: mk_proxy: could not resolve hostname: 67.154.xx.xx:5080 0(8500) ERROR: core [route.c:1161]: fixing failed (code=-478) at cfg:/etc/kamailio/kamailio.cfg:394 ERROR: error -478 while trying to fix configuration 0(8500) DEBUG: tm [t_funcs.c:122]: DEBUG: tm_shutdown : start 0(8500) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table 0(8500) DEBUG: tm [t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores 0(8500) DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists 0(8500) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown : done 0(8500) DEBUG: core [mem/shm_mem.c:236]: shm_mem_destroy 0(8500) DEBUG: core [mem/shm_mem.c:239]: destroying the shared memory lock thx. -- Kind regards / Mit freundlichen Grüßen Min Wang ___ 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] get_profile_size() function help (Alex Balashov)
What is the version of kamailio used here? I did a fix for this function when it takes three parameters sometime by end of last year, so if you are not using the latest version, just upgrade to it and see if the issue still persists. Cheers, Daniel On 2/22/11 6:38 PM, Henning Westerholt wrote: On Tuesday 22 February 2011, 侯旭光 wrote: On 02/21/2011 04:50 AM, ??? wrote: ALTER:core [main.c 722] : child process 29651 exited by sinal 11 ALTER:core [main.c 725] : core was generated INFO :core [main.c 737] : terminating due to SIGCHILD This is a crash. It's a bug. Then how to get the number of dialogs belonging to a profile? Hi 侯旭光, well, the server should return the number of dialogs here - that it crashs its not normal, of course. :-) Can you take a look to the core dump that was generated and post the result here on the list? More informations can be find here: http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:corefiles Cheers, Henning ___ 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 -- Daniel-Constantin Mierla http://www.asipto.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] kamailio 3.1: forward(10.0.0.10:5060) not working?
Hello, after integration of the new core between Kamailio and SER this function changed and I guess the wiki is still having the old prototype. Try: forward(67.154.xx.xx, 5080); and see if this one works for you. Cheers, Daniel On 2/22/11 7:30 PM, Min Wang wrote: HI It seems the forward(host:port) not working in the kamailio 3.1? the simple route like: route { forward(67.154.xx.xx:5080); } the error is: core [proxy.c:278]: ERROR: mk_proxy: could not resolve hostname: 67.154.xx.xx:5080 Anything missing? the detailed log is: 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found load_tm in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_newtran in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_relay_to_tcp in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_relay_to_udp in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_relay in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_forward_nonack in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [sr_module.c:625]: find_export_record: found t_release in module tm [/usr/lib/kamailio/modules/tm.so] 0(8500) DEBUG: core [main.c:2371]: Expect (at least) 18 SER processes in your process list 0(8500) DEBUG: core [proxy.c:278]: DEBUG: mk_proxy: doing DNS lookup... 0(8500) DEBUG: core [dns_cache.c:567]: dns_hash_find(_sip._udp.67.154.xx.xx:5080(28), 33), h=780 0(8500) DEBUG: core [resolve.c:727]: get_record: lookup(_sip._udp.67.154.xx.xx.:5080, 33) failed 0(8500) DEBUG: core [dns_cache.c:895]: dns_cache_mk_bad_entry(_sip._udp.67.154.xx.xx:5080, 33, 60, 1) 0(8500) DEBUG: core [dns_cache.c:828]: dns_cache_add: adding _sip._udp.67.154.xx.xx:5080(28) 33 (flags=1) at 780 0(8500) DEBUG: core [dns_cache.c:567]: dns_hash_find(67.154.xx.xx:5080(18), 1), h=16 0(8500) DEBUG: core [resolve.c:727]: get_record: lookup(67.154.xx.xx:5080, 1) failed 0(8500) DEBUG: core [dns_cache.c:895]: dns_cache_mk_bad_entry(67.154.xx.xx:5080, 1, 60, 1) 0(8500) DEBUG: core [dns_cache.c:828]: dns_cache_add: adding 67.154.xx.xx:5080(18) 1 (flags=1) at 16 0(8500) : core [proxy.c:278]: ERROR: mk_proxy: could not resolve hostname: 67.154.xx.xx:5080 0(8500) ERROR: core [route.c:1161]: fixing failed (code=-478) at cfg:/etc/kamailio/kamailio.cfg:394 ERROR: error -478 while trying to fix configuration 0(8500) DEBUG: tm [t_funcs.c:122]: DEBUG: tm_shutdown : start 0(8500) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table 0(8500) DEBUG: tm [t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores 0(8500) DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists 0(8500) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown : done 0(8500) DEBUG: core [mem/shm_mem.c:236]: shm_mem_destroy 0(8500) DEBUG: core [mem/shm_mem.c:239]: destroying the shared memory lock thx. -- Daniel-Constantin Mierla http://www.asipto.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] UAC Module: test registration to a Voip provider
Hello, On 2/21/11 1:10 PM, Matteo Campana wrote: Hi all, we are using the UAC module (http://www.kamailio.org/docs/modules/stable/modules_k/uac.html#id2910015) to register the proxy to an external DID provider. I know that the module takes care of sending REGISTER on the basis of credentials stored in uacreg table, but my question is: if I add a new row in the uacreg table, kamailio will register the new username after the database update or I need a restart of kamailio (or some kamailio module)? If I edit the row in uacreg table and I call the rpc command /sercmd uac.reg_dump /I see the old values in the output, but if I restart kamailio I see the new values. you have to restart it, there is no reload RPC command yet for uac registrations. Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.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] decimal fraction problem
Hello, On 2/21/11 10:28 AM, 侯旭光 wrote: Hello I need to add q value while using function append_branch(),but the function only takes decimal fraction as the parameter. What if I want to use pv to add q value? The $var and $avp just have string and integer type. Thanks a lot! do: km_append_branch($var(branchuri)); $(branch(q)[-1]) = $var(q); $var(q) has to hold an integer value that represents the decimal fraction value multiplied with 100 (so if q should be 0.5, then $var(q) = 50). Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.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] Unable to start Siremis
On 2/20/11 3:34 PM, j...@4voice.net wrote: I have installed the latest Kamailio and have it running. When trying to run Siremis-2.0.0, i get the following error message The requested URL /siremis/system/general_default was not found on this server * I have made sure that the mod_rewrite is enabled in my apacher server * I have made sure that the directories o + siremis/log + siremis/session + siremis/files + siremis/themes/default/template/cpl All have write access Stuck Have you done: make prepare in the siremis directory? Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.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] Unable to start Siremis
Thanks for the response. I got it working. I had to enable another flag in the apache and it worked. I am able to crate a carrier routing database now using SIremis. Do you have any examples of a working carrier routing user routing config file?Jack Bloch4Voice LLCTel : 1-888-VOICE17 ext. 202e-mail: j...@4voice.netweb : www.4voice.netThe information contained in this email may be confidential or otherwise protected from disclosure. If you're not the intended recipient, or if it was sent to you in error, please delete this email. Any dissemination, distribution or other use of the contents of this email by anyone other than the intended recipient is strictly prohibited. Original Message Subject: Re: [SR-Users] Unable to start Siremis From: Daniel-Constantin Mierla mico...@gmail.com Date: Tue, February 22, 2011 5:06 pm To: j...@4voice.net Cc: sr-users@lists.sip-router.org On 2/20/11 3:34 PM, j...@4voice.net wrote: I have installed the latest Kamailio and have it running. When trying to run Siremis-2.0.0, i get the following error message "The requested URL /siremis/system/general_default was not found on this server" I have made sure that the mod_rewrite is enabled in my apacher server I have made sure that the directories siremis/log siremis/session siremis/files siremis/themes/default/template/cplAll have write access Stuck Have you done: make prepare in the siremis directory? Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.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
[SR-Users] pipelimit db schema
Can anyone point me to the db schema for the new pipelimit module? Thanks, Ryan ___ 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] pipelimit db schema
Hello, On 2/23/11 12:30 AM, thrillerbee wrote: Can anyone point me to the db schema for the new pipelimit module? seems I forgot to add it to db creation script. I will fix that in the next days. Meanwhile you can use: INSERT INTO version (table_name, table_version) values ('pl_pipes','1'); CREATE TABLE pl_pipes ( id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL, pipeid VARCHAR(64) DEFAULT '' NOT NULL, algorithm VARCHAR(32) DEFAULT '' NOT NULL, plimit INT DEFAULT 0 NOT NULL, CONSTRAINT pipeid_idx UNIQUE (pipeid) ) ENGINE=MyISAM; This is inside sources, modules/pipelimit/pl_db.c Thanks, Daniel -- Daniel-Constantin Mierla http://www.asipto.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] How to get the dialog information via dlg_list command?
Hello, the problem is you are using the dialog module coming from SER, not the one coming from Kamailio. The loadpath (or mpath) has to include directorins ending in modules_k and modules. I recommend you use kamailio.cfg as a start to build your config and then add the dialog module. Before compiling, when you are using the sources, you have to do: make FLAVOUR=kamailio cfg You can see more at: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git If you prefer to install deb files (on Debian/Ubuntu), see: http://www.kamailio.org/dokuwiki/doku.php/packages:debs Cheers, Daniel On 2/23/11 7:32 AM, yan wang wrote: Dear Friends, I need your help on the following question: I am using Kamailio 3.1.2. I want to get the dialog information dynamically via the FIFO command dlg_list by kamctl fifo dlg_list. But unfortunately, I could get NOTHING in the output. And the fact is that I have setup 5 pairs SIP calls with the Kamailio SIP proxy. Could anyone show me the clues and how to get the correct dialog information? Thanks. BTW, I attached the config file. Best Regards, Spencer ___ 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 -- Daniel-Constantin Mierla http://www.asipto.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