Try using the 'export' app rather than 'set'.
Dan
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/12368This is the INVITE on the bLeg:INVITE sip:17862065658@wholesale.xcastlabs.com SIP/2.0Via: SIP/2.0/UDP 66.231.242.173:5080;rport;branch=z9hG4bKS6jFBtp9crtFpMax-Forwards: 68From: "Javier" <sip:xcast@wholesale.xcastlabs.com;transport=udp>;tag=K6U13Hy2rpgBeCall-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2CSeq: 127923447 INVITEContact: <sip:gw+xcast@66.231.242.173:5080;transport=udp;gw=xcast>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16921Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 250X-FS-Support: update_displayRemote-Party-ID: "Javier" <sip:3052606062@wholesale.xcastlabs.com>;party=calling;screen=yes;privacy=offv=0o=FreeSWITCH 1268060050 1268060051 IN IP4 66.231.242.173s=FreeSWITCHc=IN IP4 66.231.242.173t=0 0m=audio 23516 RTP/AVP 18 101 13a=rtpmap:18 G729/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=rtpmap:13 CN/8000a=ptime:20And 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