[Freeswitch-users] "FreeSWITCH" <sip:0000000000

David Villasmil david.villasmil.work at gmail.com
Fri Dec 16 16:00:29 MSK 2016


There 2 ways to set it, with effective_caller_id_number or with
origination_caller_id_number.

Caveat is, *effective_caller_id_number* can ONLY be set *BEFORE* the
bridge, like so:

        <action application="set"
data="effective_caller_id_number=${caller_id_number}"/>
        <action application="set"
data="effective_caller_id_name=${caller_id_number}"/>
        <action application="bridge" data="sofia/gateway/your-gateway/$1"/>

if you set it on the bridge it will not work.

And you can also use origination_caller_id_number, BUT you need to set it *on
the bridge itself*:

<action application="bridge"
data="{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your'gateway/$1"/>

hope it's clear.



Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337

On Tue, Dec 13, 2016 at 6:06 PM, David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Hello all,
>
> Can Anyone help on this?
>
> Thanks
>
> On Mon, Dec 12, 2016 at 7:23 PM Gregor Nanger <gregor at infomedia.si> wrote:
>
>> I have have similar problem when calling from Verto extension. Regardless
>> what I set in extension profile, it is always 000000000.
>>
>> On Mon, Dec 12, 2016, 19:09 David Villasmil <david.villasmil.work at gmail.
>> com> wrote:
>>
>> I have in my gateway "caller-id-in-from" to true...
>> i have in my bridge:
>>
>>  13       <action application="set" data="effective_caller_id_
>> number=3051111111"/>
>>  14       <action application="set" data="effective_caller_id_
>> name=30511111112"/>
>>  15       <action application="bridge" data="{origination_caller_id_
>> number=3051111111,origination_caller_id_name=3051111111}
>> sofia/gateway/mygw/$1"/>
>>
>> why do i keep seeing going out like:
>>
>> From: "FreeSWITCH" <sip:0000000000 at 1.2.3.4>;tag=Qgtcrcv3NmD4B
>> ...
>> Remote-Party-ID: "FreeSWITCH" <sip:0000000000 at 1.2.3.4>;
>> party=calling;screen=yes;privacy=off
>>
>> i seem to have forgotten or...
>>
>>
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337 <+34%20669%2044%2083%2037>
>>
>> _________________________________________________________________________
>> 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
>>
>> --
>> Gregor Nanger
>>
>> *CTO*
>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>> • www.infomedia.si
>> _________________________________________________________________________
>> 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/20161216/13eed491/attachment.html 


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