Re: [SR-Users] How to distinguish 200 OK that have byed

2016-04-20 Thread
ms LLC > 1447 Peachtree Street NE, Suite 700 > Atlanta, GA 30309 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > Original Message > From: 张顺通

[SR-Users] How to distinguish 200 OK that have byed

2016-04-19 Thread
A KA B INVITE -> 200 OK(INVITE)<- ACK is lost BYE <- 200 OK(BYE) -> 200 OK(INVITE)<- 200 OK(INVITE)<- 200 OK(INVITE)<- ACK is lost

Re: [SR-Users] TCP connection select problem

2016-03-23 Thread
Have provided Callid, thanks. register callid 2bbadd72-d733-434e-bd06-45d9ddb5289b a7fa5d8f-1e46-4605-9a6e-08751bc75fee call 626fec11-684b-1234-d0b9-ecf4bbde9ef8 2016-03-21 18:34 GMT+08:00 张顺通 <shuntongzh...@gmail.com>: > Have provided Callid, thanks. > > register callid >

Re: [SR-Users] TCP connection select problem

2016-03-21 Thread
ral calls there. All of them are > exposing the issue? Or can you give the call-id of the call that didn't > work fine? I don't want to lose time looking at all the calls, knowing one > that is wrong is enough... > > Cheers, > Daniel > > > On 21/03/16 03:50, 张顺通 wrote: >

Re: [SR-Users] TCP connection select problem

2016-03-14 Thread
for devices. > > Cheers, > Daniel > > > On 14/03/16 13:06, 张顺通 wrote: > > source IP is same, But port is different。 > like INVITE sip:Linphone_nat_Ip:Linphone_nat_port;tcp; > > > 2016-03-14 18:26 GMT+08:00 Daniel-Constantin Mierla < <mico...@gmail.com>

Re: [SR-Users] TCP connection select problem

