[OpenSIPS-Users] Change probing_from() in script

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Nov 26 07:02:28 EST 2021


Hi Mark,

The per-msg FROM changing will break the SIP , as the FROM hdr is dialog 
persistent (as value). But you have a point here, that probing OPTIONS 
is not creating any SIP dialog, so you should be good with that.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 2021
   https://opensips.org/training/OpenSIPS_eBootcamp_2021/

On 11/25/21 6:40 PM, Mark Farmer wrote:
> Thanks Bogdan.
>
> I did work around it in local_route by removing and re-adding the 
> From: header based on a specific destination.
>
> Mark.
>
> On Thu, 25 Nov 2021 at 15:31, Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Mark,
>
>     I'm afraid there is no way to do that.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>
>     OpenSIPS Founder and Developer
>        https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
>     OpenSIPS eBootcamp 2021
>        https://opensips.org/training/OpenSIPS_eBootcamp_2021/  <https://opensips.org/training/OpenSIPS_eBootcamp_2021/>
>
>     On 11/25/21 2:52 PM, Mark Farmer wrote:
>>     Hi everyone
>>
>>     I have 2 interfaces (udp:internal & a natted tls:external as
>>     xxx.xxx.xxx.xxx) and using drouting() to send sip OPTIONS to
>>     endpoints via both.
>>
>>     I have been using the 'probing_from' parameter but I would like
>>     to change the from URI depending on which interface the OPTIONS
>>     request will be sent from.
>>
>>     Is this possible? I am using 3.2
>>
>>     Many thanks
>>     Mark.
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users  <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
> -- 
> Mark Farmer
> farmorg at gmail.com <mailto:farmorg at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211126/5383f803/attachment.html>


More information about the Users mailing list