Re: [SR-Users] Problem with resuming suspended transactions.

2015-11-23 Thread Dmytro Bogovych
e call is not terminated) and also reINVITEs + ACK do not work as expected. I would be happy to hear any idea how to resolve it from server side... Thank you! On Mon, Nov 23, 2015 at 7:01 PM, Dmytro Bogovych wrote: > (facepalm) > > Thank you! > > > On Mon,

Re: [SR-Users] Problem with resuming suspended transactions.

2015-11-23 Thread Dmytro Bogovych
use you don't have curly braces for the IF block, only the xlog is > executed in case of error. sl_reply_error() is executed always. > > Cheers, > Daniel > > On 23/11/15 17:29, Dmytro Bogovych wrote: >> Greetings. >> >> We build specialized softphone for iOS. Push notificat

[SR-Users] Problem with resuming suspended transactions.

2015-11-23 Thread Dmytro Bogovych
Greetings. We build specialized softphone for iOS. Push notifications are used to notify user and wake up softphone app on missed calls and messages. We used Daniel's example config script as base for own configuration file. It has the same parts and does not differ too much. I talk about this ex

[SR-Users] Check if user is registered before reply is routed

2015-07-27 Thread Dmytro Bogovych
Greetings. Sorry for previous false letter. I want to check if user is registered before reply is routed to its target user agent. Imho it should be like this: onreply_route[MANAGE_REPLY] { if ($rm=="INVITE") { if (registered("location", $ru)) { # Do job - pause for 15 seconds and gi

[SR-Users] Check if user is registered after receiving reply

2015-07-27 Thread Dmytro Bogovych
Greetings. I want to check if user is registered before kamailio will try to route reply to its user agent. IMHO it should be: onreply_route[MANAGE_REPLY] { ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-

[SR-Users] Find if client is connected.

2015-05-19 Thread Dmytro Bogovych
Greetings. I want to modify INVITE answers processing in this way: 1) receive INVITE answer 2) check if recipient is registered but has no TCP/TLS connection now 3) suspend answer for 30 seconds (for example) 4) resume answer if REGISTER comes from lost client in these 30 seconds 5) terminate INV

Re: [SR-Users] t_suspend()/t_continue() problem

2015-01-02 Thread Dmytro Bogovych
Found similar question in archives - so workarounded with $ru modification. Thank you! On Fri, Jan 2, 2015 at 4:21 PM, Dmytro Bogovych wrote: > Well, I found problem. > The resumed INVITE transaction was sent to LOCATION route instead of RELAY. > > However I see another problem n

Re: [SR-Users] t_suspend()/t_continue() problem

2015-01-02 Thread Dmytro Bogovych
(rr_port))) sl_reply_error(); Does it mean t_relay_to_udp() accepts only constant values? On Wed, Dec 17, 2014 at 4:33 PM, Dmytro Bogovych wrote: > Greetings. > I'm trying to adopt kamailio to handle incoming calls / generate push > notifications for softphone running on Windows Phone

[SR-Users] t_suspend()/t_continue() problem

2014-12-17 Thread Dmytro Bogovych
Greetings. I'm trying to adopt kamailio to handle incoming calls / generate push notifications for softphone running on Windows Phone 8. Starting point was this publication http://www.kamailio.org/events/2014-KamailioWorld/day2/26-Daniel-Constantin.Mierla-Kamailio.cfg-Async.pdf I adopted the scrip

Re: [SR-Users] Routing for case of client's changing networks

2014-08-11 Thread Dmytro Bogovych
>I see no problem from sip point of view -- each party can send re-invites as they have something new to negotiate. Will try to patch resiprocate :) Thanks for your help ! On Mon, Aug 11, 2014 at 4:47 PM, Daniel-Constantin Mierla wrote: > > On 11/08/14 15:18, Dmytro Bogovych wrote:

Re: [SR-Users] Routing for case of client's changing networks

2014-08-11 Thread Dmytro Bogovych
-invite as it > changes to a new network again. > > Cheers, > Daniel > > > On 11/08/14 13:10, Dmytro Bogovych wrote: > > Greetings all. > I have following use case: > > 0) Peer A and B registers on kamailio via TLS. > 1) Peer A establishes call to p

[SR-Users] Routing for case of client's changing networks

2014-08-11 Thread Dmytro Bogovych
Greetings all. I have following use case: 0) Peer A and B registers on kamailio via TLS. 1) Peer A establishes call to peer B. 2) Peer A changes network and call has to be refreshed. Peer A reregisters, gathers ICE candidates, builds reINVITE and sends it to B. After peer A changes network again,

[SR-Users] TLS connection with short lifetime - how to handle it?

2014-04-07 Thread Dmytro Bogovych
Greetings. I have the next problem: iOS based clients connect via TLS to kamailio server. They run mostly in background mode - it means connection refresh interval is ~10 minutes. Some of clients reside behind paranoidal routers which considers such idle connections as lost and closes them. I see o

Re: [SR-Users] Fwd: kamailio rls mod

2013-03-05 Thread Dmytro Bogovych
AFAIK after 1) Jitsi should send subscribe message to xcap defined list. After this kamailio can send individual subscribe packets in backend. But as you described - Jitsi does not send this magic subscribe. Problem application is Jitsi - not kamailio. I spend couple of weeks diving into xcap/rls

