[SR-Users] http_async_client "route_name" is what type of route?

Brooks Bridges bbridges at call48.com
Thu Sep 29 22:58:26 CEST 2022


Specifically msg_apply_changes() is what I'm trying to make work to return an updated Contact header.

I will look into the suspend option, thanks!

Brooks Bridges
1200 S. Rogers Circle, Unit 6
Boca Raton, FL 33487
Office: 916-235-2097 Main: 888-444-1111
email: bbridges at call48.com  | web: www.call48.com


-----Original Message-----
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Thursday, September 29, 2022 13:50
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] http_async_client "route_name" is what type of route?

It’s a module-specific event route.

Are you using $http_req(suspend)? If so, try — and it’s a long shot, but try it:

   route[HTTP_REPLY] {
      …
      route(ANOTHER_ROUTE);
   }

Are the functions you want available inside route[ANOTHER_ROUTE]?

— Alex

> On Sep 29, 2022, at 4:46 PM, Brooks Bridges <bbridges at call48.com> wrote:
>
> Running into an issue where I can't access certain functions inside the response route or "route_name" for handling the asynchronous reply from an http_async_query() that's being run.  Does anyone know what type of route that is considered to be?  I know it's not a request route or a failure route based on the errors I'm getting, but I can't find anything that outlines what that route actually is.
>
> Thanks!
>
> Brooks Bridges
> 1200 S. Rogers Circle, Unit 6
> Boca Raton, FL 33487
> Office: 916-235-2097 Main: 888-444-1111
> email: bbridges at call48.com  | web: www.call48.com
>
>
> Confidentiality Notice: This e-mail, and any attachment to it, contains privileged and confidential information intended only for the use of the individual(s) or entity named on the e-mail. If the reader of this e-mail is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that reading this e-mail is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system.
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>  * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users at lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Confidentiality Notice: This e-mail, and any attachment to it, contains privileged and confidential information intended only for the use of the individual(s) or entity named on the e-mail. If the reader of this e-mail is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that reading this e-mail is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system.


More information about the sr-users mailing list