[Freeswitch-users] Setting user to user information (UUI)

Varsha Agarwal vagarwal at vertical.com
Wed Mar 8 02:46:27 MSK 2017


Thanks Brian. Other end in this case is under development so I have some flexibility there. Here is how I am stuffing it right now

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

It looks good in wireshark. Please let me know if you see a problem.




From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, March 07, 2017 3:12 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Setting user to user information (UUI)

https://tools.ietf.org/html/rfc7433

User-to-User is what I recall, but that all depends probably on what you're talking to on the other side.

/b


On Tue, Mar 7, 2017 at 3:41 PM, Varsha Agarwal <vagarwal at vertical.com<mailto:vagarwal at vertical.com>> wrote:
Are you pointing to
#define SOFIA_SIP_HEADER_PREFIX "sip_h_"

As I mentioned, I can add a custom field in the header my question is if that is the standard way of stuffing UUI is SIP header? I tried to find a sample but could not.

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Sergey Safarov
Sent: Tuesday, March 07, 2017 1:07 PM

To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Setting user to user information (UUI)

Look at headers prefix present here<https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/mod_sofia.h#115-123>

вт, 7 мар. 2017 г. в 22:43, Varsha Agarwal <vagarwal at vertical.com<mailto:vagarwal at vertical.com>>:
I tried adding a custom header "CallInfo" for ex. sip_h_callInfo and I see that it gets added to SIP header and passed along. But what's confusing is just adding var sip_h_User_to_User is same as adding a SIP UUI as per RFC or there is more to it. Any help would be great.

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Brian West
Sent: Tuesday, March 07, 2017 11:29 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Setting user to user information (UUI)

I know we parse User-to-User header, I'm not aware if we can set it, have you tried setting the var sip_h_User-to-User?

On Tue, Mar 7, 2017 at 1:14 PM, Varsha Agarwal <vagarwal at vertical.com<mailto:vagarwal at vertical.com>> wrote:
Hi,

In Freeswitch, is it possible to set SIP UUI (user to user information) before transferring the call another application? We want to add some information to the call so the application on the other end can retrieve it?

Thanks,
Varsha

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>

Twitter: @FreeSWITCH , @briankwest

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Allison prompts for FreeSWITCH:

https://www.gofundme.com/allison-prompts-for-freeswitch


Got Bugs? Report them here<https://freeswitch.org/jira>! | Reddit: /r/freeswitch<https://www.reddit.com/r/freeswitch>

T:+19184209001<tel:(918)%20420-9001> | F:+19184209002<tel:(918)%20420-9002> | M:+1918424WEST (9378)
Skype:briankwest
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>

Twitter: @FreeSWITCH , @briankwest

http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Allison prompts for FreeSWITCH:

https://www.gofundme.com/allison-prompts-for-freeswitch


Got Bugs? Report them here<https://freeswitch.org/jira>! | Reddit: /r/freeswitch<https://www.reddit.com/r/freeswitch>

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170307/d542653a/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list