I got confused:
Using Kamailio 1.4.3
uac_redirect is been used to handle diversion, also the draft expired
there is anew one http://tools.ietf.org/html/draft-levy-sip-
diversion-10, is this used together with the diversion module, or no
need at all.
or is diversion module when you have customers registered in your
system?
I am do not have phones registered in my system at all, i use mainly
the CR module, and i need to allow diversion headers.
which one to use, or both?!
Also i am scare to use the diversion due the CDRs will create a new
record for that, who i will charge the call for?! :)
and if i use UAC_REDIRECT should i be able to use the avp $dip and the
following, from ROUTE to add to the accounting?
Diversion header URI
$di - reference to Diversion header URI
Diversion "privacy" parameter
$dip - reference to Diversion header “privacy” parameter value
Diversion "reason" parameter
$dir - reference to Diversion header “reason” parameter value
__________________________
O the Great
when analyzing the weird problem, where request uri gets rewritten with
aor's contact even when there is no command in config file that would do
it, i noticed these lines in syslog:
Aug 31 16:41:50 /usr/sbin/kamailio[23139]: DBG:core:rewrite_uri: rewriting Request-URI with 'sip:foo.bar@ip-address:5060;transport=UDP'
Aug 31 16:41:50 opensipg /usr/sbin/kamailio[23139]: DBG:registrar:lookup: 'foo.bar@ip-address' Not found in usrloc
Aug 31 16:41:50 opensipg /usr/sbin/kamailio[23139]: DBG:registrar:lookup: 'foo.bar@ip-address' Not found in usrloc
any one has any idea why lookup was called even when it is not in the
script?
this is getting very weird. looks like kamailio is executing statements
on its own.
-- juha
Hello list.
I have a couple of questions about the LCR module.
The first one is about the "ping" column in the gw table. I guess this
column stores the "results" of execute a ping to the gateways in the
LCR.gw table isn't?.
So how this "ping" is executed? It is just a simple ICMP message? Or
maybe is an OPTIONS sip message to the gateway?. I saw in the lcr_mod.c
file some ping_method, ping_interval variables, but in the README file
there is nothing about the "ping". Could someone clarify this to me
this?
Second. In the mysql "gw" table there is a column called "flags".
According to the README file it said that this column can store gateways
"capabilities". For example, and I hope that someone could guide me
here, can i store the maximum channels available per gateway?, and use
it to select or not select a gateway according the gateway channels
used?.
I hope that someone could help me here.
Thank in advance,
Regards,
Ricardo Martinez.-
Hi,
Could someone please explain the usage of the watchers table? I
understand the usage active_watchers, but why the watchers table too?
Thanks,
Catalina
Hi All,
I am using openser-0.9.5 version for embedded application,I am able to
sucessfully cross compile(gcc 2.95) it.however the application fails to
start.
The above SER version is selected based on its compatibility with the cross
compiler.
below are my observations
1.if I run './openserctl start' from the command line I get the below
message
printf: No such file or directory
PID file /var/run/openser.pid does not exist -- OpenSER start failed
2. If I run './openser' from command line I get the below message
Listening on
udp: 192.168.1.22 [192.168.1.22]:5060
tcp: 192.168.1.22 [192.168.1.22]:5060
Aliases:
Too much shared memory demanded: 33554432
Please guide me in fixing this issue.
Thanks in advance.
Ratheendran
Hi,
I'm trying to change "username" field of URI in the INT message. When using rewriteuser() function with avp variable as below, the username is changed to $avp(i:8) itself instead of the value of the avp.
rewriteuser("$avp(i:8)");
I've tried all sorts of diff formats and none of them replace username with the value of avp variable.:
rewriteuser($avp(i:8));
rewriteuser("avp(i:8)");
is this a bug?
Thanks,
A-RS
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:O…
i have always thought that AVPs exits per transaction. that does not
seem to be the case, however, because when i put in the beginning of my
script
xlog("L_INFO", "Caller lcr_id $avp(CALLER_LCR_ID_AVP)\n");
this gets printed to syslog:
Aug 29 11:34:34 localhost /usr/sbin/sip-router[10210]: INFO: Caller lcr_id 2
is this the indented behavior? do i really need to delete all AVPs in
the beginning of the script in order to make sure that they don't have
any values left from processing of previous message?
-- juha
Hello,
I am trying to find the phones that can use tls with certificate, I
mean that the phone doesn't accept incoming calls unless the server
certificate is signed by a public authority or manually added to a
list. For now my conclusions are:
-Snom 360 - works with TLS. But although snom wiki states that a
certificate is needed, incoming calls are accepted even if the
certificate is not uploaded.
-SJPhone - same as snom
-Bria - this is the only phone I could find that works only if the
certificate is loaded.
Has anybody used other phones with tls and can give me a piece of
advice? also, maybe I am not configuring Snom right and that's why it
doesn't need a certificate, any ideas?
Thanks
Catalina
I have followed a bit of the discussions regarding the problems with
memory management between the perl modules and the core kamailio
software.
I need to get append_branch working from within the perl module so
that it doesn't cause a memory leak. It's been a while since I did
any serious straight C programming, but if someone can point me to the
correct way to handle memory allocated with the module so that it gets
freed in the core I'd be glad to take this problem on.
Specifically, I'm using something that looks like:
$m->append_branch("<sip:".$cdpn."\@".$peers{$_}."?From=%3Csip:".
$sourcenumber."@".$destIp."%3E;tag=".$fromtag.">", $qval);
This leaves about 190 bytes per call unfreed.
Thanks.
James Puckett - Engineers' Consulting Group
Phone 229-316-0012 - Fax 229-316-1490