Re: [OpenSIPS-Users] How to delay a branch

2020-07-27 Thread ryan embgrets
Thanks everyone for your valuable feedback. I think we can send the branches to be delayed back to opensips and in this way, it would be a new call in opensips so we can easily handle it with extra configs. Anyways, we changed the business logic a bit(send to phones only if registered) and were a

Re: [OpenSIPS-Users] How to delay a branch

2020-07-24 Thread Liviu Chircu
On 24.07.2020 16:25, Ben Newlin wrote: I think the issue here is that the sleep function pauses the OpenSIPS process in which it is running; it doesn’t matter what type of route you call it in, the whole process will sleep. Since all message processing, and all branch routes, are running in t

Re: [OpenSIPS-Users] How to delay a branch

2020-07-24 Thread Ben Newlin
mailling list Subject: Re: [OpenSIPS-Users] How to delay a branch Hi, Thanks for coming back to me on this query. I did not want to do serial forking. Let me try to explain my query in better detail. So, i have desktop phones and mobile phones registered to same AOR, what i wanted to do was

Re: [OpenSIPS-Users] How to delay a branch

2020-07-24 Thread ryan embgrets
Hi, Thanks for coming back to me on this query. I did not want to do serial forking. Let me try to explain my query in better detail. So, i have desktop phones and mobile phones registered to same AOR, what i wanted to do was, If we have mobile phone devices registered we send invites to them i

Re: [OpenSIPS-Users] How to delay a branch

2020-07-24 Thread Liviu Chircu
On 13.07.2020 16:02, ryan embgrets wrote: So, I set a branch flag on those registrations before calling the save function, and then try to use async sleep in the branch route after lookup. But I see sleep applies on the whole call(all branches are sent with delay) no matter if it was called

[OpenSIPS-Users] How to delay a branch

2020-07-13 Thread ryan embgrets
Greetings, I am using mid-registrar module to bind multiple devices to a single AOR. I would like to put some delay between different branches while sending them out. So, I set a branch flag on those registrations before calling the save function, and then try to use async sleep in the branch rou