[Freeswitch-users] User-to-User RFC 7433

Adrian Worutowicz adrian.worutowicz at esifrance.net
Mon Oct 11 13:26:47 UTC 2021

Thanks Brian,

I’ve read that it is possible to insert any line to the SIP header.

Is it true ? If so, how to do it ?


De : Brian West <brian at freeswitch.com>
Envoyé : lundi 11 octobre 2021 15:18
À : Adrian Worutowicz <adrian.worutowicz at esifrance.net>
Cc : FreeSWITCH-users at lists.freeswitch.org
Objet : Re: [Freeswitch-users] User-to-User RFC 7433

Code will probably need to be written for that.


On Mon, Oct 11, 2021 at 8:17 AM Adrian Worutowicz <adrian.worutowicz at esifrance.net<mailto:adrian.worutowicz at esifrance.net>> wrote:

I need to add the User-to-User field to the SIP header – for incoming calls.
I have not managed to do it (neither for incoming nor for outgoing calls).

In ./conf/dialplan/default.xml,  <extension> section, I added :

<action application="set" data="sip_h_User-to-User=123"/>
<action application="set"><![CDATA[sip_h_User-to-User=${sip_Call_ID};tenant=1101;DID=${sip_to_user}]]></action>

No result.

In sofia_presence.c, I’ve seen some code for "User-to-User", so it should be possible. But how to do it ?

Best regards,


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 at freeswitch.com<mailto:sales at freeswitch.com>

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>


Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com<mailto:brian at freeswitch.com>

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211011/797fcaeb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD0000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD0000.jpg
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211011/797fcaeb/attachment-0001.jpg>

More information about the FreeSWITCH-users mailing list