Re: [SR-Users] Kamailio Presence help required.

2017-03-08 Thread Phil Lavin
: Re: [SR-Users] Kamailio Presence help required. Hi Phil, That did help improve the situation; but I've noticed that now when a phone boots up and sends for SUBSCRIBE its gets a NOTIFY for the request with state 'terminated' even if the other side is Online/Active. Here is

Re: [SR-Users] Kamailio Presence help required.

2017-03-08 Thread SamyGo
"override_lifetime", 14420) > > modparam("pua_dialoginfo", "callee_trying", 1) > > modparam("pua_dialoginfo", "disable_caller_publish_flag", > FLT_DISABLE_CALLER_PUBLISH) > > modparam("pua_dialoginfo", "disable_callee

Re: [SR-Users] Kamailio Presence help required.

2017-03-07 Thread Phil Lavin
("pua_dialoginfo", "send_publish_flag", FLT_DLGINFO) modparam("pua_dialoginfo", "override_lifetime", 14420) modparam("pua_dialoginfo", "callee_trying", 1) modparam("pua_dialoginfo", "disable_caller_publish_flag", FL

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread SamyGo
g' indicates > only different call states, but also hold more info about a call. In > 'dialog' case XML does not even has an option to indicate, that phone is > online or offline. > > Refer to *https://tools.ietf.org/html/rfc3856* > <https://tools.ietf.org/html/rfc3856> and >

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread Igor Olhovskiy
lists.sip-router.org] On Behalf Of > SamyGo > Sent: 06 March 2017 15:50 > To: Daniel-Constantin Mierla ; Kamailio (SER) - Users > Mailing List > Subject: Re: [SR-Users] Kamailio Presence help required. > > > > > > Thanks Daniel for replying, > > > Yes the BL

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread Phil Lavin
Mailing List Subject: Re: [SR-Users] Kamailio Presence help required. Thanks Daniel for replying, Yes the BLF/Callstates are working fine. Problem arise when a phone reboots and initially has no Lights indication. These are the traces from a Working old-box(not-kamailio) - Kindly guide why my

Re: [SR-Users] Kamailio Presence help required.

2017-03-06 Thread SamyGo
Thanks Daniel for replying, Yes the BLF/Callstates are working fine. Problem arise when a phone reboots and initially has no Lights indication. These are the traces from a Working old-box(not-kamailio) - Kindly guide why my Kamailio is unable to send the "immediate NOTIFY" regarding the current st

Re: [SR-Users] Kamailio Presence help required.

2017-03-05 Thread Daniel-Constantin Mierla
Hello, from your description, I don't see a problem from the specs point of view, but more like something that you would like to have. If UA subscribers only for dialog event, then it gets NOTIFY requests only for dialog states (new call, ..., termintated call). When it subscribers for presence,

[SR-Users] Kamailio Presence help required.

2017-03-03 Thread SamyGo
Hi, I'm in need of making/tweak an existing Kamailio Presence setup which is giving some tough time. *Whats already working:* BLF dialog states changes are already sent across the users. SCA is working as well. *What isn't working:* When a User comes online then it sends SUBSCRIBE with *Event: di

Re: [SR-Users] Kamailio presence

2016-08-10 Thread Bill
Thanks, Daniel. Now I am left with my basic problem: I cannot get notify messages to flow to the watcher phone. I get PUBLISH packets from the watched phone (1020129), like this: PUBLISH sip:1020...@xxx.xxxr.net:5020;transport=UDP SIP/2.0 Via: SIP/2.0/UDP xxx9:1026;branch=z9hG4bK-d8754z-c08

Re: [SR-Users] Kamailio presence

2016-08-10 Thread Daniel-Constantin Mierla
On 09/08/16 17:57, Bill wrote: > Daniel: > > Never Mind. Found the source of this problem. Had presence set to > modparam("presence", "subs_db_mode", 3). Changed it back to 2 and now > the entries persist in the db. > However, I am still getting the Could not find subs_dialogerror. That's not rea

Re: [SR-Users] Kamailio presence

2016-08-09 Thread Bill
"@" + $sel(cfg_get.voicemail.srv_ip) + ":" + $sel(cfg_get.voicemail.srv_port); } else { if($rU==$null) return; xlog("READY TO ROUTE to $rU"); $ru = "sip:" + $rU + "@" + $sel(cfg_get.voicemail.srv_ip)

Re: [SR-Users] Kamailio presence

2016-08-09 Thread Bill
"@" + $sel(cfg_get.voicemail.srv_ip) + ":" + $sel(cfg_get.voicemail.srv_port); } else { if($rU==$null) return; xlog("READY TO ROUTE to $rU"); $ru = "sip:" + $rU + "@" + $sel(cfg_get.voicemail.srv_ip)

Re: [SR-Users] Kamailio presence

2016-08-09 Thread Bill
Daniel: Never Mind. Found the source of this problem. Had presence set to modparam("presence", "subs_db_mode", 3). Changed it back to 2 and now the entries persist in the db. However, I am still getting the Could not find subs_dialogerror. Thanks, Bill On 08/09/2016 12:36 AM, Daniel-Constant

Re: [SR-Users] Kamailio presence

2016-08-09 Thread Daniel-Constantin Mierla
[$fu/$tu/$ru/$ci]\r\n\r\n"); >>> >>> handle_publish(); >>> t_release(); >>> } else if(is_method("SUBSCRIBE")) { >>> xlog("HANDLE SUBSCRIBE"); >>> >>> xlog("SUBSCRIBE R

Re: [SR-Users] Kamailio presence

2016-08-08 Thread Bill
UTE to $rU"); $ru = "sip:" + $rU + "@" + $sel(cfg_get.voicemail.srv_ip) + ":" + $sel(cfg_get.voicemail.srv_port); xlog("READY TO ROUTE to $ru"); } route(RELAY); exit; #!endif return; } # Manage outgoing branches

Re: [SR-Users] Kamailio presence

2016-08-08 Thread Bill
"); $ru = "sip:" + $rU + "@" + $sel(cfg_get.voicemail.srv_ip) + ":" + $sel(cfg_get.voicemail.srv_port); xlog("READY TO ROUTE to $ru"); } route(RELAY); exit; #!endif return; } # Manage outgoing branches

Re: [SR-Users] Kamailio presence

2016-08-06 Thread Bill
voicemail.srv_ip) + ":" + $sel(cfg_get.voicemail.srv_port); xlog("READY TO ROUTE to $ru"); } route(RELAY); exit; #!endif return; } # Manage outgoing branches branch_route[MANAGE_BRANCH] { xdbg("new branch [$T_branch_idx] to $ru\n

Re: [SR-Users] Kamailio presence

2016-08-02 Thread Phil Lavin
bject: [SR-Users] Kamailio presence I have asked this question before, but never really got an answer: Has anybody been able to get BLF working with Yealink phones. Bill ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

Re: [SR-Users] Kamailio presence

2016-08-02 Thread Phil Lavin
der applicable law. If you have received this transmission in error, or are not the named recipient(s), please notify the sender immediately by return e-mail and permanently delete this transmission, including any attachments. Security: This e-mail and any attachments are believed to be free

Re: [SR-Users] Kamailio presence

2016-08-02 Thread Phil Lavin
I've done quite a bit with Kamailio BLF recently. I have a Yealink T41P on my desk here - I'll give it a whirl. -Original Message- From: Phil Lavin Sent: 02 August 2016 10:26 To: Kamailio (SER) - Users Mailing List Subject: RE: [SR-Users] Kamailio presence I've done q

[SR-Users] Kamailio presence

2016-08-01 Thread Bill
I have asked this question before, but never really got an answer: Has anybody been able to get BLF working with Yealink phones. Bill ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http:/

Re: [SR-Users] Kamailio presence shared DB_text

2015-09-20 Thread Daniel-Constantin Mierla
Hello, some information is still cached for some processing in presence modules. Not sure to what extent you can rely on sharing everything via database, maybe t_replicate will help for the rest of the cases. I think posgress is the db that has the most features needed by presence modules for sha

Re: [SR-Users] Kamailio presence shared DB_text

