Try using the &#39;export&#39; app rather than &#39;set&#39;.<br><br>Dan<br><br><div class="gmail_quote">2010/3/8 Javier Aristizábal <span dir="ltr">&lt;<a href="mailto:javieraristizabal@gmail.com" target="_blank">javieraristizabal@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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 color="#330099">&lt;extension name=&quot;incoming&quot;&gt;</font></div><div><font color="#330099">        &lt;condition field=&quot;destination_number&quot; expression=&quot;^(3055908934)$&quot;&gt;</font></div>


<div><font color="#330099">                &lt;action application=&quot;info&quot;/&gt;</font></div><div><font color="#330099">                &lt;action application=&quot;set&quot; data=&quot;effective_callee_id_number=${caller_id_number}&quot;/&gt;</font></div>


<div><font color="#330099">                &lt;action application=&quot;bridge&quot; data=&quot;{sip_cid_type=rpid}sofia/gateway/xcast/17862065658&quot;/&gt;</font></div><div><font color="#330099">         &lt;/condition&gt;</font></div>


<div><font color="#330099">    &lt;/extension&gt;</font></div><div><font color="#330099"><br></font></div><div>Here is the Log and SIP trace: <a href="http://pastebin.freeswitch.org/12368" target="_blank">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" target="_blank">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" target="_blank">sip:xcast@wholesale.xcastlabs.com</a>;transport=udp&gt;;tag=K6U13Hy2rpgBe</div>


<div>To: &lt;<a href="mailto:sip%3A17862065658@wholesale.xcastlabs.com" target="_blank">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" target="_blank">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><font color="#888888"><div><br></div><div>/Javier</div></font></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>