Re: [SR-Users] Presence + RLS + XCAP

2017-03-27 Thread Paul Smith
Hi Daniel, Thanks for the response and link. My config is broadly similar. Presence is working over SIP (e.g. I can SUBSCRIBE and revive NOTIFY messages from the Kamailio Presence server) and XCAP is working over HTTP (e.g I can GET, edit and PUT rls-service and resource-list documents into the

Re: [SR-Users] Presence + RLS + XCAP

2017-03-27 Thread Daniel-Constantin Mierla
Hello, I haven't used snom with rls and xcap, however, my working configs with xcap and based on the config snippet presented at: - http://lists.sip-router.org/pipermail/sr-users/2013-October/079988.html If you are not familiar with, be aware that XCAP should be over http(s). Should you be st

[SR-Users] Presence + RLS + XCAP

2017-03-23 Thread Paul Smith
Hi I am struggling to figure out how to build and test an integrated presence server with Resource-List (rls.so) and XCAP (xcap_server.so). I am confused about what is meant to happen and how to debug it. Not sure if I am suffering from incompatibilities, configuration errors, or bugs… I have

[SR-Users] Presence + RLS + XCAP

2017-03-23 Thread Paul Smith
Longer version of this got blocked by the mail list earlier today… and I have dug a bit deeper since then… I am trying to SUBSCRIBE to a resource-list (rls.so) but the rls_handle_subscribe() is returning with a “list not found" Mar 23 16:36:11 presence kamailio[12536]: DEBUG: rls [subscribe.c:2

[SR-Users] Presence Module do not load db_url

2017-01-29 Thread Vu. Minh Cao
Hi, I got error when loading presense module in Kamailio 4.4: [Configure] loadmodule "presence.so" modparam("presence", "db_url", "mysql://kamailio:kamailiorw@127.0.0.1/kamailio") [Error] ERROR: presence [presence.c:608]: fixup_presence(): Bad config - you can not call 'handle_publish' func

[SR-Users] Presence: Empty reginfo NOTIFY bodies

2016-09-19 Thread Stefan Kohlhauser
Hey everyone! Problem: At startup the presence module for reginfos can get into a state where it is not adding bodies to reginfo NOTIFYs. Setup: We are using the pua_reginfo to let the Kamailio (4.2.6) PUBLISH the current registration state to itself. The body is correctly added to the present

Re: [SR-Users] presence modules not send NOTIFY events

2016-09-05 Thread Daniel-Constantin Mierla
Hello, are the subscribes and publishes for the same presence event? You should run with debug=3 (at least for presence modules via debugger module) and see what is printed there -- there should be some hints on what's happening. Cheers, Daniel On 05/09/16 10:04, Yuriy Gorlichenko wrote: > hi

Re: [SR-Users] presence modules not send NOTIFY events

2016-09-05 Thread Yuriy Gorlichenko
hi guys. can some one help to understand what there can be wrong? 2016-09-01 20:55 GMT+03:00 Yuriy Gorlichenko : > Hi. I trying to implement full presence server > I set config like this (part of it) > > #!define FLT_DLG 9#!define FLT_DLGINFO 10 > > > > modparam("dialog", "timeout_avp", "$avp(i:1

[SR-Users] presence modules not send NOTIFY events

2016-09-01 Thread Yuriy Gorlichenko
Hi. I trying to implement full presence server I set config like this (part of it) #!define FLT_DLG 9#!define FLT_DLGINFO 10 modparam("dialog", "timeout_avp", "$avp(i:10)") modparam("dialog", "dlg_flag", 4) modparam("dialog", "initial_cbs_inscript", 1) modparam("dialog", "profiles_with_value",

Re: [SR-Users] Presence Publish expires

2016-03-24 Thread Igor Olhovskiy
Thanks, will do! 2016-03-23 20:34 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > you can change the expire value in the PUBLISH request, then do > msg_apply_changes() before handling it with presence module function. > > Cheers, > Daniel > > > On 23/03/16 13:17, Igor Olhovskiy wrote: > > Hi! >

Re: [SR-Users] Presence Publish expires

2016-03-23 Thread Daniel-Constantin Mierla
Hello, you can change the expire value in the PUBLISH request, then do msg_apply_changes() before handling it with presence module function. Cheers, Daniel On 23/03/16 13:17, Igor Olhovskiy wrote: > Hi! > Is there any possibility to set Expires in PUBLISH message to never in > Presence module? >

Re: [SR-Users] Presence Publish expires

2016-03-23 Thread Juha Heinanen
Igor Olhovskiy writes: > Yes, but shouldn’t it override by modparam("presence", "max_expires", 3600) You need to set max_expires to accommodate your needs. -- Juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@li

Re: [SR-Users] Presence Publish expires

2016-03-23 Thread Igor Olhovskiy
Yes, but shouldn’t it override by modparam("presence", "max_expires", 3600) 2016-03-23 14:44 GMT+02:00 Juha Heinanen : > Igor Olhovskiy writes: > > > Is there any possibility to set Expires in PUBLISH message to never in > > Presence module? > > I want to have BLF’s that indicates states, that dr

[SR-Users] Presence Publish expires

2016-03-23 Thread Juha Heinanen
Igor Olhovskiy writes: > Is there any possibility to set Expires in PUBLISH message to never in > Presence module? > I want to have BLF’s that indicates states, that driven via PUBLISH, but > can be really irregular (let’s say once a week) at least in pua_publish, expires parameter can be set to

[SR-Users] Presence Publish expires

2016-03-23 Thread Igor Olhovskiy
Hi! Is there any possibility to set Expires in PUBLISH message to never in Presence module? I want to have BLF’s that indicates states, that driven via PUBLISH, but can be really irregular (let’s say once a week) -- Best regards, Igor ___ SIP Express Ro

Re: [SR-Users] Presence: Notify on publication status refresh

2016-01-27 Thread Aleš Šturm
;Ales Sturm' Subject: Re: [SR-Users] Presence: Notify on publication status refresh Daniel-Constantin Mierla writes: > So the condition is that if a PUBLISH with no body is received and it > matches and existing record based on the value of SIP-If-Match header, > then don't trigge

Re: [SR-Users] Presence: Notify on publication status refresh

2016-01-25 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > So the condition is that if a PUBLISH with no body is received and it > matches and existing record based on the value of SIP-If-Match header, > then don't trigger NOTIFY requests at all... right? Right, -- Juha ___

Re: [SR-Users] Presence: Notify on publication status refresh

2016-01-25 Thread Daniel-Constantin Mierla
On 21/01/16 20:16, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >>> Is it possible to configure Kamailio that wouldn’t send NOTIFY request >>> to watchers when publication status refresh (PUBLISH without XML Body) >>> occur? >>> >> no NOTIFY should be sent? Or the NOTIFY in this case

Re: [SR-Users] Presence: Notify on publication status refresh

2016-01-21 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > > Is it possible to configure Kamailio that wouldn’t send NOTIFY request > > to watchers when publication status refresh (PUBLISH without XML Body) > > occur? > > > > no NOTIFY should be sent? Or the NOTIFY in this case should be sent > without body, just with a

Re: [SR-Users] Presence: Notify on publication status refresh

2016-01-21 Thread Daniel-Constantin Mierla
Hello, On 20/01/16 12:34, Aleš Šturm wrote: > > Hi all, > > > > > > I am using Kamailio 4.3 as Presence server and I have a question > regarding NOTIFY messages sent after publication status refresh. When > PUA sends refreshing PUBLISH request (before expiration) Kamailio > sends NOTIFY reques

[SR-Users] Presence: Notify on publication status refresh

2016-01-20 Thread Aleš Šturm
Hi all, I am using Kamailio 4.3 as Presence server and I have a question regarding NOTIFY messages sent after publication status refresh. When PUA sends refreshing PUBLISH request (before expiration) Kamailio sends NOTIFY request. Large number of watchers per one presentity causes large traf

Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-03 Thread Arsen Hovhanissian
Alright I guess this is one of those duhh… moments, all this time I was forgetting to add the content length to the NOTIFY event. Remark: DO NOT FORGET the content length! Thanks for the help, very much appreciated! ___ SIP Express Router (SER) and Kam

Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-03 Thread SamyGo
It is possible. I created a blog entry from a mailing list thread doing this sort of stuff for Asterisk behind Kamailio and voicemail MWI . http://saevolgo.blogspot.ca/2012/07/asterisk-behind-kamailio-voicemail-mwi.html?m=1 The scripts and everything should just give you idea. In Kamailio when you

Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-02 Thread Arsen Hovhanissian
I see, what i’m trying to do is actually to limit querying the DB by updating the MWI only when there is activity. In other words to send a NOTIFY when the user receives a new message in his voicemailbox. I am not sure if it’s possible to send the NOTIFY for example 5-30 mins after the initial

Re: [SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-02 Thread SamyGo
Hi, You can catch this NOTIFY in kamailio and execute a script using sipsak like perl script doing some db/file/sipsak stuff. You might find examples of such thing in few older threads. On Jan 2, 2016 18:55, "Arsen Hovhanissian" wrote: > Hi everyone, I’m trying to send a NOTIFY event using “sipsa

[SR-Users] Presence - Subscription based NOTIFY to enable MWI

2016-01-02 Thread Arsen Hovhanissian
Hi everyone, I’m trying to send a NOTIFY event using “sipsak” to enable the MWI I read up a lot of documentation and didn’t really find the information needed to accomplish this. So I have: Phone 1 -> P1 Server 1 -> S1 (Kamailio 4.3.4) Server 2 -> S2 (sipsak) P1 registers to S1 and creates a new

Re: [SR-Users] Presence Module

2015-12-16 Thread Loïc Boissy
Hello Daniel, Ok my problem is that there is several entries for the same contact in the presentity table. Thus kamailio sends a lot of NOTIFY. For example, i use jitsi software and my sip account is 124@192.168.0.186 Since i added the folowing settings in my kamailio.cfg config file : * if(

Re: [SR-Users] Presence Module

2015-12-16 Thread Daniel-Constantin Mierla
Hello, the pua_usrloc sends PUBLISH requests via the network. To troubleshoot properly, run kamailio with debug=3 in config and watch the network traffic on all interfaces (loopback as well). Cheers, Daniel On 15/12/15 18:05, Loïc Boissy wrote: > Hello Daniel, > Thank you for your help. > > Ok p

Re: [SR-Users] Presence Module

2015-12-15 Thread Loïc Boissy
Hello Daniel, Thank you for your help. Ok pua_usrloc modules seems good for me. I try to use it : I add these routing in route[REGISTAR] if(is_method("REGISTER") && from_uri=="sip:122@192.168.0.186" ) { xlog("L_INFO", "LBO - pua_set_publish() call for $rm from $fu (IP:$si:$s

Re: [SR-Users] Presence Module

2015-12-15 Thread Daniel-Constantin Mierla
Hello, On 15/12/15 14:16, Loïc Boissy wrote: > Hello, > > I use kamailio 4.3.2 with the presence module. > When the contact is able to manage its presence, No problem for me. > But when a contact doesn't manage it presence, i would like to know if > it is possible to generate a sip message (like a

[SR-Users] Presence Module

2015-12-15 Thread Loïc Boissy
Hello, I use kamailio 4.3.2 with the presence module. When the contact is able to manage its presence, No problem for me. But when a contact doesn't manage it presence, i would like to know if it is possible to generate a sip message (like as a simple presence message) with kamailio? The goal of

Re: [SR-Users] Presence and NAT

2015-08-21 Thread Pramod Venugopal
/outbound calling all work properly. Pramod Venugopal pra...@dvnull.org From: sr-users on behalf of Pramod Venugopal Reply-To: "Kamailio (SER) - Users Mailing List" Date: Thursday, August 20, 2015 at 10:38 PM To: "Kamailio (SER) - Users Mailing List" Subject: [SR-Users] Pre

[SR-Users] Presence and NAT

2015-08-20 Thread Pramod Venugopal
Hello everyone, I have a Kamailio 4.2 system on Amazon AWS. When subscribing to presence the contact is sent out with the internal IP rather than the external public IP. The subscribes are being sent to it with the external hostname ( which resolves to the external IP ). Where would I be able

Re: [SR-Users] Presence data to users behind NAT

2015-03-22 Thread Shane Harrison
nsuring RR's have public IP's. HTH Shane > -Original Message- > From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of > Olli Attila > Sent: Saturday, 21 March 2015 11:30 p.m. > To: sr-users@lists.sip-router.org > Subject: [SR-Users] Pre

[SR-Users] Presence data to users behind NAT

2015-03-22 Thread Olli Attila
Hello, Im running kamailio 4.2.3 and I'm trying to build a system where I could have the following features: SIP proxy, RTP proxy, Presence & XCAP service for IM messaging. I have a problem with the Presence service with users that are located behind nat. When Kamailio sends presence info to

Re: [SR-Users] Presence module for BLF issue

2015-02-10 Thread SamyGo
Hello Again, Thanks for the great and timely help Daniel. Finally adjusted the BLF lights. Only couple of things, which I'm sure are some functions missing the call flow, are: 1- When users register or un-register the BLF don't update anything though NOTIFY are triggered. 2- When call comes from P

Re: [SR-Users] Presence module for BLF issue

2015-02-10 Thread Daniel-Constantin Mierla
Hello, ok, good that is working better now. I will also look more into these module in the near future. I think the Expires value must be different based on state, e.g., trying and ringing should be shorter than active call. Cheers, Daniel On 10/02/15 10:27, SamyGo wrote: > Hi Daniel, > This ha

Re: [SR-Users] Presence module for BLF issue

2015-02-10 Thread SamyGo
Hi Daniel, This has helped us substantially, I've added few more lines in the config and seems we've working BLF now. I'll share the results when we complete the tests. Thanks alot for the timely help. BR, Sammy On Mon, Feb 9, 2015 at 11:24 AM, Daniel-Constantin Mierla wrote: > Hello, > > went

Re: [SR-Users] Presence module for BLF issue

2015-02-09 Thread Daniel-Constantin Mierla
Hello, went and configured a server for BLF as the logs were not showing any obvious issue. The result was that the way module parameters were set or have default values was creating this situation. The story is that the pua_dialoginfo takes the dialog lifetime to set the expires for PUBLISH. Di

Re: [SR-Users] Presence module for BLF issue

2015-02-06 Thread Daniel-Constantin Mierla
Btw, there is no 'debug' message -- have you set debug=3? Daniel On 06/02/15 10:26, Daniel-Constantin Mierla wrote: > Hello, > > the log doesn't show the messages from the INVITE to the BYE. Are you > sure you got them for the entire call? There are notes from syslog > that there are rate limits,

Re: [SR-Users] Presence module for BLF issue

2015-02-06 Thread Daniel-Constantin Mierla
Hello, the log doesn't show the messages from the INVITE to the BYE. Are you sure you got them for the entire call? There are notes from syslog that there are rate limits, dropping logs. Also, I noticed errors printed by t_check_trans(), are you using it from a branch_route? Eventually you can se

Re: [SR-Users] Presence module for BLF issue

2015-02-05 Thread SamyGo
Hi Daniel, Thanks alot for your time, please see the log file attached. If needed, I can provide sip captures received at the phone . Thanks, On Thu, Feb 5, 2015 at 4:42 PM, Daniel-Constantin Mierla wrote: > Hello, > > can you reproduce this with three phones (not to get too much traffic)? >

Re: [SR-Users] Presence module for BLF issue

2015-02-05 Thread SamyGo
Here are the contents of the presentity table for the test call. On Thu, Feb 5, 2015 at 5:54 PM, SamyGo wrote: > Hi Daniel, > Thanks alot for your time, please see the log file attached. > > If needed, I can provide sip captures received at the phone . > > Thanks, > > On Thu, Feb 5, 2015 at 4:

Re: [SR-Users] Presence module for BLF issue

2015-02-05 Thread Daniel-Constantin Mierla
Hello, can you reproduce this with three phones (not to get too much traffic)? Use debug=3 in kamailio.cfg and send to me all the logs from kamailio start. I will look to see what happens. Cheers, Daniel On 05/02/15 22:21, SamyGo wrote: > Hi community, > > I'm dealing with a problem here related

[SR-Users] Presence module for BLF issue

2015-02-05 Thread SamyGo
Hi community, I'm dealing with a problem here related to presence module handling BLF. My BLF phones are Yealink T28p with latest firmware and work perfectly with Asterisk and FreeSwitch but not with Kamailio as expected. What I'm observing here is a malfunctioning statuses due to accumulation of

Re: [SR-Users] presence - Error deleting subscription

2015-01-03 Thread Daniel-Constantin Mierla
Can you try with the following commit: - https://github.com/kamailio/kamailio/commit/85029d414384912879b45a34bdeb8f1372cc3780 If you installed from git, you can do a: git pull origin git cherry-pick -x 85029d414384912879b45a34bdeb8f1372cc3780 Then re-compile, re-install and restart kamailio.

Re: [SR-Users] presence - Error deleting subscription

2015-01-03 Thread Daniel-Constantin Mierla
Hello, the code seems to be similar to the one for searching a subscription. I am considering to make the matching criteria configurable to see the results. Are you using presence for dialog notifications (e.g., blinking lamps, call pickup) or user presence states? Cheers, Daniel On 02/12/14 14

Re: [SR-Users] presence - Error deleting subscription

2014-12-02 Thread Daniel-Constantin Mierla
Hello, I will try to look asap to the code and at least add more debugging info to be easier to understand what happens in case all works fine at the end. Cheers, Daniel On 02/12/14 11:34, Jan Gaida wrote: > Has nobody ever seen something similar? > > *Jan **Gaida* > Ingeniero Desarrollo Softwar

Re: [SR-Users] presence - Error deleting subscription

2014-12-02 Thread Jan Gaida
Has nobody ever seen something similar? *Jan **Gaida* Ingeniero Desarrollo Software C/ Marconi 3 (PTM) 28760 Tres Cantos Spain jan.ga...@grupoamper.com | www.grupoamper.com On 24 November 2014 at 11:52, Jan Gaida wrote: > Hello, > > We are upgrading our servers to Kamailio 4.2 and we se

[SR-Users] presence - Error deleting subscription

2014-11-24 Thread Jan Gaida
Hello, We are upgrading our servers to Kamailio 4.2 and we see a lot of error messages "Failed to delete subscription from memory". Scenario: This happens every time there is a Notify Timeout (408) and Kamailio tries to delete the subscription. Consequences: I don't know whether the delete fails

Re: [SR-Users] Presence Module Installation without reinstalling Kamailiio

2014-10-13 Thread Daniel-Constantin Mierla
Hello, On 13/10/14 08:20, aawaise wrote: I am using kamailio server. I want to add xcap server for presence module usage without reinstalling kamailio server. How can it be done. install xcap_server module for the same version as kamailio, but you still need to change the kamailio config. I

Re: [SR-Users] Presence Module Installation Error

2014-10-13 Thread Daniel-Constantin Mierla
Hello, have you installed the libxml2-dev package? See readme for each module you want to enable in order to find dependencies. Cheers, Daniel On 13/10/14 08:19, aawaise wrote: Hello, I am using kamailio-3.1.1 server. I want to add presence module service to it. For that I tried to reinstall

[SR-Users] Presence Module Installation without reinstalling Kamailiio

2014-10-12 Thread aawaise
I am using kamailio server. I want to add xcap server for presence module usage without reinstalling kamailio server. How can it be done. Regards, Aawaise. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Presence-Module-Installation-without-reinstalling-Kamailiio-tp1314

[SR-Users] Presence Module Installation Error

2014-10-12 Thread aawaise
Hello, I am using kamailio-3.1.1 server. I want to add presence module service to it. For that I tried to reinstall server by downloading kamailio-3.1.1 package from official web link. When I include modules "db_mysql mysql tls presence presence_xml xhttp xcap_server" in modules.lst. It gives err

Re: [SR-Users] Presence PUBLISH error

2014-10-08 Thread Marino Mileti
guration parameters? Messaggio originale Da: mico...@gmail.com Data: 6-ott-2014 18.17 A: "Marino Mileti", "Kamailio (SER) - Users Mailing List" Ogg: Re: [SR-Users] Presence PUBLISH error hello, It seems that the column type and value type are mismatchi

Re: [SR-Users] Presence PUBLISH error

2014-10-06 Thread Daniel-Constantin Mierla
hello, It seems that the column type and value type are mismatching, but they can still be compatible. The fact is that db_text was not designed to handle large data values, so not tested with presence. Eventually you may want use sqlite (or other db module) instead or go into db_text and up

[SR-Users] Presence PUBLISH error

2014-10-06 Thread Marino Mileti
Hi guys, with Kamailio 4.1.6 standard configuration and dbtext as db module, when server receives a publish message on the log there's: ERROR: db_text [dbt_base.c:391]: dbt_insert(): incompatible types v[5] - c[7]! ERROR: presence [presentity.c:402]: update_presentity(): inserting new record in

Re: [SR-Users] Presence - How to force Kamailio to use one subscription

2014-09-01 Thread Daniel-Constantin Mierla
Hello, if you have a patch and want to get it in the main repository, send it and if all looks ok, we can commit it -- that will ensure the feature is there with new releases of kamailio. Cheers, Daniel On 01/09/14 10:28, Surendra wrote: Hi Veerabhadra, Kamailio doesn't support thi

Re: [SR-Users] Presence - How to force Kamailio to use one subscription

2014-09-01 Thread Surendra
Hi Veerabhadra, Kamailio doesn't support this. We had done this by changing the code logic. Regards surendra ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.

Re: [SR-Users] Presence - How to force Kamailio to use one subscription per user?

2014-08-30 Thread Veerabhara Gundu
any help on this? Thanks, Veera On Tue, Aug 26, 2014 at 6:03 AM, Veerabhara Gundu wrote: > Hello Friends, > > I have a scenario, where clients are going away and re-registering with > new IP and Port numbers. Presence server keep sending NOTIFY messages for > both old Subscription and new Subs

Re: [SR-Users] Presence - How to force Kamailio to use one subscription per user?

2014-08-26 Thread Veerabhara Gundu
any thoughts on this? -Veera On Tue, Aug 26, 2014 at 6:03 AM, Veerabhara Gundu wrote: > Hello Friends, > > I have a scenario, where clients are going away and re-registering with > new IP and Port numbers. Presence server keep sending NOTIFY messages for > both old Subscription and new Subscri

Re: [SR-Users] Presence - How to force Kamailio to use one subscription per user?

2014-08-26 Thread Veerabhara Gundu
Friends, Any thoughts... -VG On Tue, Aug 26, 2014 at 6:03 AM, Veerabhara Gundu wrote: > Hello Friends, > > I have a scenario, where clients are going away and re-registering with > new IP and Port numbers. Presence server keep sending NOTIFY messages for > both old Subscription and new Subsc

[SR-Users] Presence - How to force Kamailio to use one subscription per user?

2014-08-26 Thread Veerabhara Gundu
Hello Friends, I have a scenario, where clients are going away and re-registering with new IP and Port numbers. Presence server keep sending NOTIFY messages for both old Subscription and new Subscription for same clients till the old subscription expires. It's unnecessary traffic and processing o

Re: [SR-Users] Presence

2014-05-21 Thread Joel White
Thank you :) On Thu, May 8, 2014 at 10:08 PM, Andrew Mortensen wrote: > > On May 5, 2014, at 1:21 PM, Joel White wrote: > > > I am working on enabling presence and bla in a Kamailio + FreeSWITCH > environment > > > > All handsets are Polycom with a handful of Grandstream ATA's > > ... > > NOTIC

[SR-Users] Presence dialoginfo - initial empty NOTIFY

2014-05-14 Thread Ewgeny
Hello list, we're using kamailio presence for BLF functionality, that means lamps on the phone are green when phone is IDLE, blinking RED when - ringing and RED when busy. The problem is - when the phone send SUBSCRIBE first time - presence answers with empty NOTIFY (with no XML info), and lam

Re: [SR-Users] Presence

2014-05-08 Thread Andrew Mortensen
On May 5, 2014, at 1:21 PM, Joel White wrote: > I am working on enabling presence and bla in a Kamailio + FreeSWITCH > environment > > All handsets are Polycom with a handful of Grandstream ATA's > ... > NOTICE: presence [subscribe.c:1030]: handle_subscribe(): Unsupported presence > event cal

Re: [SR-Users] Presence

2014-05-07 Thread Daniel-Constantin Mierla
If you want to manage blf via kamailio, then you need dialog + pua_dialoginfo as well. Or look at sca for an alternate specs which i think is supported by polycom, but not sure about grandstream. If you manage blf by freeswitch (when all calls are routed to freeswitch always), then you should

Re: [SR-Users] Presence

2014-05-06 Thread Joel White
Thank you Olle I am looking into it now. I currently have presence presence_xml and presence_dialoginfo enabled. I will look into pua today. On Tue, May 6, 2014 at 3:12 AM, Olle E. Johansson wrote: > > On 05 May 2014, at 19:21, Joel White wrote: > > > I am working on enabling presence and b

Re: [SR-Users] Presence

2014-05-06 Thread Olle E. Johansson
On 05 May 2014, at 19:21, Joel White wrote: > I am working on enabling presence and bla in a Kamailio + FreeSWITCH > environment > > All handsets are Polycom with a handful of Grandstream ATA's > > > > I enabled presence and presence_xml > > > I have not got it to work as I keep seeing th

[SR-Users] Presence

2014-05-05 Thread Joel White
I am working on enabling presence and bla in a Kamailio + FreeSWITCH environment All handsets are Polycom with a handful of Grandstream ATA's I enabled presence and presence_xml I have not got it to work as I keep seeing this meesage in the logs NOTICE: presence [subscribe.c:1030]: handle_su

Re: [SR-Users] Presence request authentication

2014-04-28 Thread Muhammad Shahzad
Yes, but problem is that main server has pretty good billing integrated with it, which is the key reason my client want to keep it. Thank you. On Mon, Apr 28, 2014 at 11:57 AM, Juha Heinanen wrote: > Muhammad Shahzad writes: > > > The main server manages SIP register, calls, messages and so, h

[SR-Users] Presence request authentication

2014-04-28 Thread Juha Heinanen
Muhammad Shahzad writes: > The main server manages SIP register, calls, messages and so, however it > does not support presence at all. It returns SIP response "405 Method Not > Allowed" for any SIP PUBLISH, SUBSCRIBE or NOTIFY. > > The presence server is a Kamailio server, which unfortunately ha

[SR-Users] Presence request authentication

2014-04-28 Thread Muhammad Shahzad
Hi, I have a complex setup consisting of two sip server, lets call them main server and presence server. The main server manages SIP register, calls, messages and so, however it does not support presence at all. It returns SIP response "405 Method Not Allowed" for any SIP PUBLISH, SUBSCRIBE or NO

[SR-Users] presence bug

2014-03-24 Thread Kelvin Chua
I would like to report a bug on the presence module kamailio 4.0.5 setting custom table names via modparam("presence", "presentity_table", "kam_presentity") modparam("presence", "active_watchers_table", "kam_active_watchers") modparam("presence", "watchers_table", "kam_watchers") does work, i can

Re: [SR-Users] Presence issues

2013-10-29 Thread Daniel-Constantin Mierla
Hello, can you re-run with debug=3 and send the syslog messages? Just the error messages are not enough in this case. Cheers, Daniel On 10/26/13 1:09 PM, Wingsravi R wrote: Dear Daniel, Thank you for the reply, As you suggested, added the following in request_route block : if (is_method("

Re: [SR-Users] Presence issues

2013-10-26 Thread Wingsravi R
Dear Daniel, Thank you for the reply, As you suggested, added the following in request_route block : if (is_method("REGISTER")){ pua_set_publish(); } and removed pua_reginfo module. But Presence visibility between the clients is only at the very first registeration, if tried to re-regis

Re: [SR-Users] Presence issues

2013-10-25 Thread Daniel-Constantin Mierla
Hello, there are two events triggering the log messages. One is about the fact you haven't set the flag for the REGISTER request to trigger a PUBLISH (see readme for pua_usrloc). This is the first message, the INFO. The other is the PUBLISH from pua_reginfo that is for location records repl

[SR-Users] Presence issues

2013-10-25 Thread Wingsravi R
Hi kamailio'ns I am working on Kamailio V 4.0.3, installed from Ubuntu 12.04(precise) repository. My SIP clients(jitsi) are registering to kamailio sever successfully but their presence is not sharing between the clients. I am frequently logging following presence related errors in syslog while tr

Re: [SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-OFFLINE-#*' for key 'presentity_idx' when multiple clients register using the same credentials

2013-10-09 Thread Yufei Tao
to:sr-users-requ...@lists.sip-router.org> wrote: Message: 2 Date: Mon, 7 Oct 2013 13:31:17 +0300 From: Juha Heinanen <mailto:j...@tutpro.com> To: "Kamailio \(SER\) - Users Mailing List" <mailto:sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Presence: Du

Re: [SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-OFFLINE-#*' for key 'presentity_idx' when multiple clients register using the same credentials

2013-10-08 Thread Yufei Tao
essage: 2 Date: Mon, 7 Oct 2013 13:31:17 +0300 From: Juha Heinanen <mailto:j...@tutpro.com> To: "Kamailio \(SER\) - Users Mailing List" <mailto:sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-

Re: [SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-OFFLINE-#*' for key 'presentity_idx' when multiple clients register using the same credentials

2013-10-07 Thread Juha Heinanen
Yufei Tao writes: > When a client (S) subscribes to this contact (username@domain) whose > credentials are used by two clients, (S) gets NOTIFYs containing > statuses from either of the username@domain contacts in alternation. But > all these NOTIFYs have the same call-id. > > I've tried remove t

Re: [SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-OFFLINE-#*' for key 'presentity_idx' when multiple clients register using the same credentials

2013-10-07 Thread Yufei Tao
se, forward or copy this E-mail or attachments to any > third party without the prior consent of the sender. > > Red Embedded Design, Company Number 06688253 Registered in England: The > Waterfront, Salts Mill Rd, Saltaire, BD17 7EZ > > > > -- >

[SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-OFFLINE-#*' for key 'presentity_idx' when multiple clients register using the same credentials

2013-10-04 Thread Juha Heinanen
Yufei Tao writes: > This is when multiple SIP clients are registered using the same > credentials, they each have a presentity entry, with the same username > and domain but different etags, which is fine. But when they expire, the > presentity.etag will be filled with '*#-OFFLINE-#*', and when bo

[SR-Users] Presence: Duplicate entry 'username-domain-presence-*#-OFFLINE-#*' for key 'presentity_idx' when multiple clients register using the same credentials

2013-10-04 Thread Yufei Tao
Hi I use kamailio 4.0.3 with presence. I sometimes get these errors: Oct 4 09:26:24 server /usr/sbin/kamailio[1292]: ERROR: presence [publish.c:171]: msg_presentity_clean(): Marking presentity Oct 4 09:26:34 server /usr/sbin/kamailio[1292]: ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_quer

Re: [SR-Users] Presence issue between XMPP-SIP clients.

2013-10-02 Thread Nandini
Anybody there to help me. please give me some hints to solve this issue. I am stuck with this from last 2 weeks, now i am really heading the wall. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Presence-issue-between-XMPP-SIP-clients-tp121887p121926.html Sent from the

[SR-Users] Presence issue between XMPP-SIP clients.

2013-10-01 Thread Nandini madhu
Dear All, I am working on XMPP module of kamailio server (V-4.0.2), intended to achieve File transfer, IM features. Firstly my Kamailio and Jabberd2 servers are on the same machine. I managed to separately make them work. Call setup between SIP clients is working and so with messaging/presence, F

[SR-Users] Presence related tables are not populated

2013-08-27 Thread Rupayan Dutta
Dear All Users, While logging into kamailio server via SIP over websocket using my sipml5 client (PRESENCE & XCAP enabled along with WEBSOCKET) the watcher,xcap and presentity tables are not populated.Therefore I can't get presence status though I can successfully running my video

Re: [SR-Users] Presence: Get number of active_watchers

2013-08-21 Thread Charles Chance
Hi Jan, Why not use sqlops to query the database from within your config script? Best regards, Charles On 21 August 2013 13:36, Jan Gaida wrote: > Hello, > > I need to obtain the number of subscribed watchers for a given > presentity-uri. > > I can get it with a SQL Query like "select count

[SR-Users] Presence: Get number of active_watchers

2013-08-21 Thread Jan Gaida
Hello, I need to obtain the number of subscribed watchers for a given presentity-uri. I can get it with a SQL Query like "select count(*) from kamailio.active_watchers where presentity_uri = 'test@domain';". But I think there should be a way to get it from within the configuration script. Regard

[SR-Users] Presence Module with DBOnly Mode

2013-05-29 Thread Raj Roy Ghandhi
Hi Freinds, Has anyone done configuring the presence module only with DB. In my requirement, I am going to have multiple servers and share the same DB for presence info and enable Publish/Unpublish and Subscribe/UnSubscribe for all the clients who will be connecting to different Kamailio servers.

Re: [SR-Users] PRESENCE entries duplication

2013-05-27 Thread Klaus Darilion
On 27.05.2013 10:56, Raj Roy Ghandhi wrote: Hi Friends, I am trying to use the Kamalio 4 and SIPML5 and so for it is working fine. But when I subscribe for presentity of another then I receive all the entries of that user in the presentity table in mysql db. It seem that it I receive the entr

[SR-Users] PRESENCE entries duplication

2013-05-27 Thread Raj Roy Ghandhi
Hi Friends, I am trying to use the Kamalio 4 and SIPML5 and so for it is working fine. But when I subscribe for presentity of another then I receive all the entries of that user in the presentity table in mysql db. It seem that it I receive the entries that are not expired. Is there a way to get

Re: [SR-Users] Presence and watcher_domain

2013-05-10 Thread Andrzej
Yes you're right. When we use the name instead of an IP address, the entries in the table are correct. Regards Andy W dniu 10.05.2013 09:32, Daniel-Constantin Mierla pisze: Hello, On 5/9/13 8:53 AM, andpe wrote: Hi I use PRESENCE, PRESENCE_REGINFO and others, with Cisco phones (trying to r

Re: [SR-Users] Presence and watcher_domain

2013-05-10 Thread Daniel-Constantin Mierla
Hello, On 5/9/13 8:53 AM, andpe wrote: Hi I use PRESENCE, PRESENCE_REGINFO and others, with Cisco phones (trying to run :-)). The phones are seen as being registered in the PRESENCE, REGINFO work unless properly. But I have a question: in the table active_watchers watcher_domain field is the

[SR-Users] Presence and watcher_domain

2013-05-08 Thread andpe
  Hi I use PRESENCE, PRESENCE_REGINFO and others, with Cisco phones (trying to run :-)). The phones are seen as being registered in the PRESENCE, REGINFO work unless properly. But I have a question: in the table active_watchers watcher_domain field is the IP address of the phone and not the doma

Re: [SR-Users] Presence and Cisco 79xx phones BLF

2013-05-07 Thread Andrew Mortensen
On May 7, 2013, at 3:36 AM, Daniel-Constantin Mierla wrote: > Hello, > > On 5/6/13 6:26 PM, Andrzej wrote: >> Is it possible to run on phones Cisco 79xx series BLFs? So to show the >> status of the shared lines. Phones registered with Kamailio. > look at pua_dialoginfo and presence_dialoginfo

Re: [SR-Users] Presence and Cisco 79xx phones BLF

2013-05-07 Thread Daniel-Constantin Mierla
Hello, On 5/6/13 6:26 PM, Andrzej wrote: Is it possible to run on phones Cisco 79xx series BLFs? So to show the status of the shared lines. Phones registered with Kamailio. look at pua_dialoginfo and presence_dialoginfo modules. If they support the broadsoft specs, then sca module is another on

[SR-Users] Presence and Cisco 79xx phones BLF

2013-05-06 Thread Andrzej
Is it possible to run on phones Cisco 79xx series BLFs? So to show the status of the shared lines. Phones registered with Kamailio. Andy ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://l

Re: [SR-Users] Presence rules?

2012-12-25 Thread Dmytro Bogovych
Disabled authentication for subscribe requests in configuration file - it helped. On Tue, Dec 25, 2012 at 6:58 AM, Dmytro Bogovych wrote: > Found the cause. > Kamailio was configured to run on single tcp interface; so subscribe > requests could not be routed properly. > > But there is another th

Re: [SR-Users] Presence rules?

2012-12-24 Thread Dmytro Bogovych
Found the cause. Kamailio was configured to run on single tcp interface; so subscribe requests could not be routed properly. But there is another thing. PUA sends subscribe, receives 407 reply and stops - there is no negotiating between pua and other parts of kamailio... Merry Christmas! On Mo

  1   2   >