18 May
2012
18 May
'12
2:25 p.m.
Hi, I can't seem to set variables on the att_xfer call leg. I've tried the following: <action application="att_xfer" data="{default_areacode=1918}sofia/internal/${digits}@${domain_name}"/> or <action application="export" data="default_areacode=${user_data(${caller_id_number}@${domain_name} var default_areacode)}"/> <action application="att_xfer" data="sofia/internal/${digits}@${domain_name}"/> or <action application="set" data="default_areacode=${user_data(${caller_id_number}@${domain_name} var default_areacode)}" inline="true"/> <action application="att_xfer" data="sofia/internal/${digits}@${domain_name}"/> None seem to work. Is it even possible to send variables to the att_xfer call leg? I don't see anything in the wiki about it.