cannot set variable on att_xfer bridge
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.
For anyone having the same issue, I was able to send variables in the SIP Header using: <action application="set" data="sip_h_X-default_areacode=1918"/>
participants (1)
-
Vik Killa