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 the called client registered to any server, there is an rtimer which periodically makes query to location table.If registration is found, suspended transaction is continued.I hope this helps to make it clear._______________________________________________On Thu, Jul 4, 2019 at 10:04 AM Federico Cabiddu <federico.cabiddu@gmail.com> wrote: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 <koray.vatansever@gmail.com> wrote: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 found, I continue the previously suspended transaction.If two records are found, parallel ringing occurs successfully.My problem starts when one client is registered later then the other (mostly happens as expected).In this case transaction is continued when the first registration found and the other client couldn't get the call.I'm planning to continue polling location table on an rtimer process, and append new branches when new registrations are found, until 200OK is received.Regards,Koray_______________________________________________On Tue, Jul 2, 2019 at 3:17 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote: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 identify the transaction and see what can be done.Cheers,DanielOn Tue, Jul 2, 2019 at 8:45 AM Koray Vatansever <koray.vatansever@gmail.com> wrote: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 documentation says that it can be used when register message received.What is the best way to implement this?Thanks,Koray
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--_______________________________________________Daniel-Constantin Mierla - http://www.asipto.com
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users