Anyone ?? At least let me know if this cannot be done.
I am trying to export sip_h_Diversion header twice but I only see the last attempt on leg-B. It appears that second export attempt overwrites the first one.
How can I export it twice?
<extension name="public_did">
<condition field="destination_number" expression="^9999(\d{10})$">
<action application="set" data="ocn=18005551212"/>
<action application="set" data="rdn=18005552323"/>
<action application="export" data=" nolocal:sip_h_Diversion =<sip:${ocn}@${network_addr}>;reason=user-busy;counter=3;privacy=off"/>
<action application="export" data=" nolocal:sip_h_Diversion =<sip:${rdn}@${network_addr}>;reason=no-answer;counter=1;privacy=off"/>
<action application="set" data="hangup_after_bridge=true" />
<action application="set" data="continue_on_fail=true"/>
<action application="transfer" data="1001 XML default"/>
</condition>
</extension>