Hi,
I'm looking for any documentation on SIREMIS especially related to the
rating engine. Where can I find it ? Or at least which module(s) are
related to the rating engine. Any help is greatly appreciated.
Thanks.
--
-Dea
I have been playing with this for a couple days.
What I have pulls from the usr_preferences DB and "Should" insert CID
Name and CID Number
What I am ending up with is that the name portion is being sent, not the
number. Is there a certain format that I should add the DID in
usr_preferences?
Also when I changed the AVP type in the DB from a 0 to a 1 the value for
CID DID changes...
can someone help me with correcting this behavior?
avp_db_load("$from","$avp(s:callerid-name)");
avp_db_load("$from","$avp(s:caller-did)");
uac_replace_from("$avp(s:callerid-name)","$avp(s:callerid-did)");
xlog("SIP From Header returned $hdr(From)\n");
xlog("AVP CallerID-Name returned $avp(s:callerid-name)\n");
xlog("AVP CallerID-Ext returned $avp(s:callerid-did)\n");
Thank you,
Joel
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Hello,
It’s my first message here so here is a little introduction about me.
I’m Yoann gini, a french system administrator specialized in Apple product for enterprise. I also manage some other UNIX sever (essentially BSD based) and some windows when customers pay me a lot…
I’m trying to install Kamailio on by personal FreeBSD 10 server. My intend is discover products functionalities and see what can be done whit it. Maybe I can made a package for OS X Server and deploy it along with e-mail and xmpp services when my customers need efficient communication system.
So, at this time, I’m playing with various options and I’ve some problems.
The one who lead me here concern TLS module.
I’m unable to start the service with TLS module enabled, digging into the debug log, I’ve catch those lines:
0(35943) DEBUG: <core> [cfg.y:1635]: yyparse(): loading module tls.so
0(35943) DEBUG: <core> [sr_module.c:591]: load_module(): load_module: trying to load </usr/local/lib64/kamailio/modules/tls.so>
0(35943) INFO: tls [tls_init.c:385]: init_tls_compression(): tls: init_tls: disabling compression...
0(35943) ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <tls> found
It seems that the module is loaded, but impossible to configure…
Here is the output of grep -i tls kamailio.cfg
### #!define WITH_TLS
# *** To enable TLS support execute:
# - adjust CFGDIR/tls.cfg as needed
# - define WITH_TLS
#!ifdef WITH_TLS
listen=tls:<ipv4>:5061
listen=tls:<ipv6>:5061
enable_tls=yes
#!ifdef WITH_TLS
loadmodule "tls.so"
#!ifdef WITH_TLS
# ----- tls params -----
modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg")
And the content of /usr/local/etc/kamailio/tls.cfg
[server:default]
method = TLSv1
verify_certificate = yes
require_certificate = no
private_key = /etc/ssl/keys/my_real_ssl_cert.key
certificate = /etc/ssl/certs/my_real_ssl_cert.crt
ca_list = /etc/ssl/cert.pem
#crl = /usr/local/etc/kamailio/crl.pem
[client:default]
verify_certificate = no
require_certificate = no
After some search, I’ve found this message on the list http://lists.sip-router.org/pipermail/sr-users/2013-August/079439.html
It seems that a bug on OpenSSL side cause some trouble with TLS module…
Is it still true ? How do you manage your TLS configuration ?
I’m using OpenSSL 1.0.1g with kamailio 4.1.2.
Best regards,
Yoann.
Hi All,
When my kamailio server receives an "invite" packet to make a call. I want
the kamailio server to make a decision about call routing. Whether to route
call to other kamailio server or route it to local user.
I want to base this decision on "domain" of called user. This "domain" is to
be picked from "Location List" in database. Both servers are using the same
database.
I have two tasks here. One is to pick the domain of user from "Location
Table" of Siremis.
And secondly, route this call to other server on basis of the string I get
from "Domain" of "Location Table".
Need help regarding changes in kamailio.cfg for this.
Any help will be highly appreciated.
Thanks,
Regards,
Aawaise
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Pick-Domain-name-from-Location-Tabl…
Sent from the Users mailing list archive at Nabble.com.
Hi,
Very new to kamailio, following instruction have copied the examples file for pcscf and ran kamaillo. I have installed ims modules, but I don't see to see any connection initiation towards to PCRF? Any clues on what I am doing wrong.
Thanks.
Dees
root@kamalio:/etc/bind# more /etc/hosts
127.0.0.1 localhost
10.209.96.85 pcscf.kamailio-ims.org kamalio
#10.209.96.92 pcrf.kamailio-ims.org
root@kamalio:/etc/bind# ping pcrf.kamailio-ims.org
PING pcrf.kamailio-ims.org (10.209.96.92) 56(84) bytes of data.
64 bytes from 10.209.96.92: icmp_req=1 ttl=64 time=0.392 ms
in branch route i execute:
t_on_branch_failure("contact");
xlog("L_INFO", "Routing $rm <$ru> to contact\n");
and in branch_failure route i have:
event_route [tm:branch-failure:contact] {
if (t_check_status("486")) {
xlog("L_INFO", "Got 486 response to <$ru>\n");
};
and i get to syslog:
Apr 13 21:44:07 siika /usr/sbin/sip-proxy[17475]: INFO: Routing INVITE <sip:test-0x11107b0@192.98.102.30:5064> to contact
Apr 13 21:44:11 siika /usr/sbin/sip-proxy[17437]: INFO: Got 486 response to <sip:test@test.tutpro.com>
why has $ru in branch_failure route changed from $ru of the branch to
original request uri (aor)?
i would expect to see in $ru of branch_failure route the $ru of the
branch. is this a bug? if not, is there any means in branch_failure
route to get access to the branch that failed.
-- juha
Hello Everyone,
Is possible run kamailio without database ? I got ldap working and extension is registered, but can't place calls between two extensions.
Getting 404 all the time.
Slava.
Hi,
I created an incoming trunk between iptel and my asterisk. Whatever the
account is on iptel I always have in the from of received INVITE < sip
:s@mypublicip :5060 >. < s > is not a recognized DID on my asterisk. Why do
I receive this < s > in the from ??
Many thanks for your help,
Vasco
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com
Hi All,
When a user sends an "invite" packet to make a call. I want to make a
decision about call routing. Whether to route call to other server or route
it to local user.
I want to base this decision on "domain" of called user. This "domain" is to
be picked from "Location List" in database. Both servers are using the same
database.
What changes are to be made in kamailio.cfg ??
Actually in my environment my user can connect to any of the servers. I want
to know to which server it is connected and then make the call routing
decision.
Any help will be highly appreciated.
Thanks,
Regards,
Aawaise
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Editings-in-kamailio-cfg-for-routin…
Sent from the Users mailing list archive at Nabble.com.
Hello, I would like to try customizing the fr_timer for the OPTIONS
keep-alive msgs transactions that the dialog module sends. I tried to call
t_set_fr() function from inside the dialog modules's code (in
dlg_req_within.c , in dlg_send_ka() function after the call to d_tmb.
t_request_within(&uac_r);
But it seems that this tm function is not available from inside other
module's code.
Is the above is the correct place to try and do it, and how can I
programmatically ,inside a module's code, adjust fr_timer?
On a side note, i followed the call flow from dlg_send_ka() down to the
t_uac_prepare() function of tm module, where the fr_timer is set. In there,
there is this comment+code:
/* init timers hack, new_cell->fr_timer and new_cell->fr_inv_timer
* must be set, or else the fr will happen immediately
* we can't call init_new_t() because we don't have a sip msg
* => we'll ignore t_set_fr() or avp timer value and will use directly the
* module params fr_inv_timer and fr_timer -- andrei */
new_cell->fr_timeout=cfg_get(tm, tm_cfg, fr_timeout);
new_cell->fr_inv_timeout=cfg_get(tm, tm_cfg, fr_inv_timeout);
new_cell->end_of_life=get_ticks_raw()+lifetime;
Does this mean that it cant be done in a straighforward way?
Any advice on how I can achieve the customized fr_timers for those messages?
Thanks.