Here's the basic config for carrierroute. You can start building on top of it. It matches the version of openser that you are using. http://voipembedded.com/resources/openser_cr.cfg
Regards, Ovidiu Sas On Fri, Aug 22, 2008 at 10:57 PM, Jonathan K. Creasy <[EMAIL PROTECTED]> wrote: > Linux 2.6.17.11-netlogic.1.3 #1 SMP Wed Oct 3 14:36:23 CDT 2007 i686 GNU/Linux > > version: openser 1.3.2-notls (i386/linux) > flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, > SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, > MAX_URI_SIZE 1024, BUF_SIZE 65535 > poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. > svnrevision: unknown > @(#) $Id: main.c 3590 2008-01-28 17:46:56Z bogdan_iancu $ > main.c compiled on 21:56:00 Aug 20 2008 with gcc 4.0.3 > > Modules: > > /* uncomment next line for MySQL DB support */ > loadmodule "mysql.so" > loadmodule "sl.so" > loadmodule "avpops.so" > loadmodule "tm.so" > loadmodule "rr.so" > loadmodule "maxfwd.so" > loadmodule "usrloc.so" > loadmodule "registrar.so" > loadmodule "mangler.so" > loadmodule "textops.so" > loadmodule "mi_fifo.so" > loadmodule "uri_db.so" > loadmodule "uri.so" > loadmodule "xlog.so" > loadmodule "acc.so" > loadmodule "carrierroute.so" > loadmodule "nathelper.so" > loadmodule "permissions.so" > > Thanks for your help. Would you be willing to share your configuration with > me? > > -Jonathan > > Jonathan Creasy > VOIP Engineer > Voxitas.com > 314-266-4000 x109 > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ovidiu Sas > Sent: Friday, August 22, 2008 5:16 PM > To: Jonathan K. Creasy > Cc: users@lists.kamailio.org > Subject: Re: [Kamailio-Users] crashing problem > > The info that you provided is not enough. Please provide the S/W > version, platform, etc. > 'openser -V' or 'kamailio -V' should provide the compile flags and the > S/W version that you are running. > We are using carrierroute with 1,000,000 routes and we never had a crash. > Your crash doesn't seem to be related to carrierroute. > > Regards, > Ovidiu Sas > > On Fri, Aug 22, 2008 at 6:00 PM, Jonathan K. Creasy <[EMAIL PROTECTED]> wrote: >> We're using Carrier route with about 53,000 routes stored in a mysql >> databse. We're getting this crash in production that we never had in the lab. >> >> The bt is below. Does anyone have any suggestions? >> >> nline static void free_to_params(struct to_body* tb) >> { >> struct to_param *tp=tb->param_lst; >> struct to_param *foo; >> while (tp){ >> foo = tp->next; <-- **** Line 75 ***** >> pkg_free(tp); >> tp=foo; >> } >> } >> >> -Jonathan >> >> #0 free_to (tb=0x817cf10) at parser/parse_to.c:75 >> #1 0x080daf70 in clean_hdr_field (hf=0x8a8ee18) at parser/hf.c:182 >> #2 0x080db05b in free_hdr_field_lst (hf=0x8a905b8) at parser/hf.c:209 >> #3 0x080db12d in free_sip_msg (msg=0x8193030) at parser/msg_parser.c:660 >> #4 0x08094695 in receive_msg ( >> buf=0x8168220 "SIP/2.0 183 Session Progress\r\nf: >> \"16512552900\"<sip:[EMAIL PROTECTED]>;tag=as781b438d\r\nt: <sip:[EMAIL >> PROTECTED]>;tag=c7ad5f5020080822192510\r\ni: [EMAIL PROTECTED]"..., >> len=1271, rcv_info=0xbf82f844) at receive.c:206 >> #5 0x080d3e0d in udp_rcv_loop () at udp_server.c:438 >> #6 0x0806c8f5 in main (argc=3, argv=0xbf82fa34) at main.c:834 >> (gdb) backtrace full >> #0 free_to (tb=0x817cf10) at parser/parse_to.c:75 >> No locals. >> #1 0x080daf70 in clean_hdr_field (hf=0x8a8ee18) at parser/hf.c:182 >> __FUNCTION__ = "clean_hdr_field" >> #2 0x080db05b in free_hdr_field_lst (hf=0x8a905b8) at parser/hf.c:209 >> No locals. >> #3 0x080db12d in free_sip_msg (msg=0x8193030) at parser/msg_parser.c:660 >> No locals. >> #4 0x08094695 in receive_msg ( >> buf=0x8168220 "SIP/2.0 183 Session Progress\r\nf: >> \"16512552900\"<sip:[EMAIL PROTECTED]>;tag=as781b438d\r\nt: <sip:[EMAIL >> PROTECTED]>;tag=c7ad5f5020080822192510\r\ni: [EMAIL PROTECTED]"..., >> len=1271, rcv_info=0xbf82f844) at receive.c:206 >> msg = (struct sip_msg *) 0x8193030 >> __FUNCTION__ = "receive_msg" >> #5 0x080d3e0d in udp_rcv_loop () at udp_server.c:438 >> len = 1271 >> buf = "SIP/2.0 183 Session Progress\r\nf: \"16512552900\"<sip:[EMAIL >> PROTECTED]>;tag=as781b438d\r\nt: <sip:[EMAIL >> PROTECTED]>;tag=c7ad5f5020080822192510\r\ni: [EMAIL PROTECTED]"... >> tmp = <value optimized out> >> from = (union sockaddr_union *) 0x8a91318 >> fromlen = 16 >> ri = {src_ip = {af = 2, len = 4, u = {addrl = {2850040017, 135426432, >> 3213031528, 3085483479}, addr32 = {2850040017, 135426432, 3213031528, >> 3085483479}, addr16 = {10449, 43488, 29056, 2066, 63592, >> 49026, 48599, 47080}, addr = "Ñ(à(c)\200q\022\bhø\202¿×½è·"}}, dst_ip >> = {af = 2, len = 4, u = {addrl = {509300942, 0, 0, 0}, addr32 = {509300942, >> 0, 0, 0}, addr16 = {20686, 7771, 0, 0, 0, 0, 0, 0}, >> addr = "ÎP[\036", '\0' <repeats 11 times>}}, src_port = 5060, dst_port >> = 5060, proto = 1, proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = >> {sa_family = 2, >> sa_data = "\023ÄÑ(à(c)\000\000\000\000\000\000\000"}, sin = {sin_family >> = 2, sin_port = 50195, sin_addr = {s_addr = 2850040017}, sin_zero = >> "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, >> sin6_port = 50195, sin6_flowinfo = 2850040017, sin6_addr = {in6_u = >> {u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, >> u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, >> bind_address = 0x818dd90} >> __FUNCTION__ = "udp_rcv_loop" >> #6 0x0806c8f5 in main (argc=3, argv=0xbf82fa34) at main.c:834 >> cfg_log_stderr = 0 >> cfg_stream = (FILE *) 0xa179008 >> c = <value optimized out> >> r = <value optimized out> >> tmp = 0x8148b9c "ÿÿÿÿ" >> tmp_len = <value optimized out> >> port = <value optimized out> >> proto = <value optimized out> >> ret = <value optimized out> >> seed = 639236262 >> rfd = 4 >> __FUNCTION__ = "main" >> >> _______________________________________________ >> Users mailing list >> Users@lists.kamailio.org >> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users >> > _______________________________________________ Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users