Try using the 'export' app rather than 'set'. Dan 2010/3/8 Javier Aristizábal <javieraristizabal@gmail.com>
Hi folks!! 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.
Here is my dialplan:
<extension name="incoming"> <condition field="destination_number" expression="^(3055908934)$"> <action application="info"/> <action application="set" data="effective_callee_id_number=${caller_id_number}"/> <action application="bridge" data="{sip_cid_type=rpid}sofia/gateway/xcast/17862065658"/> </condition> </extension>
Here is the Log and SIP trace: http://pastebin.freeswitch.org/12368
This is the INVITE on the bLeg:
INVITE sip:17862065658@wholesale.xcastlabs.com<sip%3A17862065658@wholesale.xcastlabs.com>SIP/2.0 Via: SIP/2.0/UDP 66.231.242.173:5080;rport;branch=z9hG4bKS6jFBtp9crtFp Max-Forwards: 68 From: "Javier" <sip:xcast@wholesale.xcastlabs.com<sip%3Axcast@wholesale.xcastlabs.com> ;transport=udp>;tag=K6U13Hy2rpgBe To: <sip:17862065658@wholesale.xcastlabs.com<sip%3A17862065658@wholesale.xcastlabs.com>
Call-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2 CSeq: 127923447 INVITE Contact: <sip:gw+xcast@66.231.242.173:5080;transport=udp;gw=xcast> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16921 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Allow-Events: talk, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 250 X-FS-Support: update_display Remote-Party-ID: "Javier" <sip:3052606062@wholesale.xcastlabs.com<sip%3A3052606062@wholesale.xcastlabs.com>
;party=calling;screen=yes;privacy=off
v=0 o=FreeSWITCH 1268060050 1268060051 IN IP4 66.231.242.173 s=FreeSWITCH c=IN IP4 66.231.242.173 t=0 0 m=audio 23516 RTP/AVP 18 101 13 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20
And i'm on FreeSWITCH Version 1.0.trunk (16921)
Many thanks
/Javier
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org