In the default configuration, the variable outbound_caller_id is set to 0000000:

 <X-PRE-PROCESS cmd="set" data="outbound_caller_id=0000000000"/>

I understood that this value is used on an originate if when no callerid is set.

fs_cli -x 'originate {originate_timeout=20}sofia/gateway/MYGATEWAY/+1111111111 &park'

But also changing that value in var.xml does not change the signaled callerid, freeswitch uses also  0000000 as callerid. I think because this value is also hardcoded in switch_types.h as default.

If I want to set a callerid on originate, I have to set the variable origination_caller_id_number like:

fs_cli -x 'originate {originate_timeout=20}[origination_caller_id_number=022323232323]sofia/gateway/MYGATEWAY/+11111111 &park‘


So what is the idea behind the variable outbound_caller_id which is preset in vars.xml?

Thanks 

Markus