Hi I call a relay route from the branch route, so its basically
Route { . t_wait_for_new_branches(); $avp(filter)= "aor="+ $avp(to_user_uri); notify_on_event("E_UL_CONTACT_INSERT","$avp(filter)", "INSERT_CALL", "40"); t_on_branch(1) If ( lookup(location) route(relay) } route[RELAY] { if (is_method("INVITE")) { t_on_reply("1"); t_on_failure("3"); if (!t_relay()) { . } } } route[INSERT_CALL] { t_inject_branches("event","cancel"); } branch_route[1] { route(RELAY); exit; } BR / Olle PS I send another mail on the same subject since I missed your reply pls ignore that. Från: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Skickat: den 24 januari 2018 17:42 Till: OpenSIPS users mailling list <users@lists.opensips.org>; Olle Frimanson <o...@zaark.com> Ämne: Re: [OpenSIPS-Users] Problem with event based routing Hi Olle, Do you call t_relay() from a BRANCH_ROUTE ?? IF so, this is not legal as the branch route is only an inspection and modification route, not a signaling route. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam On 01/24/2018 11:33 AM, Olle Frimanson wrote: Hi, We are looking into changing our logic for push notification to the new event based routing that is available in opensips 2.3. In live scenarios everything is working fine but when I relay the call after injecting it into the branch I get the following error: CRITICAL:tm:w_t_relay: unsupported route type: 8 It would be great if you could share the configuration file that is used in the example mention in the blog post. BR/Olle _______________________________________________ Users mailing list Users@lists.opensips.org <mailto:Users@lists.opensips.org> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users