FreeSwitch is not a proxy. Its a B2BUA. 

relaying such values is what a proxy does. 

401 and 407 specifically are what you send for rejecting calls because the user/pass is not correct on things like the initial invite or a register request. and they also include additional headers for challenging auth. Freeswitch is not going to pass that back either.

and this doesnt touch on the Q.850 which is not a SIP reason but an ISUP reason. You can put SIP data in the Reason header but then its now a Q.850 anymore

Sent from my iPhone

On Jul 25, 2022, at 17:40, Patrick Karton <patrickarton@hotmail.com> wrote:


Hello Alex,

in fact i want to relay another  Q.850 through X- header because freeswitch always add  Q.850 for all >=400 final responses.

i have a setup like this

Caller <-----> Freeswitch <---> Callee

if callee send a final reply >=400 with a Q.850 code i want it to be relayed to caller on leg A and not the freeswitch One.



De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> de la part de Alex Balashov <abalashov@evaristesys.com>
Envoyé : lundi 25 juillet 2022 22:39
À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Objet : Re: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses
 
This gives rise to a crinkled brow, a nonplussed reaction, and a natural question: what are you trying to accomplish?

Perhaps there is another way to accomplish it?

— Alex

> On Jul 13, 2022, at 12:10 PM, Patrick Karton <patrickarton@hotmail.com> wrote:
>
> i noticed that Freeswitch does not relay X-header in 401 or 407 response code !!!
>
> is there a way to enable it
>
> Thanks.
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time https://signalwire.community
>
> Professional FreeSWITCH Services
> sales@freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

--
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/


_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com