[Freeswitch-users] Outbound caller id for a specific gateway?

Dmitry Bely dmitry.bely at gmail.com
Tue Mar 22 10:49:53 MSK 2011


On Tue, Mar 22, 2011 at 8:02 AM, Michael Collins <msc at freeswitch.org> wrote:
> How about set the caller id in vars.xml:
> <X-PRE-PROCESS cmd="set" data="outbound_caller_id=0000000000"/>
> Set it to the most common value and then you only have to do something in
> bridges and originates that need a CID different from what you set in
> vars.xml...

I have a number of gateways that require different CIDs. So there is
no "most common" value. I have managed to make a proper dialplan but
originate is still tedious... I just wonder if there is more clean way
(something like caller-id-in-from gateway parameter)

> -MC
>
> On Sat, Mar 19, 2011 at 4:27 AM, Dmitry Bely <dmitry.bely at gmail.com> wrote:
>>
>> My VoIP provider requires a specific caller ID set for an outbound
>> call otherwise the call is rejected. Currently I set it just before
>> bridge
>>
>>      <action application="set" data="effective_caller_id_name=..."/>
>>      <action application="bridge" data="..."/>
>>
>> But it's tedious as there is a number of bridge commands in the
>> dialplan and I still have to explicitly specify the caller id for
>> "originate" command in the FreeSWITCH console. Is it possible to force
>> an outbound caller id on a gateway basis?

- Dmitry Bely



More information about the FreeSWITCH-users mailing list