The dtmf_type channel variable can be used to override the profile&#39;s dtmf setting. Valid settings are rf2833, info and none. Inband would be more complex, as you&#39;d need to call the <span class="Apple-style-span" style="font-family: monospace; font-size: 13px; line-height: 14px; white-space: pre; ">start_dtmf_generate</span> application, not sure how you could easily integrate that with mod_lcr. Possibly using the execute_on_x family of channel variables. mod_lcr would need to use custom sql to get the additional dtmf variable.<div>

<br><div>As David pointed out, mod_lcr already lets you set the codec list for a gateway. late-negotiation isn&#39;t *required*, but could be useful. Without it the aleg will pick a codec, then you&#39;ll dial out with the codec list to the gateway and transcode if needed. With it, the aleg doesn&#39;t pick the codec until the bleg has picked one - which may make transcoding less likely.</div>

<div><br></div><div>You could also setup the gateways as sofia gateways, set the codec/dtmf variables on the gateway and have mod_lcr return the sofia/gateway/gwname/ prefix.</div><div><br></div><div>A lot of the behaviour in terms of mod_lcr, execute_on_x etc has changed since 1.0.6 so you might find you have to upgrade to get some of the newer features.</div>

<div><br></div><div>-Steve</div><div><br><div><br><div class="gmail_quote">On 8 June 2011 02:46, Mike Taylor <span dir="ltr">&lt;<a href="mailto:mtaylor@employees.org">mtaylor@employees.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif"><div>Hi,</div><span><div><div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif">

<div><br></div><div>I hope that I&#39;ve taught myself enough over the last few weeks that this isn&#39;t a blindingly stupid question…</div><div><br></div><div>I am providing services to multiple customers on FS 1.0.6</div>

<div><br></div><div>I have a basic setup; (which I have inherited, hence the basic questions);</div><div><br></div><div>AS5350--------&lt;external&gt;----- FS-----&lt;internal&gt;------customer GW(s)  </div><div>(No Registration)<span style="white-space:pre-wrap">                                                        </span>(No Registration)</div>

<div><br></div><div>All of the GW info is pulled from a PSWL database. Carriers, carrier_id, lcr table etc.</div><div><br></div><div>The bit I am missing is;</div><div><br></div><div>If all of my GW config is in the PSQL database, and that&#39;s all accessed by mod_lcr before routing the call, how do I allow for different DTMF types, codecs etc, PER CUSTOMER GW ?</div>

<div><br></div><div>Am I stuck with actually defining the gateways statically under /etc/freeswitch/conf/sip_profiles/ (or I see I can doit in the dialplan, but that won&#39;t achieve what I need)</div><div><br></div><div>

I was hoping to be able to pull the DTMF (and other misc info) from the database, but the more I look into it,  the less likely it is that this will work I think. (mod_lcr is already at the routing stage, can&#39;t modify DTMF at that point AFAIK)</div>

<div><br></div><div>Like I said, hope the question isn&#39;t so obvious that it&#39;s crazy…</div><div><br></div><div>Regards,</div><div>Mike</div></div></div></span></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></div></div>