Hi Forum,
I want to use carrierroute to terminate 50,000 preffixes to a PSTN gw and block 100,000.
So I created 50,000 records with gw ip as rewrite_host. However I only was able to start kamailio with no more than about 2,200 records in carrierroute mysql table.
Is it possible to use carrierroute in such a way?
Find below log with error:
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: INFO:carrierroute:bind_data_loader: use database as configuration source
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: INFO:carrierroute:load_route_data: name default, id 0, trees: 1
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: INFO:carrierroute:add_carrier_tree: add carrier default
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: INFO:carrierroute:add_carrier_tree: carrier default not found, add it
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: INFO:carrierroute:add_tree: tree default has internal id 0
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: INFO:carrierroute:add_carrier_tree: created carrier tree: default, with id
0 and 1 trees
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:db_mysql:db_mysql_convert_row: no private memory left
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:db_mysql:db_mysql_convert_rows: error while converting row #2282
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:db_mysql:db_mysql_convert_result: error while converting rows
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:db_mysql:db_mysql_store_result: error while converting result
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:core:db_do_query: error while storing result
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:carrierroute:load_route_data: Failed to query database.
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:carrierroute:prepare_route_tree: could not load routing data
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:carrierroute:mod_init: could not prepare route tree
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:core:init_mod: failed to initialize module carrierroute
Sep 29 13:36:22 sip-proxy /usr/local/sbin/kamailio[2569]: ERROR:core:main: error while initializing modules
hi all
I am using the Openser(Opensips) as apllication server . i am developing Sh
interface between the AS and HSS.
For developing the Sh interface i am using the CDiameterpeer , here i am
getiing memory and locking errors. And for using the CDiameterpeer as
standalone library what steps i have to follow ...
Thanks
suresh :)
Hi, figure 2 of
http://www.kamailio.org/docs/modules/devel/presence_dialoginfo.html shows the
presence server sending the NOTIFY directly to the watcher.
Is it possible to send the NOTIFY through the proxy?
Well, since NOTIFY is in-dialog it's just needed that the proxy does RR in the
initial SUBSCRIBE before forwarding it to presence server, am I right?
Thanks.
--
Iñaki Baz Castillo
Hello,
I am/will be a newbie to 1.3.x and beyond and have a question
regarding a new requirement of two of my upstream providers. We have
been running 1.1.1-notls since it was released. We have been in the
mindset of, "if it's not broken, don't fix it". But our upstream
providers are now telling us to move to DNS/SRV for signaling outbound
- for good reason.
We have been using LCR for carrier/gateway selection and for RURI
manipulation prior to relaying to a cluster of session boarder
controllers. As you know the DB table for LCR only supports integers
in the gw table for ip_addr. I have been reading up on 1.2.x and
1.3.x to upgrade to a solution that would allow us to stay within the
same call processing (script) design, but still support the new
upstream requirement. I noticed the carrierroute table rewrite_host
column is string. Could this be used to satisfy my needs of
manipulating the RURI for an IP where the carrier still uses a list of
gateway IP's to try and use the DNS/SRV domain name where the carrier
requires the use for SRV look-up? The session boarder controllers
will conduct the SRV look-up after receiving the relayed message from
Kamailio, it is just getting the domain name on the RURI instead of IP
address that I am looking to accomplish. Will the (new to me)
carrierroute module assist in this effort or is there another way that
I am totally missing?
Figured I would ask the gurus before following Alice down the rabbit hole.
--
Thanks,
-- Kyle
Hi
On my openser I can logon with the same username on two different
softphones. How can I prevent the same username from being used on
multiple devices.
With Regards
Hello,
I've a single question about AVPs :
how can I use them when loaded from radius_load_attr ?
example : the 0123452000 is the caller, I want to use an acl to block him.
=> in my radius user config :
0123451010(a)sip.dot.com User-Password = "0000"
User-Name = "0123451010(a)sip.dot.com",
SER-UID = "0123451010(a)sip.dot.com",
SER-DID = "1",
SER-From-UID = "0123451010(a)sip.dot.com",
SER-From-DID = "1",
SER-Digest-Username = "0123451010",
SER-Digest-Realm = "sip.dot.com",
SER-Uri-User = "0123451010(a)sip.dot.com",
SER-Attr = "acl:pstn",
SER-Attr = "asserted-id:0123451010",
SER-Attr = "phone:0123451010",
SER-Attr = "lang:fr"
=> in the SER (v2.0.0) :
if (!radius_load_attrs("$fu", "@f.uri"))
{
sl_reply("403", "Radius attributes not found");
exit;
}
if ( $acl == "pstn" )
{
sl_reply("401", "Unauthorized");
exit;
}
I tried too " $fu.acl ", " set_attr function, ... it seems I can't use
SER-Attr as a variable.
in the debug (dump_attrs) :
...
ser[28670]: r_INBOUND: => dump_attrs()
ser[28670]: INFO: avp.c:542: class=GLOBAL
ser[28670]: AVP["lang"]="en"
ser[28670]: INFO: avp.c:552: track=FROM class=DOMAIN
ser[28670]: AVP["did"]="1"
ser[28670]: AVP["digest_realm"]="sip.dot.com"
ser[28670]: INFO: avp.c:562: track=TO class=DOMAIN
ser[28670]: AVP["did"]="1"
ser[28670]: AVP["digest_realm"]="sip.dot.com"
ser[28670]: INFO: avp.c:572: track=FROM class=USER
ser[28670]: AVP["uid"]="0123451010(a)sip.dot.com"
ser[28670]: AVP["acl"]="pstn"
ser[28670]: AVP["asserted-id"]="0123451010"
ser[28670]: AVP["lang"]="fr"
ser[28670]: AVP["phone"]="0123451010"
ser[28670]: AVP["acl"]="pstn"
ser[28670]: AVP["asserted-id"]="0123451010"
ser[28670]: AVP["lang"]="fr"
ser[28670]: AVP["phone"]="0123451010"
ser[28670]: INFO: avp.c:582: track=TO class=USER
ser[28670]: AVP["acl"]="pstn"
ser[28670]: AVP["asserted-id"]="0123451005"
ser[28670]: AVP["lang"]="fr"
ser[28670]: AVP["phone"]="0123451005"
ser[28670]: AVP["acl"]="pstn"
ser[28670]: AVP["asserted-id"]="0123451005"
ser[28670]: AVP["lang"]="fr"
ser[28670]: AVP["phone"]="0123451005"
ser[28670]: INFO: avp.c:592: track=FROM class=URI
ser[28670]: AVP["uac_nat"]=1
ser[28670]: AVP["account"]="yes"
ser[28670]: INFO: avp.c:602: track=TO class=URI
ser[28670]: INFO: No AVP present
...
If anyone has tips to help me, many thanks !
I'm sure there's something who replaces the old group_radius module, but
which one or how to create SER-Attr $grp ?
Many thanks,
--
Samuel MULLER
sml(a)720.fr
Hello,
The software includes critical bug fixes for parallel prepaid calls.
The software can be downloaded from:
http://download.ag-projects.com/CDRTool/
Changelog since 6.6.3
cdrtool (6.6.8) unstable; urgency=low
* Log debit balance to prepaid_history table
cdrtool (6.6.7) unstable; urgency=low
* Do not debit balance for inexistent prepaid sessions
cdrtool (6.6.5) unstable; urgency=low
* Fixed purging of expired prepaid sessions
cdrtool (6.6.4) unstable; urgency=low
* Added links to Prepaid calls and quota in the main menu
* Fixed showFooter() when exporting csv files from rating page
* Fixed prepaid table mysql schema
Regards,
Adrian