Try using the 'export' app rather than 'set'.<br><br>Dan<br><br><div class="gmail_quote">2010/3/8 Javier Aristizábal <span dir="ltr"><<a href="mailto:javieraristizabal@gmail.com" target="_blank">javieraristizabal@gmail.com</a>></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'm trying to pass the phone number of the incoming caller as the caller id on the leg B. But it doesn't work.</div>
<div><br></div><div>
Here is my dialplan:</div><div><br></div><div><div><font color="#330099"><extension name="incoming"></font></div><div><font color="#330099"> <condition field="destination_number" expression="^(3055908934)$"></font></div>
<div><font color="#330099"> <action application="info"/></font></div><div><font color="#330099"> <action application="set" data="effective_callee_id_number=${caller_id_number}"/></font></div>
<div><font color="#330099"> <action application="bridge" data="{sip_cid_type=rpid}sofia/gateway/xcast/17862065658"/></font></div><div><font color="#330099"> </condition></font></div>
<div><font color="#330099"> </extension></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: "Javier" <<a href="mailto:sip%3Axcast@wholesale.xcastlabs.com" target="_blank">sip:xcast@wholesale.xcastlabs.com</a>;transport=udp>;tag=K6U13Hy2rpgBe</div>
<div>To: <<a href="mailto:sip%3A17862065658@wholesale.xcastlabs.com" target="_blank">sip:17862065658@wholesale.xcastlabs.com</a>></div><div>Call-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2</div><div>CSeq: 127923447 INVITE</div>
<div>Contact: <sip:gw+xcast@66.231.242.173:5080;transport=udp;gw=xcast></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: "Javier" <<a href="mailto:sip%3A3052606062@wholesale.xcastlabs.com" target="_blank">sip:3052606062@wholesale.xcastlabs.com</a>>;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'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>