All,
<div><br></div>
<div>trying to set the to field on the B leg of the call from from FS toward the phone:</div>
<div><br></div>
<div><action application="export" data="sip_to_host=<a href="http://aeonvista.co.uk/" target="_blank">aeonvista.co.uk</a>"/></div>
<div><br></div>
<div>This seems to work - over-writing the From field in the B leg.</div>
<div><action application="export" data="sip_from_uri=${sip_from_uri}"/><br clear="all"><br></div>
<div>For example in the dialplan I am doing:</div>
<div><br></div>
<div>
<div> <extension name="vodafone_+441635698866"></div>
<div><span style="WHITE-SPACE: pre-wrap"></span><condition field="destination_number" expression="^(\+441635698866)$"></div>
<div><span style="WHITE-SPACE: pre-wrap"></span><action application="set" data="domain_name=<a href="http://aeonvista.co.uk/" target="_blank">aeonvista.co.uk</a>"/></div>
<div><span style="WHITE-SPACE: pre-wrap"></span><action application="set" data="domain=<a href="http://aeonvista.co.uk/" target="_blank">aeonvista.co.uk</a>"/></div>
<div><span style="WHITE-SPACE: pre-wrap"></span><action application="set" data="bypass_media=true"/></div>
<div><span style="WHITE-SPACE: pre-wrap"></span><action application="export" data="sip_from_uri=${sip_from_uri}"/></div>
<div><span style="WHITE-SPACE: pre-wrap"></span><action application="export" data="sip_to_host=<a href="http://aeonvista.co.uk/" target="_blank">aeonvista.co.uk</a>"/></div>
<div><span style="WHITE-SPACE: pre-wrap"></span><action application="bridge" data="sofia/<a href="http://aeonvista.co.uk/+441635698866" target="_blank">aeonvista.co.uk/+441635698866</a>" /></div>
<div><span style="WHITE-SPACE: pre-wrap"></span></condition></div>
<div> </extension></div></div>
<div><br></div>
<div>The resulting SIP INVITE from FS to the B party looks like:</div>
<div><br></div>
<div><span style="FONT-FAMILY: Verdana; FONT-SIZE: 11px">INVITE sip:+441635698866@192.168.0.15:2048;line=3sllxdbk SIP/2.0<br>Via: SIP/2.0/UDP 192.168.0.56;rport;branch=z9hG4bK5D3HQUQUa4XpF<br>Max-Forwards: 69<br>From: "+441635698863" <<a href="mailto:sip%3A%2B441635698863@aeonvista.co.uk" target="_blank">sip:+441635698863@aeonvista.co.uk</a>>;tag=Zy3U793m18aye<br>
To: <sip:+441635698866@192.168.0.15:2048;line=3sllxdbk><br>Call-ID: dc5311ea-45c1-122e-c586-000c290fc1a6<br>CSeq: 2509932 INVITE<br>Contact: <<a href="http://sip:mod_sofia@192.168.0.56:5060" target="_blank">sip:mod_sofia@192.168.0.56:5060</a>><br>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-svn-18355M<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>Supported: timer, precondition, path, replaces<br>Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer<br>
Content-Type: application/sdp<br>Content-Disposition: session<br>Content-Length: 330<br>X-Serialnumber: 0004132CB2E5<br>P-Key-Flags: keys="3"<br>X-FS-Support: update_display<br>Remote-Party-ID: "+441635698863" <<a href="mailto:sip%3A%2B441635698863@192.168.0.56" target="_blank">sip:+441635698863@192.168.0.56</a>>;party=calling;screen=yes;privacy=off</span><br>
<br><a href="http://aeonvista.blogspot.com/" target="_blank"></a></div>
<div><br></div>
<div><a href="http://aeonvista.blogspot.com/" target="_blank">Aeonvista Ltd</a><br><i style="COLOR: rgb(51,102,255)">Opening Up New Ideas</i><br></div>