Hello,
is it possible from route get info about all calls in ringing state? (for
call pickup implementation)
Is it better to do via dialogs or presence modules?
--
Aydar A. Kamalov
Hi,
I have enabled both cnxcc and ACC cdr flags.
The call is dropped when the credit is got over (its handling by cnxcc
correctly.) In this case the details are not storing in the ACC_cdr table.
I am not sure what I am missing.
in cfg:
if (loose_route()) {
route(DLGURI);
if (is_method("BYE")) {
setflag(FLT_ACC); # do accounting ...
setflag(FLT_ACCFAILED); # ... even if the
transaction fails
Error:
2(19484) ERROR: acc [acc_cdr.c:373]: write_cdr(): message is empty!
2(19484) ERROR: acc [acc_cdr.c:656]: cdr_on_end_confirmed(): failed to
write cdr!
Please Guid me.
Thanks & Kind Regards,
*Logeshwaran G*
*"Be Hungry, Stay Foolish"*
Downloaded new Siremis version via "git clone" and replaced /var/www/
content by new files. Now any menu entry gives the following error:
https://pastebin.com/hV8ngRVx
If if copy old Siremis files back, everything works fine.
So I'm using a Polycom VVX 310 with Presence enabled (both on Phone and Kamailio) and the phone is sending SUBSCRIBE messages but not PUBLISH. I have tried various phone configurations without success. The closest thread to my situation I found online said this:
"The thing is Polycom phones perform end-to-end subscription to presence event.
It worked when I changed the routing configuration to simply relay the SUBSCRIBE request to the monitored device.
(I'm using OpenSER as SIP proxy.)"
I'm not sure if this is correct as it's from 2012, but in the case that it is I don't quite understand how to implement this. Any help on how to edit the config file?
John Janke
Progressive Innovation and Automation, Inc.
PO BOX 309
Plainfield, IL 60544
Direct: 847.316.9028
Office: 800.688.9051 x 55328
Fax: 630.860.1017
Thanks Daniel-Constantin Mierla,
I followed your recommendation, and began to use a date column as INT. Then, I started to insert the date as unix_timestamp, like this (unix_timestamp(now())), which was the only way the graphic showed the date correctly (Active_Failed_Dialogs_4_hours - From 2017-09-15 12:04:01 To 2017-09-15 16:00:01), I failed inserting (now()+0), siremis didn't understand this format too.
Cheers,
Hto
Now
No Matter How Hard The Past, You Can Always Begin Again ~
--------------------------------------------
On Thu, 9/14/17, Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
Subject: Re: [SR-Users] Siremis graph time format is a bug!?
To: "Humberto Rodríguez" <humberj77(a)yahoo.es>, "Kamailio (SER) - Users Mailing List" <sr-users(a)lists.kamailio.org>, sr-users(a)lists.sip-router.org
Date: Thursday, September 14, 2017, 4:09 AM
Hello,
try to set the type of the time column to int, so it
is retrieved
as numeric timestam, not as formated datetime.
Cheers,
Daniel
On 13.09.17 05:39, Humberto Rodríguez wrote:
Hello:
I added a graphic to Siremis of my actives dialogs. But, it
only shows unix time (From 1969-12-31 19:33:37 To1969-12-31
19:33:37) as Xaxis (19:33). I had siremis 4.2 and never
saw it correctly, I just updated to Siremis 4.4 and I see
the same problem.Please see the attachment file with the
graph, and my configuration files and table bellow
Thanks in advance.
My /var/www/siremis-4.4.0/siremis/modules/ser/view/xxxx.xml
file
<?xml version="1.0"
standalone="no"?>
<EasyView Name="ChartsSumdialogsView"
Description="Charts" class="EasyView"
Tab="" TemplateEngine="Smarty"
Access="SERAdmin.Administer_Modules"
TemplateFile="view.tpl">
<FormReferences>
<Reference
Name="ser.cms.form.ChartsForm"/>
</FormReferences>
</EasyView>
-----------------------------------------------------------
My siremisCharts.xml
----------------------------------------------------------
<ChartGroup name="sumdialogs">
<Chart name="sumdialogs"
table="active_dialogs"
title="Active_Failed_Dialogs"
type="area" order="reverse"
orderby="ORDER BY id DESC"
limit="LIMIT 10080">
<XAxis>
<!-- <Item
name="date_created"
data="hour(date_created)"
title="date_created"
type="timestamp"/> -->
<Item
name="date_created" data="date_created"
title="date_created"
type="timestamp"/>
</XAxis>
<YAxis>
<Item
name="active_dialogs"
data="active_dialogs"
title="active_dialogs" type="dataset"
color="#D02020"/>
<Item name="failed_dialogs"
data="failed_dialogs"
title="failed_dialogs" type="dataset"
color="#DFC329"/>
</YAxis>
</Chart>
</ChartGroup>
---------------------------------------------------------------------------------------
See bellow, the portion of the table used to build the
graphic, the column "date_created" is the
problem, and the format is "TIMESTAMP"
------------------------------------------------------------------------------------------
# id, date_created, active_dialogs, early_dialogs,
expired_dialogs, failed_dialogs, processed_dialogs,
'1', '2017-04-11 14:40:40', '220',
'0', '1219', '37', '6879491'
'2', '2017-04-11 14:42:02', '206',
'0', '1219', '37', '6879604'
'3', '2017-04-11 14:43:01', '215',
'0', '1219', '37', '6879685'
'4', '2017-04-11 14:44:01', '191',
'0', '1220', '37', '6879744'
'5', '2017-04-11 14:45:02', '203',
'0', '1220', '37', '6879837'
'9', '2017-04-11 14:46:01', '211',
'0', '1220', '37', '6879929'
'11', '2017-04-11 14:47:01', '234',
'0', '1220', '37', '6880019'
'12', '2017-04-11 14:48:01', '222',
'0', '1220', '37', '6880087'
----------------------------------------------------------------------------------------------------------------------------------
No Matter How Hard The Past, You Can Always Begin
Again ~
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda
-- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com
Hi,
Is there any way to implement my own C or Java program in kamailio.cfg to
Validate my own scenarios?
Thanks & Kind Regards,
*Logeshwaran G*
*"Be Hungry, Stay Foolish"*
Hi All,
Am trying to replace the user part of From header with own user name in kamailio.cfg
I tried to assign directly,
Eg: $fU = "abcd"
Sometime when I receive From header as ' "12345" <12345(a)1.1.1.1>;tag=xxxx '. In this case it works as ' "12345" <abcd(a)1.1.1.1>;tag=xxxx ' .
So i tried using replace_all() function. But this ended up adding extra characters(in my case "abcd") infront of content_type header. I dont know why.
Can someone please help me out in replacing the from header in this case?
Thanks,
Vivek
Hi All,
kamctl ul show => show below result, does that mean max 1024 contact can be
registered, if that is the case how to increase the max registration limit.
Domain:: location table=*1024 *records=2 max_slot=1
Thanks