[SR-Users] get and store destination ip address and port that the request will be sent to
Daniel-Constantin Mierla
miconda at gmail.com
Mon May 30 12:27:39 CEST 2022
Hello,
if you want them in the onsend_route, then there should be variables
like $sndto(ip), $sndto(port).
Cheers,
Daniel
On 23.05.22 21:30, Patrick Karton wrote:
> Hello is there a way or pseudo var to get ip address & port that the
> request will be sent to and save it in to another variable.
>
> i want a way to get it to store it.
>
> im not able to save it with *to_ip *and *to_port *of the *onsend_route*.
>
> TThanks.
>
> __________________________________________________________
> 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
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online: June 20-23, 2022
* https://www.asipto.com/sw/kamailio-advanced-training-online/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220530/abe13363/attachment.htm>
More information about the sr-users
mailing list