Wow, that's really helpful, I'm going to try it for setting specific codecs (absolute_codec_string).<div><br><br><div class="gmail_quote">On Wed, Apr 20, 2011 at 4:14 AM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">How about you set the channel variable in the gateway definition for the outbound direction:<br><a href="http://wiki.freeswitch.org/wiki/Sofia.conf.xml#Variables" target="_blank">http://wiki.freeswitch.org/wiki/Sofia.conf.xml#Variables</a><br>
<br>That way it will be automatically set on all calls going through that gateway without you needing to change your dialplan.<br><br>-Steve<div><div></div><div class="h5"><br><br><br><br><br><div class="gmail_quote">On 22 March 2011 07:49, Dmitry Bely <span dir="ltr"><<a href="mailto:dmitry.bely@gmail.com" target="_blank">dmitry.bely@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div>On Tue, Mar 22, 2011 at 8:02 AM, Michael Collins <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>> wrote:<br>
> How about set the caller id in vars.xml:<br>
> <X-PRE-PROCESS cmd="set" data="outbound_caller_id=0000000000"/><br>
> Set it to the most common value and then you only have to do something in<br>
> bridges and originates that need a CID different from what you set in<br>
> vars.xml...<br>
<br>
</div>I have a number of gateways that require different CIDs. So there is<br>
no "most common" value. I have managed to make a proper dialplan but<br>
originate is still tedious... I just wonder if there is more clean way<br>
(something like caller-id-in-from gateway parameter)<br>
<div><div></div><div><br>
> -MC<br>
><br>
> On Sat, Mar 19, 2011 at 4:27 AM, Dmitry Bely <<a href="mailto:dmitry.bely@gmail.com" target="_blank">dmitry.bely@gmail.com</a>> wrote:<br>
>><br>
>> My VoIP provider requires a specific caller ID set for an outbound<br>
>> call otherwise the call is rejected. Currently I set it just before<br>
>> bridge<br>
>><br>
>> <action application="set" data="effective_caller_id_name=..."/><br>
>> <action application="bridge" data="..."/><br>
>><br>
>> But it's tedious as there is a number of bridge commands in the<br>
>> dialplan and I still have to explicitly specify the caller id for<br>
>> "originate" command in the FreeSWITCH console. Is it possible to force<br>
>> an outbound caller id on a gateway basis?<br>
<br>
- Dmitry Bely<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>