[Freeswitch-users] outbound_caller_id vs origination_caller_id_number
Markus Bönke
mbodbg at gmx.net
Thu Mar 24 10:59:45 MSK 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160324/21706e7a/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list