Hi folks!! <div>I have an incoming call being bridged to an outgoing call ann i&#39;m trying to pass the phone number of the incoming caller as the caller id on the leg B. But it doesn&#39;t work.</div><div><br></div><div>
Here is my dialplan:</div><div><br></div><div><div><font class="Apple-style-span" color="#330099">&lt;extension name=&quot;incoming&quot;&gt;</font></div><div><font class="Apple-style-span" color="#330099">        &lt;condition field=&quot;destination_number&quot; expression=&quot;^(3055908934)$&quot;&gt;</font></div>
<div><font class="Apple-style-span" color="#330099">                &lt;action application=&quot;info&quot;/&gt;</font></div><div><font class="Apple-style-span" color="#330099">                &lt;action application=&quot;set&quot; data=&quot;effective_callee_id_number=${caller_id_number}&quot;/&gt;</font></div>
<div><font class="Apple-style-span" color="#330099">                &lt;action application=&quot;bridge&quot; data=&quot;{sip_cid_type=rpid}sofia/gateway/xcast/17862065658&quot;/&gt;</font></div><div><font class="Apple-style-span" color="#330099">         &lt;/condition&gt;</font></div>
<div><font class="Apple-style-span" color="#330099">    &lt;/extension&gt;</font></div><div><font class="Apple-style-span" color="#330099"><br></font></div><div>Here is the Log and SIP trace: <a href="http://pastebin.freeswitch.org/12368">http://pastebin.freeswitch.org/12368</a></div>
<div><br></div><div><br></div><div>This is the INVITE on the bLeg:</div><div><br></div><div><div>INVITE <a href="mailto:sip%3A17862065658@wholesale.xcastlabs.com">sip:17862065658@wholesale.xcastlabs.com</a> SIP/2.0</div><div>
Via: SIP/2.0/UDP 66.231.242.173:5080;rport;branch=z9hG4bKS6jFBtp9crtFp</div><div>Max-Forwards: 68</div><div>From: &quot;Javier&quot; &lt;<a href="mailto:sip%3Axcast@wholesale.xcastlabs.com">sip:xcast@wholesale.xcastlabs.com</a>;transport=udp&gt;;tag=K6U13Hy2rpgBe</div>
<div>To: &lt;<a href="mailto:sip%3A17862065658@wholesale.xcastlabs.com">sip:17862065658@wholesale.xcastlabs.com</a>&gt;</div><div>Call-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2</div><div>CSeq: 127923447 INVITE</div><div>Contact: &lt;sip:gw+xcast@66.231.242.173:5080;transport=udp;gw=xcast&gt;</div>
<div>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16921</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY</div><div>Supported: timer, precondition, path, replaces</div><div>Allow-Events: talk, refer</div>
<div>Content-Type: application/sdp</div><div>Content-Disposition: session</div><div>Content-Length: 250</div><div>X-FS-Support: update_display</div><div>Remote-Party-ID: &quot;Javier&quot; &lt;<a href="mailto:sip%3A3052606062@wholesale.xcastlabs.com">sip:3052606062@wholesale.xcastlabs.com</a>&gt;;party=calling;screen=yes;privacy=off</div>
<div><br></div><div>v=0</div><div>o=FreeSWITCH 1268060050 1268060051 IN IP4 66.231.242.173</div><div>s=FreeSWITCH</div><div>c=IN IP4 66.231.242.173</div><div>t=0 0</div><div>m=audio 23516 RTP/AVP 18 101 13</div><div>a=rtpmap:18 G729/8000</div>
<div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=rtpmap:13 CN/8000</div><div>a=ptime:20</div><div><br></div><div><br></div><div>And i&#39;m on FreeSWITCH Version 1.0.trunk (16921)</div><div><br>
</div><div><br></div><div>Many thanks</div><div><br></div><div><br></div><div>/Javier</div></div></div>