Hi,
I'm still disapointed after reading the documentation of LCR module.
I use SER 0.9.9 and I'm wondering if it's possible to use LCR based on
destination prefix ?
I mean that if I call 056XXXXX I want to use GW1. For 06XXXX I want to
use GW2, etc.
Thank you for your opinion.
Regards,
Adrien
Hello,
I have a question about the "priority" in the dispatcher module. I looked
in the docu-wiki and there was nothing which actually described how this
field is used (exactly), so I can only guess or ask the list.
Say I have 3 destinations in a set:
set: 1
dest: sip:1.2.3.4:5060
priority: 1
set: 1
dest: sip:1.2.3.5:5060
priority: 1
set: 1
dest: sip:1.2.3.6:5060
priority: 0
I am using ds_select_domain("1","4") to retrieve my list of destinations.
In this scenario, would the calls only route to 1.2.3.6 if .4 and .5 were
both out of service?
Thanks.
hi all,
i have using RTP proxy, and i see that RTP stream is handled by RTP proxy. so
how to configure in kamailio or which module make RTP stream direct from sip
client to another one ?
please suggest if anyone know.
thanks.
TRUONG NGOC THANH
Telecommunications Engineer
Tel: 0984 480 646
Y!M: ngoc217thanh
Hello All,
I'm using Kamailio as a Border controller for my VoIP Research project at my
school.
The problem I'm facing is Kamailio routes the traffic to the private network
where my asterisk machine is listening.
The asterisk machine responds to the Kamailio using the public network but
not the private. Is this an issue with Asterisk? If so how do I resolve it?
client kam_public Kam_pvt Ast_pvt Ast_public
| | | |
|
| | | |
|
| INVITE | | |
|
|---------------->| | INVITE | |
| | |---------->| |
| | | |
|
| | | |
|
| | | |
|
| | | 404 |
|
| |<----------|-----------|-----------|
| | | |
|
| | | ACK |
|
| | |---------->| |
| | | |
|
| 404 | | |
|
|<----------------| | | |
| | | |
|
| ACK | | |
|
|---------------->| | | |
| | | |
|
| | | |
|
Regards
Gnaneshwar
please cc all the time the mailing list: sr-users(a)lists.sip-router.org
On 8/25/10 1:16 PM, Anders wrote:
> Thanks Daniel. I found out that the sip_trace was pretty straight
> forward to turn off, by running "kamctl fifo sip_trace off". So far,
> so good - no more massive data collection on that. Now I need to stop
> the radius accounting from collecting data to the 'radacct' table. I
> want to continue whatever goes to 'acc' - but I don't know if that
> data comes from the radius accounting too(?). So what do I do to stop
> collecting to 'radacct' but continue to 'acc'?
Accounting to radius is done by setting radius flag. Just remove all
parameters to acc module that starts with radius_*
Cheers,
Daniel
> Thanks!!
>
> --Anders
>
> On Mon, Aug 23, 2010 at 11:09 AM, Daniel-Constantin Mierla
> <miconda(a)gmail.com> wrote:
>> Hello,
>>
>> On 8/23/10 9:32 AM, Anders wrote:
>>> Hi,
>>>
>>> This concerns third party tools...I suspect.
>>>
>>> First - I run Kamailio 1.5 and use Siremis to calculate the calls
>>> (actually just the stored procedure and cron job defined, not the
>>> interface).
>>>
>>> I have earlier been messing around with CDRTools and radius, but I
>>> don't use these anymore. However, they seem to still be generating
>>> lots of data on this server and overloading MySql - so I really want
>>> to get rid of them. Specifically are my radacct and sip_trace tables
>>> in MySql getting huge, and keep being populated...and I want to stop
>>> this 'madness'. What do I do to stop/remove this? without putting the
>>> current installation at risk)
>> what do you want to clean? the radius accounting and siptrace from your
>> config?
>>
>> If yes, then just edit kamailio config and remove parameters for radius
>> accounting and the siptrace module as well as sip_trace() function and
>> siptrace parameter from there.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> http://www.asipto.com/
>>
>>
--
Daniel-Constantin Mierla
http://www.asipto.com/
Hi,
This concerns third party tools...I suspect.
First - I run Kamailio 1.5 and use Siremis to calculate the calls
(actually just the stored procedure and cron job defined, not the
interface).
I have earlier been messing around with CDRTools and radius, but I
don't use these anymore. However, they seem to still be generating
lots of data on this server and overloading MySql - so I really want
to get rid of them. Specifically are my radacct and sip_trace tables
in MySql getting huge, and keep being populated...and I want to stop
this 'madness'. What do I do to stop/remove this? without putting the
current installation at risk)
Thanks!!
//Anders
Dear Sir,
I just wanted to inform the good people on this forum that i had corrected the problem with the Config file, and the server is running.
I noticed on going over the file again that i Fat fingered some keys ;)
Sorry for any inconvenience my post may have caused anyone.
Thanks for the good work you are doing.
Best Regards,
Anthony.
Hi,
I made an attempt at installing kamailio-3.0.3 in a box yesterday and ran into a config file error on testing the installation.
0(3232): <core> [cfg.y:3333] parse error in config file /usr/local/etc/kamailio/kamailio.cfg line 24, column 6 : synthax error
0(3232): <core> [cfg.y:3333] parse error in config file /usr/local/etc/kamailio/kamailio.cfg line 74, column 6 : unkown config variable
0(3232): <core> [cfg.y:3333] parse error in config file /usr/local/etc/kamailio/kamailio.cfg line 74, column 7 :
For me, this error is unexplainable as i am yet to find anything wrong with the lines in question. ( besides, i did not even touch the lines it says are in error )
But for sake of clearity, please bear with me as i post the Much of the config file as i would like to be corrected and assisted.
Thanks in anticipation
Anthony.
- - - - - - - - - - - - - - - - - -
#!KAMAILIO
#
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_USRLOCDB
#
# $Id$
#
# Kamailio (OpenSER) SIP Server v3.0 - basic configuration script
# - web: http://www.kamailio.org
# - git: http://sip-router.org
#
# Direct your questions about this file to: <users(a)lists.kamailio.org>
#
# Refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php
# for an explanation of possible statements, functions and parameters.
#
# Several features can be enabled using '
#!define WITH_FEATURE' directives:
#
# *** To run in debug mode:
# - define WITH_DEBUG
#
# *** To enable mysql:
- define WITH_MYSQL
#
# *** To enable authentication execute:
- enable mysql
- define WITH_AUTH
- add users using 'kamctl'
#
# *** To enable persistent user location execute:
- enable mysql
- define WITH_USRLOCDB
#
# *** To enable presence server execute:
# - enable mysql
# - define WITH_PRESENCE
#
# *** To enable nat traversal execute:
# - define WITH_NAT
# - install RTPProxy: http://www.rtpproxy.org
# - start RTPProxy:
# rtpproxy -l _your_public_ip_ -s udp:localhost:7722
#
# *** To enable PSTN gateway routing execute:
# - define WITH_PSTN
# - set the value of pstn.gw_ip
# - check route[PSTN] for regexp routing condition
#
# *** To enhance accounting execute:
- enable mysql
- define WITH_ACCDB
- add following columns to database
!ifdef ACCDB_COMMENT
ALTER TABLE acc ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT '';
ALTER TABLE acc ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT '';
ALTER TABLE acc ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT '';
ALTER TABLE acc ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT '';
ALTER TABLE acc ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT '';
ALTER TABLE missed_calls ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT '';
ALTER TABLE missed_calls ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT '';
ALTER TABLE missed_calls ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT '';
ALTER TABLE missed_calls ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT '';
ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT '';
!endif
####### Global Parameters #########
#!ifdef WITH_DEBUG
debug=4
log_stderror=yes
#!elsedebug=2
log_stderror=no
#!endif
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
fork=yes
children=4
/* uncomment the next line to disable TCP (default on) */
#disable_tcp=yes
/* uncomment the next line to disable the auto discovery of local aliases based on revers DNS on IPs (default on)
*/#auto_aliases=no
port=5060
/* uncomment and configure the following line if you want Kamailio to
bind on a specific interface/port/proto (default bind on all available) */
#listen=udp:10.0.0.10:5060
####### Custom Parameters #########
# These parameters can be modified runtime via RPC interface
# - see the documentation of 'cfg_rpc' module.
#
# Format: group.id = value 'desc' description
# Access: $sel(cfg_get.group.id) or @cfg_get.group.id
#
#!ifdef WITH_PSTN
# PSTN GW Routing
#
# - pstn.gw_ip: valid IP or hostname as string value, example:
# pstn.gw_ip = "10.0.0.101" desc "My PSTN GW Address"
#
# - by default is empty to avoid misrouting
pstn.gw_ip = "" desc "PSTN GW Address"
#!endif
####### Modules Section ########
#set module path
mpath="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/"
/* uncomment next line for MySQL DB support */
!ifdef WITH_MYSQL
loadmodule "db_mysql.so"
#!endif
loadmodule "mi_fifo.so"
loadmodule "kex.so"
loadmodule "tm.so"
loadmodule "tmx.so"
loadmodule "sl.so"
loadmodule "rr.so"
loadmodule "pv.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "uri_db.so"
loadmodule "siputils.so"
loadmodule "xlog.so"
loadmodule "sanity.so"
loadmodule "ctl.so"
loadmodule "mi_rpc.so"
loadmodule "acc.so"
#!ifdef WITH_AUTH
loadmodule "auth.so"
loadmodule "auth_db.so"
#!endif
/* uncomment next line for aliases support
NOTE: a DB (like db_mysql) module must be also loaded */
#loadmodule "alias_db.so"
/* uncomment next line for multi-domain support
NOTE: a DB (like db_mysql) module must be also loaded
NOTE: be sure and enable multi-domain support in all used modules
(see "multi-module params" section ) */
#loadmodule "domain.so"
#!ifdef WITH_PRESENCE
loadmodule "presence.so"
loadmodule "presence_xml.so"
#!endif