Refer/Replace UUI, User-to-User


#1

Does Asterisk support Refer/Replace transfer using a hexadecimal UUI or User-to-User header?

Example:

Refer-To: sip:12125551212@192.168.111.11?User-to-User=04313132333133353734373837343337343B4F3B30313B39343139313232333233313238%3Bencoding%3Dhex.

Where 12125551212 is a fake number,
Can I decode 04313132333133353734373837343337343B4F3B30313B39343139313232333233313238 to the real number and insert it in the place of 12125551212 as the Refer-To: URI in order to transfer the call to that number?


#2

I think someone would need to extend the USERUSERINFO variable to the SIP channel driver; right now it’s only for DAHDI.


#3

I believe that in test we use

exten => 77777,2,Set(uui=${SIP_HEADER(User-to-User)})
exten => 77777,3,Verbose(UUI: ${uui});
exten => 77777,6,Dial(SIP/67777@Test)

I hope this can help.