[Freeswitch-users] CID Question: How pass the CID?
Javier Aristizábal
javieraristizabal at gmail.com
Mon Mar 8 13:58:46 PST 2010
HI Dan. Thanks. I did it with the same result.
/Javier
On Mon, Mar 8, 2010 at 4:50 PM, Dan Le <dule.maillist at gmail.com> wrote:
> Try using the 'export' app rather than 'set'.
>
> Dan
>
> 2010/3/8 Javier Aristizábal <javieraristizabal at 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 at wholesale.xcastlabs.com<sip%3A17862065658 at 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 at wholesale.xcastlabs.com<sip%3Axcast at wholesale.xcastlabs.com>
>> ;transport=udp>;tag=K6U13Hy2rpgBe
>> To: <sip:17862065658 at wholesale.xcastlabs.com<sip%3A17862065658 at wholesale.xcastlabs.com>
>> >
>> Call-ID: 0c42bf79-a59c-122d-b98c-0014384f7ec2
>> CSeq: 127923447 INVITE
>> Contact: <sip:gw+xcast at 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 at wholesale.xcastlabs.com<sip%3A3052606062 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100308/71e159dd/attachment-0002.html
More information about the FreeSWITCH-users
mailing list