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 ?

 

Adrian.

 

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

 

Code will probably need to be written for that.

 

/b

 

 

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

Hello,

 

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

or

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

Adrian.

 

 

 

_________________________________________________________________________

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


 

--

 

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com