SIP User to User (UUI) from Asterisk to Avaya Session Manager

Hi Guys,

I’m trying to send through SIP a UUI (User to User) field from Asterisk to Avaya Session Manager, from last exchange I got with them it looks that I’m not sending UUI under expected format by Avaya using RFC standard https://tools.ietf.org/html/rfc7433.

I tried to send it under different way in my dialplan by adding SIP Private header as per below, but no one is accepted by Avaya even if they can see it, Avaya can’t decode it properly, here you have all different way I tried:

same => n,SIPAddHeader(User-to-User: 123434)
same => n,SIPAddHeader(X-User-to-User: 123434)
same => n,SIPAddHeader(User-to-User: 123434;encoding=hex;purpose=foo;content=bar)
same => n,SIPAddHeader(X-User-to-User: 123434;encoding=hex;purpose=foo;content=bar)
same => n,SIPAddHeader(User-to-User: 123434;encoding=hex)
same => n,SIPAddHeader(X-User-to-User: 123434;encoding=hex)

Any help on it would be appreciated.

Thanks for the usual support

Best Regards

I would say this is a question for Avaya, although you should use “sip set debug on”, to make sure the header is being added correctly, first.

Hey,

Indeed it looks to be sent correctly see below two test case, below two INVITE:

First test case with X-User-to-User:

[Nov 15 16:17:27] INVITE sip:65030@10.237.22.12 SIP/2.0
[Nov 15 16:17:27] Via: SIP/2.0/UDP 10.148.8.29:5060;branch=z9hG4bK2e37c7d2
[Nov 15 16:17:27] Max-Forwards: 70
[Nov 15 16:17:27] From: “Cyril CONSTANTIN” sip:40075@10.148.8.29;tag=as754c5648
[Nov 15 16:17:27] To: sip:65030@10.237.22.12
[Nov 15 16:17:27] Contact: sip:40075@10.148.8.29:5060
[Nov 15 16:17:27] Call-ID: 60280b99791a6661490cb7316e25006c@10.148.8.29:5060
[Nov 15 16:17:27] CSeq: 102 INVITE
[Nov 15 16:17:27] User-Agent: 118218
[Nov 15 16:17:27] Date: Tue, 15 Nov 2016 15:17:27 GMT
[Nov 15 16:17:27] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Nov 15 16:17:27] Supported: replaces, timer
[Nov 15 16:17:27] X-User-to-User: 56a390f3d2b7310023a2;encoding=hex;purpose=foo;content=bar
[Nov 15 16:17:27] Remote-Party-ID: “Cyril CONSTANTIN” sip:40075@10.148.8.29;party=calling;privacy=off;screen=yes
[Nov 15 16:17:27] Content-Type: application/sdp
[Nov 15 16:17:27] Content-Length: 1075

Second test case with only User-to-User

[Nov 15 16:19:17] INVITE sip:65030@10.237.22.12 SIP/2.0
[Nov 15 16:19:17] Via: SIP/2.0/UDP 10.148.8.29:5060;branch=z9hG4bK6733b325
[Nov 15 16:19:17] Max-Forwards: 70
[Nov 15 16:19:17] From: “Cyril CONSTANTIN” sip:40075@10.148.8.29;tag=as2cef5a40
[Nov 15 16:19:17] To: sip:65030@10.237.22.12
[Nov 15 16:19:17] Contact: sip:40075@10.148.8.29:5060
[Nov 15 16:19:17] Call-ID: 121867a74a5e7b194872b60160ad935e@10.148.8.29:5060
[Nov 15 16:19:17] CSeq: 102 INVITE
[Nov 15 16:19:17] User-Agent: 118218
[Nov 15 16:19:17] Date: Tue, 15 Nov 2016 15:19:17 GMT
[Nov 15 16:19:17] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Nov 15 16:19:17] Supported: replaces, timer
[Nov 15 16:19:17] User-to-User: 56a390f3d2b7310023a2;encoding=hex;purpose=foo;content=bar
[Nov 15 16:19:17] Remote-Party-ID: “Cyril CONSTANTIN” sip:40075@10.148.8.29;party=calling;privacy=off;screen=yes
[Nov 15 16:19:17] Content-Type: application/sdp
[Nov 15 16:19:17] Content-Length: 1075

Thanks for your feedback

I finally got it working !!

see below the kind of UUI expected by Avaya, the UUI length looks to have a minimum value, I need to dig into it a little bit more into the RFC to understand if I need to calculate a payload to build the UUI

This one works and give me on Avaya phone 1234567890 when I press UUI-INFO button !

SIPAddHeader(User-to-User: 04C80A31323334353637383930FA08269400D55113E3AC;encoding=hex)

Regards