Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-04 Thread Federico Cabiddu
Hi Koray, I understand now, thank you. In the rtimer route you can use ts_append() http://www.kamailio.org/docs/modules/devel/modules/tsilo.html#tsilo.f.ts_append specifying the location table name and the aor for which you have found new contacts. The documentation is maybe misleading in this

Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-04 Thread Koray Vatansever
Hi Federico, I have multiple kamailio servers. Clients may register to any one of them. When an invite is received, transaction is suspended and transaction id is saved in a htable which is local to the server. And than push notification is sent to the called client. In order to understand that

Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-04 Thread Federico Cabiddu
Hi Koray, I'm not sure I understand your use case. If you are handling registrations, why having an rtimer process that check if there are new contacts? Regards, Federico On Wed, Jul 3, 2019 at 7:37 AM Koray Vatansever wrote: > Hi Daniel, > > I'm using usrloc with db_mode only. So location

Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-02 Thread Koray Vatansever
Hi Daniel, I'm using usrloc with db_mode only. So location table is in the database. When an Invite is received, I suspend the transaction and send push notification to the called clients. There is an rtimer process polling location table to find out any client registered. When a record is

Re: [SR-Users] Append a new branch while the other one is in ringing state

2019-07-02 Thread Daniel-Constantin Mierla
Hello, what is the process? When you get the 180 ringing you want to push to rtimer an event to create a new branch? Or just based on rtimer you want to create a new branch no matter the 180 was received or not? Try to give details about the scenario so we can figure out if there is a way to

[SR-Users] Append a new branch while the other one is in ringing state

2019-07-02 Thread Koray Vatansever
Hi all, I want to fork a new branch, while the first one is ringing. Forking will take place in a rtimer process. So I will save the invite transaction in a htable, and using this transaction info I need to append a branch. I saw TSILO module provides some methods to append branch. However