[SR-Users] NAT'ed RLS setup

2013-01-07 Thread Dmytro Bogovych
Greetings. I have kamailio 3.3.3 setup on server behind the nat. Nat forwards ports for tls/tcp/udp. This setup worked without rls ok. I added necessary modules - rls, pua, xcap etc. Updated a config file and db. Client application uploads xcap documents ok; after app sends subscribe request to

Re: [SR-Users] Problem with RLS

2012-12-25 Thread Dmytro Bogovych
I moved rls_handle_notify() to top of route - it helped. First test is ok. On Tue, Dec 25, 2012 at 8:05 PM, Dmytro Bogovych wrote: > Hi. > I still try to setup RLS capable kamailio instance. > Now the server accepts my services and resource list documents. > It generated backend s

[SR-Users] Problem with RLS

2012-12-25 Thread Dmytro Bogovych
Hi. I still try to setup RLS capable kamailio instance. Now the server accepts my services and resource list documents. It generated backend subscriptions - i can see it in pua table. When another peer publish its presence - presence tries to send notify to sip address specified in modparam("rls",

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 t

Re: [SR-Users] Presence rules?

2012-12-24 Thread Dmytro Bogovych
Mon, Dec 24, 2012 at 1:10 PM, Dmytro Bogovych wrote: > Thank you, i studied this tutorial many times. > XCAP contact storage works now. But not RLS. > > I made services and list documents, uploaded to server via curl. > After this i tried to subscribe to list name. > Log says

Re: [SR-Users] Presence rules?

2012-12-24 Thread Dmytro Bogovych
oblem comes from my configuration - i run kamailio on OpenVZ VPS. If you may give me advice - please do it :) Thank you! On Thu, Dec 13, 2012 at 1:17 PM, Daniel-Constantin Mierla wrote: > > Hello, > > presence rules are interpreted by presence_xml module. > > Maybe this tutorial ca

[SR-Users] Presence rules?

2012-12-07 Thread Dmytro Bogovych
Greetings. I try to add rls/xcap presence into resiprocate-based user agent. May anyone tell me what module is responsible for parsing presence rules documents? I'm trying to setup "allow all" presence rules document but did not get success... Thank you!

[SR-Users] Disconnection from Kamailio

2012-11-27 Thread Dmytro Bogovych
Greetings. I observe strange behavior with Kamailio. My iphone 3gs run softphone based on resiprocate. First 10-20 minutes everything works fine. After it the connection is closed from server (select() loop returns read notification, read attempt returns zero bytes). Ok, softphone closes old socke

Re: [SR-Users] CRLF from Kamailio server

2012-11-26 Thread Dmytro Bogovych
26/12 10:54 AM, Klaus Darilion wrote: > >> >> >> On 26.11.2012 05:13, Dmytro Bogovych wrote: >> >>> Greetings. >>> May anyone give me advice? >>> I have working Kamailio with TLS. >>> It is used by iOS softphone - i developed own one bas

Re: [SR-Users] CRLF from Kamailio server

2012-11-26 Thread Dmytro Bogovych
://www.kamailio.org/wiki/cookbooks/3.3.x/core#tcp_crlf_ping> > > IIRC, nathelper pings only udp contacts. > > Cheers, > Daniel > > > On 11/26/12 10:54 AM, Klaus Darilion wrote: > >> >> >> On 26.11.2012 05:13, Dmytro Bogovych wrote: >> >>> Greetin

[SR-Users] CRLF from Kamailio server

2012-11-25 Thread Dmytro Bogovych
Greetings. May anyone give me advice? I have working Kamailio with TLS. It is used by iOS softphone - i developed own one based on resiprocate. All signalling is TLS. Almost everything is fine. But looks kamailio sends CRLF messages sometimes. If it happens when softphone is in background mode - i

Re: [SR-Users] How does SIP transfer work?

2012-11-22 Thread Dmytro Bogovych
REFER http://tools.ietf.org/html/rfc3515 On Thu, Nov 22, 2012 at 3:55 PM, Grant Bagdasarian wrote: > Hello, > > > > I’ve been searching the internet to find an explanation on how SIP transfer > works using Re-INVITE and/or UPDATE, but I can’t seem to find a good source. > > > > From what I under

Re: [SR-Users] Newbie question about RLS/XCAP/batch'd NOTIFYs

2012-10-06 Thread Dmytro Bogovych
NOTIFYs). > > You can send these SUBCRIBEs at whatever frequency you require. > > Unfortunately, Kamailio does not currently support polled subscriptions. > > Regards, > > Peter > > On 6 Oct 2012, at 10:16, Dmytro Bogovych wrote: > >> Greetings. >> >&

[SR-Users] Newbie question about RLS/XCAP/batch'd NOTIFYs

2012-10-06 Thread Dmytro Bogovych
Greetings. I try to make iOS voip application with presence information. iOS does not let too frequent network updates from server side when runs in background mode. So I cannot rely on plain PUBLISH / SUBSCRIBE scheme - it leads to restart of application by iOS in many cases. Please see this pos