Hello All,<div><br></div><div>just want to clarify my understanding re: variables etc that can be set before a call bridge/transfer etc. It appears that we need to set these variables immediately before the bridge without any other operation occurring from when they are setup and when the bridge happens. Is that true?</div>
<div><br></div><div>I have a very simple dialplan like so:</div><div><br></div><div><div><include></div><div> <extension name="DIDtest"></div><div> <condition field="ani" expression="^\+?|+1?|1?(\d+).*$"/></div>
<div> <action application="export" data="effective_caller_id_number=$1"/></div><div> <condition field="destination_number" expression="^\+?+1?1?(.*)$"></div><div> <action application="bridge" data="{sip_invite_domain=${sip_from_host}}sofia/gateway/blade2/$1"/></div>
<div> </condition></div><div> </extension></div><div></include></div><div><br></div><div>But when the call is sent to gateway blade2, the callerID on the call is whatever the original callerID was with all the 1s and '+'s and whatever prefixes the call came in with. </div>
<div><br></div><div>Questions:</div><div>a) can the variable effective_caller_id_number not be set dynamically from a temp variable such as $1. I have also tried forcing it to a number like effective_caller_id_number=20239388383 and even then it doesn't work</div>
<div><br></div><div> b) I have also tried </div><div><br></div><div><action application="bridge" data="{effective_caller_id_number=20239388383}{sip_invite_domain=${sip_from_host}}sofia/gateway/blade9/$1"/></div>
</div><div><br></div><div>and that doesn't work either.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div><div>RR</div>