2015-09-20 Thread Ewgeny
Thanks for the reply Daniel. But is that possible to use the same Presence DB with multiple Kamailio's ? If i'll use same postgres DB with multiple Kamailio's - it'll cause DB locks and other issues ? What is the best way to do SUBSCRIBE presence replications - maybe via SIP (to replicate eve

Re: [SR-Users] Kamailio presence shared DB_text

2015-09-17 Thread Daniel-Constantin Mierla
Hello, db_text is not a database engine with a replication mechanism, it is just some basic DB API emulator using text files as storage. At runtime all the records are in memory, so no sharing between instances is possible. If you need replication/shared db, go for the well known ones like mysql

[SR-Users] Kamailio presence shared DB_text

2015-09-15 Thread Ewgeny
Hi list! We use Kamailio 4.2 for presence BLF with DB_TEXT. And i want to make cluster with a few Kamailio's presences, to load balance. Can you please tell me - is that possible to use same shared DB_TEXT database with 2 or more Kamailio servers ? modparam("presence", "subs_db_mode", 3) mo

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-27 Thread José Seabra
Hello Daniel, Ok, let me know when you get a solution. Thank you for your reply, Best Regards 2015-08-27 10:58 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > it looks like the presence modules rely on default values that can be > specified with sql table definition. Iirc, that is not possib

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-27 Thread Daniel-Constantin Mierla
Hello, it looks like the presence modules rely on default values that can be specified with sql table definition. Iirc, that is not possible with mongodb. I will think of a solution for it. Cheers, Daniel On 18/08/15 16:02, José Seabra wrote: > Hello, > > Now after kamailio startup seems that pr

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-18 Thread José Seabra
Hello, It is working now, so summarizing about what we need to do in mongodb to kamailio starts up is: Access to Mongodb cli Create databases kamailio > use kamailio switched to db kamailio > > db kamailio create collection named version > db.createCollection("version") > show collections s

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-18 Thread Daniel-Constantin Mierla
Hello, if I remember correctly, the default type for numbers is float/double. You have to use a special form/function in mongo client when inserting a record to force the type of the value to be integer. Perhaps searching on the web of how to insert an integer value in mongodb will give you the p

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-18 Thread José Seabra
Hi, Well i didn't noticed before, but after create a document in mongodb the error that kamailio gives now is different but it still related with table version check. Seems that kamailio can query the document successfully and get the table_version field. 0(3068) DEBUG: db_mongodb [mongodb_dbas

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-18 Thread Daniel-Constantin Mierla
Hello, can you run with debug=3 and see what is printed in syslog? Cheers, Daniel On 18/08/15 11:36, José Seabra wrote: > Hi Daniel, > > Thank you for your reply, > > I did what you suggested in your last email, but the issue remains, > maybe i did something wrong, so in order we try understand

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-18 Thread José Seabra
Hi Daniel, Thank you for your reply, I did what you suggested in your last email, but the issue remains, maybe i did something wrong, so in order we try understand if i did or not something wrong please have a look at the mongodb commands to create db, collection and document. > use kamailio swi

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-17 Thread Daniel-Constantin Mierla
Indeed the issue is related to checking the version table. You have to create a collection named "version" in kamailio database, then add the records for the tables you are using with the fields: - table_name corresponding to the table name (e.g., presentity) - table_version value as in lib/sr

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-17 Thread José Seabra
This shouldn't check the table version in mongodb or i'm wrong? Best regards 2015-08-17 16:45 GMT+01:00 José Seabra : > I have tried that but kamailio gave me the following error: > > 0(2344) ERROR: [db.c:435]: db_check_table_version(): invalid > version 0 for table presentity found, expected 4

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-17 Thread José Seabra
I have tried that but kamailio gave me the following error: 0(2344) ERROR: [db.c:435]: db_check_table_version(): invalid version 0 for table presentity found, expected 4 (check table structure and table "version") 0(2344) ERROR: presence [presence.c:358]: mod_init(): error during table version

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-17 Thread Daniel-Constantin Mierla
Hello, do not remember exactly if you need to create an empty collection, anyhow, the main idea is that there is no table definition, because mongo is a document-storage like engine. The records store all the details about all the fields. In other words, you should be ready to go after basic setu

[SR-Users] kamailio presence server using db_mongodb as database

2015-08-17 Thread José Seabra
Hello all, I would like to test my presence server using db_mongodb as database server instead of using mysql, but i don't find any documentation explaining how i can configure mongodb database(data structure) for presence or even for the other kamailio modules. Can someone guide me in this setup

Re: [SR-Users] Kamailio presence (NAT, XCAP)

2014-07-18 Thread Daniel-Constantin Mierla
Hello, indeed it is sad that IETF could come up with very complex presence specifications for sip. Given that, it will not be easy to explain here the full architecture of presence signaling and interaction with xcap server. Maybe you can get more inspiration from two tutorials out there: -

[SR-Users] Kamailio presence (NAT, XCAP)

2014-07-08 Thread Radu Vatav
Hello, I'm just trying to use SIP as a replacement for Skype, nothing more than that. All is working except of presence. Using Jitsi 2.4.4997 (Windows x64) from home behind NAT and kamailio 4.1.4+wheezy on a rented server somewhere. My biggest problem is that I don't know exactly how it is suppos

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-28 Thread ??/kl
hello can you help me ? i really cannt find other ways to solve this. i just add socket ,then occur so big problem, how i can do this ?___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http:/

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-27 Thread Daniel-Constantin Mierla
On 26/12/13 16:55, Juha Heinanen wrote: Daniel-Constantin Mierla writes: I looked quickly over the code and it seems that in 4.0 there are some error cases when an acquired lock is not released. yes, there was a few error and done goto cases where lock was not released. hopefully i caught th

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-27 Thread ??/kl
i very thanks you to answer my question so quickly. so there are no problem in my add codes ?___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-27 Thread ??/kl
dear : now i just register and unregister ,the kamailio stop ,why? below is bebug: DEBUG: [parser/msg_parser.c:629]: parse_msg(): method: 8(3563) DEBUG: [parser/msg_parser.c:631]: parse_msg(): uri: 8(3563) DEBUG: [parser/msg_parser.c:633]: parse_msg(): version: 8(3563) DE

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-26 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I looked quickly over the code and it seems that in 4.0 there are some > error cases when an acquired lock is not released. yes, there was a few error and done goto cases where lock was not released. hopefully i caught them all. if i don't see any objections,

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-23 Thread Daniel-Constantin Mierla
On 23/12/13 14:25, Juha Heinanen wrote: file http://box.tutpro.com/tmp/gdb_kamailio_20131223_145323 contains gdb bt of all presence server processes when presence server is not responding to any new requests. looks like several processes are in futexlock.h if that tells something. It is a sign

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-23 Thread Daniel-Constantin Mierla
Hello, On 23/12/13 12:12, Juha Heinanen wrote: Klaus Darilion writes: utils/kamctl: new command 'trap' - useful to get a full bt dump of all kamailio processes - handy in dead-lock investigatigations klaus, thanks for the pointer. i pulled out shell script from it (below). it would b

[SR-Users] kamailio presence server becomes unresponsive

2013-12-23 Thread Juha Heinanen
Juha Heinanen writes: > file http://box.tutpro.com/tmp/gdb_kamailio_20131223_145323 contains gdb bt > of all presence server processes when presence server is not responding to > any new requests. looks like several processes are in futexlock.h if that > tells something. > > this is with kamaili

[SR-Users] kamailio presence server becomes unresponsive

2013-12-23 Thread Juha Heinanen
file http://box.tutpro.com/tmp/gdb_kamailio_20131223_145323 contains gdb bt of all presence server processes when presence server is not responding to any new requests. looks like several processes are in futexlock.h if that tells something. this is with kamailio 4.0. -- juha __

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-23 Thread Juha Heinanen
Klaus Darilion writes: > utils/kamctl: new command 'trap' > - useful to get a full bt dump of all kamailio processes > - handy in dead-lock investigatigations klaus, thanks for the pointer. i pulled out shell script from it (below). it would be still nice to know how kamailio is dispatchin

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-23 Thread Klaus Darilion
FYI: In master there is a nice way to get all the BTs: utils/kamctl: new command 'trap' - useful to get a full bt dump of all kamailio processes - handy in dead-lock investigatigations regards Klaus On 20.12.2013 19:06, Daniel-Constantin Mierla wrote: Hello, the bt is from custom timer proc

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-20 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > the bt is from custom timer process, which doesn't handle sip requests > from the network. ok, that just happened to be the one that according to 'top' used most cpu time. > Do a 'kamctl ps' and the select one of the sip workers to grab the back > with gdb.

Re: [SR-Users] kamailio presence server becomes unresponsive

2013-12-20 Thread Daniel-Constantin Mierla
Hello, the bt is from custom timer process, which doesn't handle sip requests from the network. Do a 'kamctl ps' and the select one of the sip workers to grab the back with gdb. Cheers, Daniel On 20/12/13 15:22, Juha Heinanen wrote: once in a while kamailio 4.0 presence server becomes unr

[SR-Users] kamailio presence server becomes unresponsive

2013-12-20 Thread Juha Heinanen
once in a while kamailio 4.0 presence server becomes unresponsive, i.e., does not process any requests. below is bt full of a process that at that time takes most of the cpu time. rls_notifier_processes is not set, i.e., it defaults to 1. does the bt give any clue why kamailio is unresponsive?

[SR-Users] kamailio presence and XCAP related issue

2013-09-16 Thread Rupayan Dutta
Dear All, .May be I couldn't express my doubt properly ijn my earlier mails.Actually we were testing OfficeSIP server with SipML5 client for multiparty videoconferencing with presence enabled for showing buddy list and it is working properly.Now as we moved to kamailio with same client and configu

[SR-Users] Kamailio Presence module

2013-08-23 Thread Kethzer Docteur
I'm using kamailio 4.1 Im having problem to see witch user is online, I have the module presence.so and presence_xml.so load into the config file of Kamailio.cfg. #!ifdef WITH_PRESENCE # - presence params - modparam("presence", "db_url", DBURL) modparam("presence", "presentity_table", "pre

[SR-Users] Kamailio presence with RLS

2012-10-11 Thread Sangeeta Shah
Hello Everyone, Has anyone had any luck getting RLS working with presence. I am seeing the following errors in my log file: ct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG: presence [hash.c:342]: record not found in hash table Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kam

Re: [SR-Users] Kamailio Presence module

2012-09-20 Thread Gary Shergill
Hi Andreas, === > At the moment I am able to log on to a SIP Client using the details; > > @. === It seems I am mistaken about this - you can log in using any random name @ kamailioserver . domain, but either way I'm pretty sure SylkServer is recognising the Kamail

Re: [SR-Users] Kamailio Presence module

2012-09-19 Thread Gary Shergill
Hi Andreas, === >Check what's in line 392, it should give you a hint what's wrong. === That's where it mentions the DBURL. I think I fixed this issue by, instead of using DBURL, I just use the location (mysql://...). That allows Kamailio to restart with no issu

Re: [SR-Users] Kamailio Presence module

2012-09-18 Thread Gary Shergill
Hi again everyone, Changing the DBURL in the kamailio.cfg to what the url is seems to stop the error from before. However, now kamailio is failing to start. The following is the output when kamailio is restarted; root@opensep:~# service kamailio restart Restarting Kamailio: loading modules unde

Re: [SR-Users] Kamailio Presence module

2012-09-18 Thread Andreas Granig
On 09/17/2012 10:36 AM, Gary Shergill wrote: > root@opensep:~# service kamailio restart > Not starting Kamailio: invalid configuration file! > -e > 0(7892) : [cfg.y:3591]: parse error in config file > /etc/kamailio/kamailio.cfg, line 392, column 32-36: syntax error > 0(7892) : [cfg.y:3591]: p

Re: [SR-Users] Kamailio Presence module

2012-09-17 Thread Gary Shergill
Hi Juha, I've double checked and am certain the details I have in Kamailio.cfg are correct for the definition of DBURL. The following is the error that comes up on restart, referring to the DBURL in the code; root@opensep:~# service kamailio restart Not starting Kamailio: invalid configuration f

Re: [SR-Users] Kamailio Presence module

2012-09-15 Thread Juha Heinanen
Gary Shergill writes: > The following is the definition; > > #!define DBURL "mysql://:@localhost/" > > The r/w user and password are those defined in; > > /etc/kamailio/kamctlrc > > Is that correct? I am still getting the same error. i don't know what is defined in /etc/kamailio/kamctlrc, but

Re: [SR-Users] Kamailio Presence module

2012-09-15 Thread Gary Shergill
Hi juha, > i'm not familiar with the default configs, but make sure that you have > DBURL defined somewhere. it could be a name of a macro or something. Thanks for the reply. I've changed the password for the DBURL as I am using something slightly different. T

[SR-Users] Kamailio Presence module

2012-09-13 Thread Juha Heinanen
Gary Shergill writes: > Those lines are as follows; > -- > #!ifdef WITH_PRESENCE > # - presence params - > modparam("presence", "db_url", DBURL) > > # - presence_xml params - > modparam("presence_xml", "db_url", DBURL) > modparam("presence_xml", "force_active",

[SR-Users] Kamailio Presence module

2012-09-13 Thread Gary Shergill
Hi Kamailio Community, Recently installed Kamailio, plan to integrate with SylkServer. Tried the SIP IM feature, but can't seem to get it working. Logged on to Bria and Blink, two seperate accounts. They can call each other, but can't add each other for presence. So I installed the presence mod

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-13 Thread SamyGo
A new discovery.!! This configuration in the first email simply cool and it works. But I think with kam-3.3 it doesn't !! I barely changed just one module param option and it stops working but the same configuration file works perfectly for 3.2 and 3.1 . Though I will work with the 3.2 version bu

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-10 Thread SamyGo
Please see the SIP capture. As I was changing the online status from my jitis and eyebeam phone I could see the publish requests handled by kamailio but isn't it strange that I don'tfind any Notify generated and relayed to the watchers ? BR Sammy On Fri, Aug 10, 2012 at 3:04 PM, SamyGo wrote:

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-10 Thread SamyGo
Thats good enough for me, I'll go through everything and see if I can make it work. Thanks for your help and time. On Fri, Aug 10, 2012 at 3:00 PM, Peter Dunkley < peter.dunk...@crocodile-rcs.com> wrote: > ** > Hi, > > The only documentation I know of is the stuff in the tutorial, the RFCs, > an

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-10 Thread Peter Dunkley
Hi, The only documentation I know of is the stuff in the tutorial, the RFCs, and the Kamailio module documentation. Offline chat is a SIP feature, it has nothing to do with the XCAP server. The XCAP server manages XML documents (presence authorisation rules, contact lists, avatars, etc) and is a

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-10 Thread SamyGo
Yes, Ekiga isn't good with it either. Can you just point me to some documentation and help me on that. I am sure I can get the presence working, but do you know hwo can I manage an offline chat thing in this ! do I need a separate dedicated xcap server for this feature ? On Fri, Aug 10, 2012 at 1

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-10 Thread Peter Dunkley
Hi, XCAP uses HTTP (albeit still carried on port 5060 in this tutorial), messaging and so on uses SIP. These are different protocols and handled in kamailio.cfg differently. Last time I checked Xlite didn't support XCAP at all - so I don't think that's going to work at all. I can't see XCAP/XDM

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-10 Thread SamyGo
Thanks , Yes this tutorial worked for me as well some 5/7 months ago with kamailio 3.1 but I'm on 3.3 now and tried the same configurations file. Jitsi on the other hand is the only phone I found which shows me this error. I'm trying with Ekiga - eyebeam or xlite didn't seem happy with the presenc

Re: [SR-Users] Kamailio Presence with XCAP not working accordingly

2012-08-10 Thread Peter Dunkley
Hi, The xcap-caps document is hard-coded in kamailio.cfg and provides a list of the document types the XCAP server supports. This part of the configuration from the tutorial builds and returns the xcap-caps document: if($xcapuri(u=>auid)=="xcap-caps")

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-21 Thread Roberto Fichera
On 07/21/2011 05:30 PM, Roberto Fichera wrote: > On 07/21/2011 05:10 PM, Roberto Fichera wrote: >> On 07/21/2011 05:00 PM, Roberto Fichera wrote: >>> On 07/21/2011 01:55 PM, Klaus Darilion wrote: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b39747e213e350609761d14583db3e

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-21 Thread Roberto Fichera
= DB1_STR; >>>>>> query_vals[n_query_cols].nul = 0; >>>>>> query_vals[n_query_cols].val.str_val.s = presentity->sender->s; >>>>>> query_vals[n_query_cols].val.str_val.len = presentity->sender->len; >>>>>> n_query_cols++; >&

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-21 Thread Roberto Fichera
;>>>> query_vals[n_query_cols].val.str_val.len = presentity->sender->len; >>>>> n_query_cols++; >>>>> } >>>>> >>>>> From a logical point of view, I believe the sender should not be >>>>> mandatory hence it c

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-21 Thread Roberto Fichera
cal point of view, I believe the sender should not be >>>> mandatory hence it could be generated by a machine - whose >>>> identity/location is not needed. >>>> >>>> Regards, >>>> Marius >>>> >>>> -

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-21 Thread Klaus Darilion
a machine - whose >>> identity/location is not needed. >>> >>> Regards, >>> Marius >>> >>> ------------ >>> *From:* Daniel-Constantine Mierla >>> *To:* SIP

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-21 Thread Roberto Fichera
-- >> *From:* Daniel-Constantine Mierla >> *To:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users >> Mailing List >> *Cc:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - >> UsersMailing List >> *Sent:* W

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-21 Thread Klaus Darilion
Am 20.07.2011 17:34, schrieb Roberto Fichera: > On 07/20/2011 05:18 PM, Klaus Darilion wrote: >> >> Am 20.07.2011 17:00, schrieb Roberto Fichera: >>> ERROR: null value in column "sender" violates not-null constraint >>> STATEMENT: insert into presentity >>> (domain,username,event,etag,expires,bod

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Daniel-Constantin Mierla
- Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing List *Sent:* Wednesday, July 20, 2011 6:53 PM *Subject:* Re: [SR-Users] Kamailio presence server problem with PostgreSQL Hello, Thanks for troubleshooting further. What intrigues me is that the error message from syslog is printe

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Bucur Marius
PM Subject: Re: [SR-Users] Kamailio presence server problem with PostgreSQL Hello, Thanks for troubleshooting further. What intrigues me is that the error message from syslog is printed from store result function, which is used after doing a select query. So something else might have to be review

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Daniel-Constantine Mierla
Hello, Thanks for troubleshooting further. What intrigues me is that the error message from syslog is printed from store result function, which is used after doing a select query. So something else might have to be reviewed as well. Anyhow, missing sender value should be checked, since it is a

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Roberto Fichera
On 07/20/2011 05:34 PM, Roberto Fichera wrote: > On 07/20/2011 05:18 PM, Klaus Darilion wrote: >> Am 20.07.2011 17:00, schrieb Roberto Fichera: >>> ERROR: null value in column "sender" violates not-null constraint >>> STATEMENT: insert into presentity >>> (domain,username,event,etag,expires,body,

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Roberto Fichera
On 07/20/2011 05:18 PM, Klaus Darilion wrote: > > Am 20.07.2011 17:00, schrieb Roberto Fichera: >> ERROR: null value in column "sender" violates not-null constraint >> STATEMENT: insert into presentity >> (domain,username,event,etag,expires,body,received_time ) values >> ('192.168.2.92','roberto'

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Klaus Darilion
Am 20.07.2011 17:00, schrieb Roberto Fichera: > ERROR: null value in column "sender" violates not-null constraint > STATEMENT: insert into presentity > (domain,username,event,etag,expires,body,received_time ) values > ('192.168.2.92','roberto','presence','a.1311173612.4970.2.0',1311177224,' ver

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Roberto Fichera
On 07/19/2011 11:10 PM, Daniel-Constantin Mierla wrote: > Hello, > > can you set the debug=5 in the config file, restart, do the same scenario and > send all the log messages. The error is > printed by db store result function, which is kind of strange considering > that the error message is rela

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-19 Thread Daniel-Constantin Mierla
Hello, can you set the debug=5 in the config file, restart, do the same scenario and send all the log messages. The error is printed by db store result function, which is kind of strange considering that the error message is related to a null constraint. Cheers, Daniel On 7/19/11 11:44 AM,

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-19 Thread Roberto Fichera
On 07/19/2011 11:36 AM, Daniel-Constantin Mierla wrote: > Hello, > > On 7/19/11 10:41 AM, Roberto Fichera wrote: >> Hi all, >> >> I've setup for testing purpose an xcap server with Kamailio v3.1.4 backed >> with a >> postgresql v8.4.8 all in 64bits versions. >> On that configuration, I'm getting t

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-19 Thread Daniel-Constantin Mierla
Hello, On 7/19/11 10:41 AM, Roberto Fichera wrote: Hi all, I've setup for testing purpose an xcap server with Kamailio v3.1.4 backed with a postgresql v8.4.8 all in 64bits versions. On that configuration, I'm getting the errors below and consequently the presence doesn't correctly reports t

[SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-19 Thread Roberto Fichera
Hi all, I've setup for testing purpose an xcap server with Kamailio v3.1.4 backed with a postgresql v8.4.8 all in 64bits versions. On that configuration, I'm getting the errors below and consequently the presence doesn't correctly reports the status. Does anyone has the same problem? Best regard