2016-03-14 Thread
both devices are behind the same NAT, > practically they show the same source IP when they send traffic to server. > > Cheers, > Daniel > > > On 14/03/16 04:05, 张顺通 wrote: > > KA_EDGE have two IP,external public IP and internal IP. > I add modparam("

Re: [SR-Users] TCP connection select problem

2016-03-13 Thread
KA_EDGE have two IP,external public IP and internal IP. I add modparam("path", "use_received", 1) and replace add_path() to add_path_received() in edge server. add modparam("registrar", "path_use_received", 1) in KA_REGISTER server. DB path info

Re: [SR-Users] TCP connection select problem

2016-03-09 Thread
ter? > > Cheers, > Daniel > > > On 08/03/16 08:08, 张顺通 wrote: > > my program structure is > > LinPhone--TCP--KA_EDGE--UDP--KA_REGISTER--UDP--FS > > KA_EDGE:all clients TCP connection is in this server > KS_REGSITER:all register info is pro

Re: [SR-Users] TCP connection select problem

2016-03-08 Thread
Someone had this problem? Or It's a bug that has been resolved 2016-03-08 15:17 GMT+08:00 张顺通 <shuntongzh...@gmail.com>: > kamailio version is 4.2.1 > > 2016-03-08 15:08 GMT+08:00 张顺通 <shuntongzh...@gmail.com>: > >> my program structure is >> >&g

Re: [SR-Users] TCP connection select problem

2016-03-07 Thread
kamailio version is 4.2.1 2016-03-08 15:08 GMT+08:00 张顺通 <shuntongzh...@gmail.com>: > my program structure is > > LinPhone--TCP--KA_EDGE--UDP--KA_REGISTER--UDP--FS > > KA_EDGE:all clients TCP connection is in this server > KS_REGSITER:all regis

[SR-Users] TCP connection select problem

2016-03-07 Thread
my program structure is LinPhone--TCP--KA_EDGE--UDP--KA_REGISTER--UDP--FS KA_EDGE:all clients TCP connection is in this server KS_REGSITER:all register info is process here when User A want to use program,Linphone send SIP REGISTER to KA_EDGE by TCP(and TCP is always

Re: [SR-Users] question about dlg_var

2016-03-07 Thread
g like: >>> >>> >>> >>> #define INIT_FLAG >>> >>> >>> if (is_method("INVITE") && !has_totag()) { >>> >>> $avp(is_init_invite) = 1; >>> # or >>> # setflag(INIT_FLA

[SR-Users] question about dlg_var

2016-03-02 Thread
I want to distingguish 200 OK is for INVITE or reINVITE。 so I do this: request_route { if (is_method("INVITE") && !has_totag()) { $dlg_var(is_init_invite) = "1"; } } onreply_route { xlog("L_INFO","[$rs-$rr][is_init_invite:$dlg_var(is_init_invite)]"); if

[SR-Users] tls_port_no maybe do not work

2015-01-30 Thread
I set cfg like this: tls_port_no=9004 listen=bond0:9002 but result is: udp: 10.232.98.23 [10.232.98.23]:9002 tcp: 10.232.98.23 [10.232.98.23]:9002 tls: 10.232.98.23 [10.232.98.23]:9003 ___ SIP Express Router

Re: [SR-Users] why do not support tcp:eth1:5062,only support eht1:5062

2015-01-30 Thread
/kamailio/edge.cfg, line 44, column 17: and line 44 is listen=tcp:bond0:9002 2015-01-30 13:32 GMT+08:00 Daniel-Constantin Mierla mico...@gmail.com: Hello, can you give the log messages with debug=3 in your config file? Cheers, Daniel On Thu, Jan 29, 2015 at 8:54 AM, 张顺通 shuntongzh

Re: [SR-Users] why do not support tcp:eth1:5062,only support eht1:5062

2015-01-30 Thread
computer with: listen=tcp:wlan0:5060 and kamailio started ok, listening on the ip assigned to wlan0. Can you set debug=3 in kamailio.cfg, then run and send all debug messages? Cheers, Daniel On Fri, Jan 30, 2015 at 9:55 AM, 张顺通 shuntongzh...@gmail.com wrote: Jan 30 16:54:17 voip098023

Re: [SR-Users] why do not support tcp:eth1:5062,only support eht1:5062

2015-01-28 Thread
especially i want to use tls:eth1:5063 2015-01-29 15:52 GMT+08:00 张顺通 shuntongzh...@gmail.com: what can i do to user tcp:eth1:5062 2014-11-12 10:53 GMT+08:00 张顺通 shuntongzh...@gmail.com: why do not support tcp:eth1:5062,only support eht1:5062? I need to bind on eth1 only tcp

Re: [SR-Users] kamailio 4.2.1 core in timer.c:877

2015-01-28 Thread
? Cheers, Daniel On 16/01/15 04:29, 张顺通 wrote: I user rtimer module : loadmodule rtimer.so modparam(rtimer, timer, name=p_route;interval=1;mode=1;) modparam(rtimer, exec, timer=p_route;route=P_ROUTE) application will coredump in sometimes, and core file in below, what's the reason

[SR-Users] kamailio 4.2.1 core in timer.c:877

2015-01-15 Thread
I user rtimer module : loadmodule rtimer.so modparam(rtimer, timer, name=p_route;interval=1;mode=1;) modparam(rtimer, exec, timer=p_route;route=P_ROUTE) application will coredump in sometimes, and core file in below, what's the reason? Program terminated with signal 11, Segmentation fault. #0

[SR-Users] why do not support tcp:eth1:5062,only support eht1:5062

2014-11-11 Thread
why do not support tcp:eth1:5062,only support eht1:5062? I need to bind on eth1 only tcp. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

[SR-Users] how to use mqueue.

2014-11-03 Thread
whle (mq_fetch(QUEUE)) { if (yes) { do something } else { mq_add(QUEUE); add back to queue. } } can mq_add use here? I tried it, it do not work. and How to determine the end? ___ SIP Express Router (SER) and Kamailio (OpenSER) -

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
* from version: Example: mysql -h localhost -P 3306 -u root -p mysql use kamailiodb; Use your kamailio Db name here mysqldesc version; mysql select count(*) from version; mysql select * from version; /G On Sun, Oct 19, 2014 at 6:38 PM, 张顺通 shuntongzh...@gmail.com wrote: Oct 20 08:14

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
when open MEMDBG ?= 1, I get this core [mem/q_malloc.c:159]: qm_debug_frag(): BUG: qm_*: prev. fragm. tail overwritten(0, 0)[0x7f64241cdfc0:0x7f64241cdff0]! 2014-10-20 16:20 GMT+08:00 张顺通 shuntongzh...@gmail.com: I have two computer, one is ok ,the other can not startup. 2014-10-20 14:52

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
ka.log is genrate by kamailio 4.1.6. 2014-10-20 17:44 GMT+08:00 Daniel-Constantin Mierla mico...@gmail.com: Are you using 4.1 or 4.2? Because the subject mentioned 4.2 but the version of kamailio is 4.1 Daniel On 20/10/14 11:39, 张顺通 wrote: -M 12 can not help. all config is same. see

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
顺通 shuntongzh...@gmail.com: ka.log is genrate by kamailio 4.1.6. 2014-10-20 17:44 GMT+08:00 Daniel-Constantin Mierla mico...@gmail.com: Are you using 4.1 or 4.2? Because the subject mentioned 4.2 but the version of kamailio is 4.1 Daniel On 20/10/14 11:39, 张顺通 wrote: -M 12 can not help

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
of the next fragment, which was not used at all before, after the one allocated previously. The only reason I can think of it right now is corrupted memory or faulty OS. Daniel On 20/10/14 11:56, 张顺通 wrote: 4.2 have the same problem. at begin i use 4.1, i think this is a bug in 4.1

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
with logs, it doesn't reveal any problem -- it is about allocation of the next fragment, which was not used at all before, after the one allocated previously. The only reason I can think of it right now is corrupted memory or faulty OS. Daniel On 20/10/14 11:56, 张顺通 wrote: 4.2 have

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
= 62, check = 4042322160} 2014-10-20 18:30 GMT+08:00 Daniel-Constantin Mierla mico...@gmail.com: physical machine is the same? Is it standard OS installation, or some customizations (e.g. custom kernel modules, etc.)? Embedded device? What CPU? Daniel On 20/10/14 12:24, 张顺通 wrote: os

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
db_new_result-pkg_malloc(qm_malloc)-qm_find_free, func qm_find_free return 0, can not find mem when i close memdbg. 2014-10-20 18:57 GMT+08:00 张顺通 shuntongzh...@gmail.com: rhel5 $cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 24 Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz rhel6

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
I install a rehl 5.7 by myself, kamailio 4.1.6 can run correctly. but it can not run on out company's server which is also rehl 5.7. How to find the problem.I have no idea. anyone can help? thks 2014-10-20 19:39 GMT+08:00 张顺通 shuntongzh...@gmail.com: db_new_result-pkg_malloc(qm_malloc

Re: [SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-20 Thread
local or in a remote server? /G On Mon, Oct 20, 2014 at 8:01 AM, 张顺通 shuntongzh...@gmail.com wrote: I install a rehl 5.7 by myself, kamailio 4.1.6 can run correctly. but it can not run on out company's server which is also rehl 5.7. How to find the problem.I have no idea. anyone can help

[SR-Users] kamailio 4.2 ,have some problems when use mysql db

2014-10-19 Thread
Oct 20 08:14:45 ka[15500]: INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob Oct 20 08:14:45 ka[15500]: INFO: rr [rr_mod.c:160]: mod_init(): outbound module not available Oct 20 08:14:45 ka[15500]: INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size 1024 Oct 20