<p>Hello,</p>
<p>&nbsp;</p>
<p>I'm back on this.</p>
<p>&nbsp;</p>
<p>I could take samples of what is sent by my carrier as CLIP and what is sent by my FXS port as CLIP, and this is very different.</p>
<p>The modulation to be sent out of FXS seem to be correctly built, but this seem to never get out.</p>
<p>&nbsp;</p>
<p>By further checking what could happen, I could see that for FSK/DTMF/... the data is written to some dedicated buffer (fsk_buffer/...) using the zap_buffer_write function.</p>
<p>&nbsp;</p>
<p>I continued to see what was done with this fsk_buffer, and surprisingly, it seems that nothing is done. I could find the beginning of something in ozmod_analog.c.</p>
<p>these lines commented out :</p>
<p>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if ((zchan-&gt;dtmf_buffer &amp;&amp; zap_buffer_inuse(zchan-&gt;dtmf_buffer)) || (zchan-&gt;fsk_buffer &amp;&amp; zap_buffer_inuse(zchan-&gt;fsk_buffer))) {<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //rlen = len;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //memset(frame, 0, len);<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //zap_channel_write(zchan, frame, sizeof(frame), &amp;rlen);<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; continue;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }</p>
<p>so that seem to be related to fsk_buffer (by the way sending dtmf tones out of FXS does not seem to work either, tried with send_dtmf application in diaplan), but I don't really get what would be done here (if uncommented) except sending null values to that function, which would (I found this function in zap_io.c) lead to doing nothing as this function verifies the condition zchan-&gt;fsk_buffer &amp;&amp; zap_buffer_inuse(zchan-&gt;fsk_buffer) and returns if this is true.</p>
<p>&nbsp;</p>
<p>That lead me to think that maybe this is a non implemented feature and maybe the data in fsk_buffer should be sent somewhere to the card.</p>
<p>&nbsp;</p>
<p>Could anybody shed me some light on this.</p>
<p>&nbsp;</p>
<p>Thanks</p>
<p>&nbsp;</p>
<p>Fran&ccedil;ois</p>
<p>&nbsp;</p>
<p>On Wed, 27 Jan 2010 11:22:13 -0500, Michael Jerris &lt;mike@jerris.com&gt; wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;"><!-- html ignored --><!-- head ignored --><!-- meta ignored --><br />
<div>
<div>On Jan 27, 2010, at 3:48 AM, Fran&ccedil;ois Legal wrote:</div>
<br class="Apple-interchange-newline" />
<blockquote>
<p>So I did modify mod_openzap to provide the od trace command to the cli. I started trying to parse the incoming clip, but I have to do it again as the incoming signal is saturated so I can't see anything interesting.</p>
<div>&nbsp;<br class="webkit-block-placeholder" /></div>
<p>I'll post my results whenever I get something.</p>
<div>&nbsp;<br class="webkit-block-placeholder" /></div>
<p>Shall I send the modified mod_openzap.c to the list ?</p>
<div></div>
</blockquote>
We should get a bug opened on this issue on <a href="http://jira.freeswitch.org">http://jira.freeswitch.org</a><br />
<blockquote>
<p>About the difference on the modulation settings for CLIP, could anybody suggest some way to have it configurable by files ?</p>
<div></div>
</blockquote>
We should add some config option based on country or CLIP type to specify this. &nbsp;Lets get it working and we can think how to configure once we have that.</div>
<div></div>
<div>Mike</div>
<div></div>
</blockquote>
<p>&nbsp;</p>