[Freeswitch-dev] Openzap and CLIP

François Legal devel at thom.fr.eu.org
Wed Feb 24 00:53:47 PST 2010



Hello, 

Here comes the patch. 

The patch fixes the CID for France (and
probably other european countries except maybe england where a specific TAS
has to be used), both for incoming calls and call waiting cases. 

If
anybody can try this patch with US hardware to verify the compatibility.


I added a new parameter in openzap.conf (modem-type defaulting to
FSK_BELL202) so that modulation can be specified in config. 

The patch
also adds the MWI functionnality on FXS ports (that meant to also patch
mod_voicemail), by using the MWI-Account parameter in directory set to
something like "openzap/x/y". 

Please comment on this, if any modification
need to be made. 

François 

On Mon, 15 Feb 2010 23:40:38 +0100,  wrote:  


Hello, 

I'm very happy to announce I could finally get this to work.


So far I only have a very dirty patch so I'll try to arrange this a
little bit, then I'll post it to the list. 

Does anybody have an idea on
how to make the CID feature configurable (for the different standards used
BELL/V23) ? 

François 

DE : freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] DE LA PART DE Moises
Silva
ENVOY : mardi 9 février 2010 07:33
 :
freeswitch-dev at lists.freeswitch.org
OBJET : Re: [Freeswitch-dev] Openzap
and CLIP  

Hello François,  

On Fri, Feb 5, 2010 at 11:18 AM, François
Legal  

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.


Could anybody shed me some light on this.   

I am not terribly familiar
with the analog code, but ...   

The fsk buffer seems to be sent when
calling send_caller_id(), which is called from
ZAP_CHANNEL_STATE_CALLWAITING.   

In any case, there is not much places
where the modulated signal can be sent, everything goes down the file
descriptor of the channel via zap_channel_write(). As I said, is done
through send_caller_id() -> zap_channel_send_fsk_data() which sets the
write function pointer to zchan_fsk_write_sample() and is then called back
when calling zap_fsk_modulator_send_all().   

May be you should take a
look at src/testcid.c to learn about the API usage and src/zap_callerid.c
to see the implementation.   

-- 
 Moises Silva
 Senior Software Engineer

Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R
9T3 Canada
 t. 1 905 474 1990 x 128 | e. moy at sangoma.com [1]    




Links:
------
[1] mailto:moy at sangoma.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100224/98571b3e/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list