Valet Parking destination as header

Dast

Member
Nov 11, 2019
58
10
8
Hi all

I've got a user that wants to receive the valet parking lot destination as a SIP header when parking a call using *5900.

I have modified the `app/valet_park/index.lua` script to include the following;
Code:
if (session:ready()) then
        session:execute("export", "sip_bye_h_X-Parked-To=sip:*"..destination_number.."@"..context);
end

However I am not seeing the "X-Parked-To" header. What am I doing wrong?
 
Last edited: