[Freeswitch-users] outbound_caller_id vs origination_caller_id_number

Michael Collins msc at freeswitch.org
Fri Mar 25 19:37:25 MSK 2016


One place those variables is used is in the vanilla dialplan, specifically
dialplan/default/01_example.xml. Note that the
outbound_caller_id_name/number variables are also set in the directory
entries, so when an auth'd user makes an outbound call the value for that
user is applied.

When performing an originate API I always use origination_caller_id_number.
I can't think of a good reason not to set it every time.

-MSC


On Thu, Mar 24, 2016 at 12:59 AM, Markus Bönke <mbodbg at gmx.net> wrote:

> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20160325/525c98d5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list