Re: [OpenSIPS-Users] event routing and rtpengine

2018-10-09 Thread Tito Cumpen
Bogdan, Re awakening this question I have tried the following route[fork_call] { xlog("user $avp(aor) registered the a new contact $avp(uri), " "injecting it in transaction with transport $avp(transport)\n"); xlog("destination protocol $var(transport) upstream ts

Re: [OpenSIPS-Users] event routing and rtpengine

2018-06-14 Thread Bogdan-Andrei Iancu
Hi Tito, The resume route has no context of the transaction, nor message -> so the bflags are not available. Still, the event carries all the information about the new branch to be injected, so you can reach to the flags via the $avp(bflags) variables - this will keep the bitmask with all

Re: [OpenSIPS-Users] event routing and rtpengine

2018-04-19 Thread Tito Cumpen
Bogdan, Once I declared the branch route it looks like it is going through the branch route logic. The issue I have is parsing the exported $avp(uri) for transport=ws and then setting a branch flag that is kept from the event route route[fork_call] { xlog("user $avp(aor) registered the a

Re: [OpenSIPS-Users] event routing and rtpengine

2018-04-19 Thread Bogdan-Andrei Iancu
Tito, Arming the branch route once, in the request route, before the initial t_relay() should be fine. Now, if you use any xlog() to check , is the branch route triggered for the injected branch ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] event routing and rtpengine

2018-04-18 Thread Tito Cumpen
Bogdan, The branch route is defined in my my relay route. https://pastebin.com/MFcLxcDv Should it be defined in the event route I figured since the original transaction used the relay route it would use the route defined there ? Thanks, Tito On Wed, Apr 18, 2018 at 9:32 AM, Bogdan-Andrei

Re: [OpenSIPS-Users] event routing and rtpengine

2018-04-18 Thread Bogdan-Andrei Iancu
Hi Tito, I see no branch route in your script sample. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam On 04/16/2018 09:37 PM, Tito Cumpen wrote: Group, I am having

[OpenSIPS-Users] event routing and rtpengine

2018-04-16 Thread Tito Cumpen
Group, I am having issues when injecting a new branch with rtpengine flags to a call request using the event routing module. It seems like when the branch is injected it either does not use any of the flags to aid with rtpengine media translation or does not run through the branch route block