Wow, that&#39;s really helpful, I&#39;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">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</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">&lt;<a href="mailto:dmitry.bely@gmail.com" target="_blank">dmitry.bely@gmail.com</a>&gt;</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 &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt; wrote:<br>



&gt; How about set the caller id in vars.xml:<br>
&gt; &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_caller_id=0000000000&quot;/&gt;<br>
&gt; Set it to the most common value and then you only have to do something in<br>
&gt; bridges and originates that need a CID different from what you set in<br>
&gt; vars.xml...<br>
<br>
</div>I have a number of gateways that require different CIDs. So there is<br>
no &quot;most common&quot; 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>
&gt; -MC<br>
&gt;<br>
&gt; On Sat, Mar 19, 2011 at 4:27 AM, Dmitry Bely &lt;<a href="mailto:dmitry.bely@gmail.com" target="_blank">dmitry.bely@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; My VoIP provider requires a specific caller ID set for an outbound<br>
&gt;&gt; call otherwise the call is rejected. Currently I set it just before<br>
&gt;&gt; bridge<br>
&gt;&gt;<br>
&gt;&gt;      &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=...&quot;/&gt;<br>
&gt;&gt;      &lt;action application=&quot;bridge&quot; data=&quot;...&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt; But it&#39;s tedious as there is a number of bridge commands in the<br>
&gt;&gt; dialplan and I still have to explicitly specify the caller id for<br>
&gt;&gt; &quot;originate&quot; command in the FreeSWITCH console. Is it possible to force<br>
&gt;&gt; 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>