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

Nicolas Brenner nico at clickfono.com
Wed Apr 27 14:10:20 MSD 2011


Wow, that's really helpful, I'm going to try it for setting specific codecs
(absolute_codec_string).


On Wed, Apr 20, 2011 at 4:14 AM, Steven Ayre <steveayre at gmail.com> wrote:

> How about you set the channel variable in the gateway definition for the
> outbound direction:
> http://wiki.freeswitch.org/wiki/Sofia.conf.xml#Variables
>
> That way it will be automatically set on all calls going through that
> gateway without you needing to change your dialplan.
>
> -Steve
>
>
>
>
>
> On 22 March 2011 07:49, Dmitry Bely <dmitry.bely at gmail.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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/20110427/1a58c71f/attachment.html 


More information about the FreeSWITCH-users mailing list