Since you did not describe the exact way you are doing it with enough detail or any trace I can't begin to tell you
what your problem is.  you did not even mention what variable you are using or show examples.

All I can do is tell you again that if you set the origination_caller_id_number in the dial string it will
be the most likely to work for you.




On Mon, Mar 2, 2009 at 4:08 PM, Michael Collins <msc@freeswitch.org> wrote:
On Mon, Mar 2, 2009 at 1:58 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
> Hello Anthony,
>
> sorry for being tenacious but in some cases it works in a way we need it:
> If I a am not suppressing the cid numer when calling A, the following
> scenario works:
>
>    * A receives a Call (originate) with CID '0000000000' (default from
>      switch_caller.c)
>    * A dials some digits via DTMF, the app set the cid variables via
>      uuid_setvar and uuid_transfers the call to B. B receives a call
>      with the right cid set.
>
> Maybe I simply modify the default cid '0000000000'  to a different value
> in switch_caller.c? Is there a special reason why this is '0000000000'?
>

Check vars.xml to confirm that you have actually set a default caller
ID. Most likely you'll still have the default caller id number set to
all zeroes, which is the default.

-MC

> I am using trunk version 12293.
>
> Best regards
> Peter
>




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400